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

Commit

Permalink
Merge pull request #31 from BBLKepling/master
Browse files Browse the repository at this point in the history
Increase priority of JobGiver_ReloadFromInventory.
  • Loading branch information
legodude17 authored Feb 19, 2022
2 parents 8b33cdc + 95dc7cc commit 9fa9087
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 9fa9087

Please sign in to comment.