RimWorld

RimWorld

[JAIL] Prison Walls and Beds (Continued)
A Fix for Jail Doors, Auto-Doors and Bars.
This got kinda messy on as a post, so I moved it here:

Currently

A vanilla wood door costs 25 wood. Opening speed is 120%.
A jail wood door cost 25 wood and 25 steel. Opening speed is 120%

Both only have 105 HP. The jail door is reinforced, it should have more HP.

Given that a vanilla steel door costs 25 steel, has an opening speed of 100 and has 160 HP:

If we reduce the additional cost for jail doors, increase their HP, and lower the opening speed to reflect the reinforcement, jail doors will have a higher value over vanilla doors for keeping prisoners inside their cells than using vanilla ones.

In order to achieve this, please add the following to the "stat bases" for PrisonDoor and AutoPrisonDoor:

<MaxHitPoints>185</MaxHitPoints>
<DoorOpenSpeed>0.9</DoorOpenSpeed>

Next:

Change the steel cost of PrisonDoor to 10
Change the cost of PrisonBar to 3, and lower the HP to 250.

The result will be:

A jail wood door cost 25 wood and 10 steel. Opening speed is 108% and has 120 HP
A jail steel door cost 35 steel. Opening speed is 90% and has 185 HP
Other jail doors results will vary, dependant on their base material

Prison bars now match their design, with the reduced cost and HP reflecting the partial tile coverage.

I have already done this locally, and it works well with the thematic design of the mod.
Last edited by Monkey Magic; 11 May @ 6:01am