Skip to content
This repository has been archived by the owner on Nov 3, 2022. It is now read-only.

Commit

Permalink
Reloading Adjustment
Browse files Browse the repository at this point in the history
Moves JobGiver_ReloadFromInventory from MainColonistBehaviorCore to Humanlike_PreMain so colonist have higher priority for the job. As it's done now colonists will prioritize needs like eating, sleeping, and using the toilet.
  • Loading branch information
BBLKepling committed Feb 19, 2022
1 parent 8b33cdc commit 95dc7cc
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 1 deletion.
20 changes: 20 additions & 0 deletions 1.3/Defs/ThinkTreeDefs/Reloading.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
<?xml version="1.0" encoding="utf-8" ?>
<Defs>

<!-- Makes colonists reload from inventory PreMain -->
<ThinkTreeDef>
<defName>Reloading_AmmoReload_Colony</defName>
<insertTag>Humanlike_PreMain</insertTag>
<insertPriority>100</insertPriority>
<thinkRoot Class="ThinkNode_Priority">
<subNodes>
<li Class="ThinkNode_ConditionalColonist">
<subNodes>
<li Class="Reloading.JobGiver_ReloadFromInventory" />
</subNodes>
</li>
</subNodes>
</thinkRoot>
</ThinkTreeDef>

</Defs>
1 change: 0 additions & 1 deletion 1.3/Patches/Misc/Reloading.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
<Operation Class="PatchOperationInsert">
<xpath>/Defs/ThinkTreeDef[defName="MainColonistBehaviorCore"]/thinkRoot/subNodes/li/subNodes/li[@Class="JobGiver_Reload"]</xpath>
<value>
<li Class="Reloading.JobGiver_ReloadFromInventory" />
<li Class="Reloading.JobGiver_Reload" />
</value>
</Operation>
Expand Down

0 comments on commit 95dc7cc

Please sign in to comment.