Beispiel #1
0
        public override void SpawnSetup()
        {
            base.SpawnSetup();
            mountableComp = base.GetComp <CompMountable>();

            UpdateGraphics();
        }
Beispiel #2
0
        public override void SpawnSetup()
        {
            base.SpawnSetup();
            mountableComp = GetComp <CompMountable>();

            LongEventHandler.ExecuteWhenFinished(UpdateGraphics);
        }
Beispiel #3
0
        public override void SpawnSetup()
        {
            base.SpawnSetup();
            mountableComp = base.GetComp <CompMountable>();

            if (allowances == null)
            {
                this.allowances = new ThingFilter();
                this.allowances.SetFromPreset(StorageSettingsPreset.DefaultStockpile);
                this.allowances.SetFromPreset(StorageSettingsPreset.DumpingStockpile);
            }

            UpdateGraphics();
        }
Beispiel #4
0
        public override void SpawnSetup()
        {
            base.SpawnSetup();
            mountableComp = base.GetComp<CompMountable>();

            if (allowances == null)
            {
                this.allowances = new ThingFilter();
                this.allowances.SetFromPreset(StorageSettingsPreset.DefaultStockpile);
                this.allowances.SetFromPreset(StorageSettingsPreset.DumpingStockpile);
            }

            UpdateGraphics();
        }