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

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

            LongEventHandler.ExecuteWhenFinished(UpdateGraphics);
        }
示例#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();
        }
示例#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();
        }