Пример #1
0
        public static void CanSpawnTrader(IncidentParms parms, ref bool __result)
        {
            TerrainDef def = TerrainDef.Named("HardVacuum");

            Map map = (Map)parms.target;

            ShipInteriorMod.Log("Trader trying to spawn?");

            if (map.IsSpace())
            {
                __result = true;
                //return false;
            }
        }
Пример #2
0
 public override void Initialize()
 {
     ShipInteriorMod.instLogger = this.Logger;
     instance = this;
 }