Skip to content

Advanced Grave

Neronix17 edited this page Mar 21, 2023 · 1 revision

Vanilla graves suck, we all know it, one person to one grave and they remain forever. Well with this code you can change that!

Simply change the thingClass on the building to TabulaRasa.Building_GraveAdv and add this modExtension:

<modExtensions>
    <li Class="TabulaRasa.DefModExt_GraveAdv">
        <!-- Capacity is of course how many corpses can be accepted.
             Simply up the number and you can make your own mass graves. -->
        <capacity>1</capacity>
        <!-- Now this is the cool part, if you set this to true, corpses can 
             dissolve over time. After the amount of ticks in dissolveTicks 
             passes a single corpse is erased, when a new corpse is added to the 
             grave this timer is reset so it cannot be abused easily.
             60k ticks = 1 day -->
        <dissolveCorpses>false</dissolveCorpses>
        <dissolveTicks>60000</dissolveTicks>
    </li>
</modExtensions>

Clone this wiki locally