rimworld-blax-laws/Defs/BlaxLaws_Categories.xml

84 lines
3.5 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<!--
The act catalogue's categories (design: "The act catalogue is built from the game's defs, saved as names").
A category's defName is the first part of every act key ("Ate/WakeUp"), so it never changes.
Each worker reads the loaded defs once and returns the category's entries; the include and exclude lists
are def names the worker adds beyond its rule or leaves out. The vanilla lists (animal, baby and mechanoid
states, the berserk states no mental break names, faction-level history events) are built into
CatalogueRules; the lists here add to them, so another mod can patch in its own states or events.
-->
<Defs>
<BlaxLaws.ActCategoryDef>
<defName>Break</defName>
<label>mental breaks</label>
<description>Every mental break a colonist can have. Planning: the break has started. Did it: the act linked to the break happened during it.</description>
<workerClass>BlaxLaws.ActCategoryWorker_Break</workerClass>
<order>10</order>
<hostileStateClasses>
<li>MentalState_Berserk</li>
<li>MentalState_BerserkWarcall</li>
</hostileStateClasses>
<include>
<li>Berserk</li>
</include>
</BlaxLaws.ActCategoryDef>
<BlaxLaws.ActCategoryDef>
<defName>Ate</defName>
<label>ate</label>
<description>Everything that can be eaten or drunk: food, meals, raw food, corpses and drugs. Counts only when the pawn eats on its own.</description>
<workerClass>BlaxLaws.ActCategoryWorker_Ate</workerClass>
<order>20</order>
</BlaxLaws.ActCategoryDef>
<BlaxLaws.ActCategoryDef>
<defName>Used</defName>
<label>used</label>
<description>Everything that can be used: psytrainers, neurotrainers, mech serums and modded usables.</description>
<workerClass>BlaxLaws.ActCategoryWorker_Used</workerClass>
<order>30</order>
</BlaxLaws.ActCategoryDef>
<BlaxLaws.ActCategoryDef>
<defName>Interaction</defName>
<label>social interactions</label>
<description>Every social interaction. The offender is the pawn who starts it.</description>
<workerClass>BlaxLaws.ActCategoryWorker_Interaction</workerClass>
<order>40</order>
</BlaxLaws.ActCategoryDef>
<BlaxLaws.ActCategoryDef>
<defName>RecordedAct</defName>
<label>recorded acts</label>
<description>Every act the game records with the pawn as the doer. Most recorded acts need Ideology.</description>
<workerClass>BlaxLaws.ActCategoryWorker_RecordedAct</workerClass>
<order>50</order>
</BlaxLaws.ActCategoryDef>
<BlaxLaws.ActCategoryDef>
<defName>Record</defName>
<label>records</label>
<description>Every record the game counts for a pawn, such as kills, bodies stripped or things hauled. A case opens when the record goes up.</description>
<workerClass>BlaxLaws.ActCategoryWorker_Record</workerClass>
<order>60</order>
</BlaxLaws.ActCategoryDef>
<BlaxLaws.ActCategoryDef>
<defName>Bill</defName>
<label>bills</label>
<description>Every bill. A case opens when the pawn finishes one iteration.</description>
<workerClass>BlaxLaws.ActCategoryWorker_Bill</workerClass>
<order>70</order>
</BlaxLaws.ActCategoryDef>
<BlaxLaws.ActCategoryDef>
<defName>Special</defName>
<label>special acts</label>
<description>Acts the game records nowhere else: setting a fire, displaying a corpse and starting a social fight.</description>
<workerClass>BlaxLaws.ActCategoryWorker_Special</workerClass>
<order>80</order>
</BlaxLaws.ActCategoryDef>
</Defs>