public override void Resolve(ResolveParams rp)
        {
            ThingSetMakerParams value = default(ThingSetMakerParams);

            value.techLevel = new TechLevel?((rp.faction == null) ? TechLevel.Spacer : rp.faction.def.techLevel);
            ResolveParams resolveParams = rp;

            resolveParams.thingSetMakerDef    = ThingSetMakerDefOf.MapGen_PrisonCellStockpile;
            resolveParams.thingSetMakerParams = new ThingSetMakerParams?(value);
            resolveParams.innerStockpileSize  = new int?(3);
            BaseGen.symbolStack.Push("innerStockpile", resolveParams);
            InteriorSymbolResolverUtility.PushBedroomHeatersCoolersAndLightSourcesSymbols(rp, false);
            BaseGen.symbolStack.Push("prisonerBed", rp);
        }
예제 #2
0
        public override void Resolve(ResolveParams rp)
        {
            ItemCollectionGeneratorParams value = default(ItemCollectionGeneratorParams);

            value.techLevel        = ((rp.faction == null) ? TechLevel.Spacer : rp.faction.def.techLevel);
            value.totalNutrition   = SymbolResolver_Interior_PrisonCell.TotalNutritionRange.RandomInRange;
            value.minPreferability = FoodPreferability.RawBad;
            ResolveParams resolveParams = rp;

            resolveParams.itemCollectionGeneratorDef    = ItemCollectionGeneratorDefOf.Food;
            resolveParams.itemCollectionGeneratorParams = value;
            resolveParams.innerStockpileSize            = 3;
            BaseGen.symbolStack.Push("innerStockpile", resolveParams);
            InteriorSymbolResolverUtility.PushBedroomHeatersCoolersAndLightSourcesSymbols(rp, false);
            BaseGen.symbolStack.Push("prisonerBed", rp);
        }
예제 #3
0
 public override void Resolve(ResolveParams rp)
 {
     InteriorSymbolResolverUtility.PushBedroomHeatersCoolersAndLightSourcesSymbols(rp, true);
     BaseGen.symbolStack.Push("fillWithBeds", rp);
 }