Skip to content

Commit

Permalink
add stats
Browse files Browse the repository at this point in the history
  • Loading branch information
Dubwise56 committed Apr 23, 2020
1 parent b68df1f commit 9f713cf
Show file tree
Hide file tree
Showing 4 changed files with 47 additions and 17 deletions.
Binary file modified 1.1/Assemblies/BadHygiene.dll
Binary file not shown.
16 changes: 0 additions & 16 deletions 1.1/Defs/NeedDefs/Needs_Misc.xml
Original file line number Diff line number Diff line change
@@ -1,22 +1,6 @@
<?xml version="1.0" encoding="utf-8" ?>
<Defs>

<StatDef>
<defName>ThirstRateMultiplier</defName>
<label>Thirst rate multiplier</label>
<description>A multiplier on how quickly a creature becomes thirsty.</description>
<category>BasicsPawn</category>
<defaultBaseValue>1.0</defaultBaseValue>
<toStringStyle>PercentZero</toStringStyle>
<showOnAnimals>false</showOnAnimals>
<hideAtValue>1</hideAtValue>
<minValue>0</minValue>
<displayPriorityInCategory>75</displayPriorityInCategory>
<scenarioRandomizable>true</scenarioRandomizable>
</StatDef>



<NeedDef Class="DubsBadHygiene.Needy">
<defName>Bladder</defName>
<needClass>DubsBadHygiene.Need_Bladder</needClass>
Expand Down
46 changes: 46 additions & 0 deletions 1.1/Defs/Stats/Stats_Pawns_General.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
<?xml version="1.0" encoding="utf-8" ?>
<Defs>

<StatDef>
<defName>ThirstRateMultiplier</defName>
<label>Thirst rate multiplier</label>
<description>A multiplier on how quickly a creature becomes thirsty.</description>
<category>BasicsPawn</category>
<defaultBaseValue>1.0</defaultBaseValue>
<toStringStyle>PercentZero</toStringStyle>
<showOnAnimals>false</showOnAnimals>
<hideAtValue>1</hideAtValue>
<minValue>0</minValue>
<displayPriorityInCategory>75</displayPriorityInCategory>
<scenarioRandomizable>true</scenarioRandomizable>
</StatDef>

<StatDef>
<defName>HygieneRateMultiplier</defName>
<label>hygiene rate multiplier</label>
<description>A multiplier on how quickly a creatures hygiene level falls.</description>
<category>BasicsPawn</category>
<defaultBaseValue>1.0</defaultBaseValue>
<toStringStyle>PercentZero</toStringStyle>
<showOnAnimals>false</showOnAnimals>
<hideAtValue>1</hideAtValue>
<minValue>0</minValue>
<displayPriorityInCategory>2500</displayPriorityInCategory>
<scenarioRandomizable>true</scenarioRandomizable>
</StatDef>

<StatDef>
<defName>BladderRateMultiplier</defName>
<label>bladder rate multiplier</label>
<description>A multiplier on how quickly a creatures bladder level falls.</description>
<category>BasicsPawn</category>
<defaultBaseValue>1.0</defaultBaseValue>
<toStringStyle>PercentZero</toStringStyle>
<showOnAnimals>false</showOnAnimals>
<hideAtValue>1</hideAtValue>
<minValue>0</minValue>
<displayPriorityInCategory>2500</displayPriorityInCategory>
<scenarioRandomizable>true</scenarioRandomizable>
</StatDef>

</Defs>
2 changes: 1 addition & 1 deletion About/Manifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

<Manifest>
<identifier>Dubs-Bad-Hygiene</identifier>
<version>2.7.1254</version>
<version>2.7.1257</version>
<manifestUri>https://raw.githubusercontent.com/Dubwise56/Dubs-Bad-Hygiene/master/About/Manifest.xml</manifestUri>
<downloadUri>https://github.com/Dubwise56/Dubs-Bad-Hygiene/releases/latest</downloadUri>
</Manifest>

0 comments on commit 9f713cf

Please sign in to comment.