rimworld-blax-laws/Defs/BlaxLaws_Punishments.xml

84 lines
3.0 KiB
XML
Raw Permalink Normal View History

<?xml version="1.0" encoding="utf-8"?>
<!--
Punishments of the first release (design: "Lawbook tab", punishments per entry and stage). The defName is what
a law row saves, so it never changes. fits names the entry kinds and stages that offer the punishment:
BreakPlanning, BreakDidIt (a break that isn't hostile to the colony), HostileBreakPlanning, HostileBreakDidIt
(berserk) and Act (every entry outside the breaks). runsAlongside: the punishment never replaces or stops the
one a case already runs.
-->
<Defs>
<BlaxLaws.PunishmentDef>
<defName>Warn</defName>
<label>warn</label>
<description>Files the case and posts a message, nothing more.</description>
<workerClass>BlaxLaws.PunishmentWorker_Warn</workerClass>
<order>10</order>
<runsAlongside>true</runsAlongside>
<fits>
<li>BreakPlanning</li>
<li>BreakDidIt</li>
<li>HostileBreakPlanning</li>
<li>HostileBreakDidIt</li>
<li>Act</li>
</fits>
</BlaxLaws.PunishmentDef>
<BlaxLaws.PunishmentDef>
<defName>Guilty</defName>
<label>guilty</label>
<description>Marks the pawn guilty the vanilla way for the days: its arrest is always accepted, and executing or banishing it costs the colony the mildest thoughts.</description>
<workerClass>BlaxLaws.PunishmentWorker_Guilty</workerClass>
<order>20</order>
<usesDays>true</usesDays>
<runsAlongside>true</runsAlongside>
<fits>
<li>BreakDidIt</li>
<li>HostileBreakPlanning</li>
<li>HostileBreakDidIt</li>
<li>Act</li>
</fits>
</BlaxLaws.PunishmentDef>
<BlaxLaws.PunishmentDef>
<defName>Subdue</defName>
<label>subdue</label>
<description>A warden beats the pawn down with fists to end its break: bruises on torso and limbs, never the head or a bionic part. After the break it warns instead.</description>
<workerClass>BlaxLaws.PunishmentWorker_Subdue</workerClass>
<order>30</order>
<fits>
<li>BreakPlanning</li>
<li>BreakDidIt</li>
</fits>
</BlaxLaws.PunishmentDef>
<BlaxLaws.PunishmentDef>
<defName>Jail</defName>
<label>jail</label>
<description>A warden arrests the pawn. It sits out the days in a prisoner bed on "Maintain only" and walks back to work.</description>
<workerClass>BlaxLaws.PunishmentWorker_Jail</workerClass>
<order>40</order>
<usesDays>true</usesDays>
<fits>
<li>BreakPlanning</li>
<li>BreakDidIt</li>
<li>HostileBreakPlanning</li>
<li>HostileBreakDidIt</li>
<li>Act</li>
</fits>
</BlaxLaws.PunishmentDef>
<BlaxLaws.PunishmentDef>
<defName>SubdueThenJail</defName>
<label>subdue then jail</label>
<description>A warden beats the pawn down and carries it to a prisoner bed. After the break it jails without the beating.</description>
<workerClass>BlaxLaws.PunishmentWorker_SubdueThenJail</workerClass>
<order>50</order>
<usesDays>true</usesDays>
<fits>
<li>BreakDidIt</li>
</fits>
</BlaxLaws.PunishmentDef>
</Defs>