Exemple #1
0
        public override void LoadedGame()
        {
            base.LoadedGame();
#if DEBUG
            //List all queue's for debug use
            foreach (IAssemblerQueue queue in AssemblerQueue)
            {
                Debug.Message(Debug.Flag.AssemblerQueue, "" + queue + "  - " + AssemblerQueue[AssemblerQueue.IndexOf(queue)].Map);
                Building building = queue as Building;
                Debug.Message(Debug.Flag.AssemblerQueue, "" + building.Map + " " + building.Position + "  --- ");
                foreach (Thing thing in AssemblerQueue[AssemblerQueue.IndexOf(queue)].Map.thingGrid.ThingsAt(building.Position))
                {
                    Debug.Message(Debug.Flag.AssemblerQueue, " " + thing + " is at " + building.Position);
                }
            }
#endif
            if (updatedThingDescriptions == false)
            {
                UpdateThingDescriptions();
            }
            if (ProjectRimFactory_ModSettings.PRF_LiteMode)
            {
                PRF_CustomizeDefs.ToggleLiteMode();
            }
        }
Exemple #2
0
 public override void StartedNewGame()
 {
     base.StartedNewGame();
     if (updatedThingDescriptions == false)
     {
         UpdateThingDescriptions();
     }
     if (ProjectRimFactory_ModSettings.PRF_LiteMode)
     {
         PRF_CustomizeDefs.ToggleLiteMode();
     }
 }