Example #1
0
            public override void Apply()
            {
                MyFaction faction = null;

                if (FactionTag != null)
                {
                    faction = MySession.Static.Factions.TryGetOrCreateFactionByTag(FactionTag);
                }

                long factionId = faction != null ? faction.FactionId : 0;

                MyWorldGenerator.SetupBase(PrefabFile, Offset, AsteroidName, BeaconName, factionId);
            }
Example #2
0
 public override void Apply()
 {
     MyWorldGenerator.SetupBase(PrefabFile, Offset, AsteroidName, BeaconName);
 }