-
-
Notifications
You must be signed in to change notification settings - Fork 21
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
8 changed files
with
163 additions
and
159 deletions.
There are no files selected for viewing
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,166 +1,167 @@ | ||
<?xml version="1.0" encoding="utf-8" ?> | ||
<Defs> | ||
|
||
<ThingDef Name="ResourceBasedMom" Abstract="True"> | ||
<thingClass>ThingWithComps</thingClass> | ||
<category>Item</category> | ||
<resourceReadoutPriority>Middle</resourceReadoutPriority> | ||
<useHitPoints>true</useHitPoints> | ||
<selectable>true</selectable> | ||
<altitudeLayer>Item</altitudeLayer> | ||
<stackLimit>75</stackLimit> | ||
<statBases> | ||
<Beauty>-7</Beauty> | ||
</statBases> | ||
<comps> | ||
<li Class="CompProperties_Forbiddable"/> | ||
</comps> | ||
<alwaysHaulable>true</alwaysHaulable> | ||
<drawGUIOverlay>true</drawGUIOverlay> | ||
<rotatable>false</rotatable> | ||
<pathCost>15</pathCost> | ||
</ThingDef> | ||
<ThingDef Name="ResourceBasedMom" Abstract="True"> | ||
<thingClass>ThingWithComps</thingClass> | ||
<category>Item</category> | ||
<resourceReadoutPriority>Middle</resourceReadoutPriority> | ||
<useHitPoints>true</useHitPoints> | ||
<selectable>true</selectable> | ||
<altitudeLayer>Item</altitudeLayer> | ||
<stackLimit>75</stackLimit> | ||
<statBases> | ||
<Beauty>-7</Beauty> | ||
</statBases> | ||
<comps> | ||
<li Class="CompProperties_Forbiddable"/> | ||
</comps> | ||
<alwaysHaulable>true</alwaysHaulable> | ||
<drawGUIOverlay>true</drawGUIOverlay> | ||
<rotatable>false</rotatable> | ||
<pathCost>15</pathCost> | ||
</ThingDef> | ||
|
||
<ThingDef> | ||
<defName>BedPan</defName> | ||
<label>bed pan</label> | ||
<description>A receptacle used by a bedridden patient for urine and faeces.</description> | ||
<graphicData> | ||
<graphicClass>Graphic_Single</graphicClass> | ||
<texPath>DBH/Things/Resource/bedPan</texPath> | ||
<onGroundRandomRotateAngle>65</onGroundRandomRotateAngle> | ||
</graphicData> | ||
<selectable>True</selectable> | ||
<useHitPoints>True</useHitPoints> | ||
<drawGUIOverlay>true</drawGUIOverlay> | ||
<altitudeLayer>Item</altitudeLayer> | ||
<alwaysHaulable>True</alwaysHaulable> | ||
<tickerType>Never</tickerType> | ||
<thingClass>Thing</thingClass> | ||
<category>Item</category> | ||
<thingCategories> | ||
<li>Waste</li> | ||
</thingCategories> | ||
<randomizeRotationOnSpawn>true</randomizeRotationOnSpawn> | ||
<stackLimit>1</stackLimit> | ||
<tradeability>None</tradeability> | ||
<statBases> | ||
<MaxHitPoints>100</MaxHitPoints> | ||
<Beauty>-40</Beauty> | ||
<Cleanliness>-25</Cleanliness> | ||
<Mass>0.2</Mass> | ||
<Flammability>1.0</Flammability> | ||
<DeteriorationRate>2</DeteriorationRate> | ||
</statBases> | ||
<pathCost>5</pathCost> | ||
</ThingDef> | ||
<ThingDef> | ||
<defName>BedPan</defName> | ||
<label>bed pan</label> | ||
<description>A receptacle used by a bedridden patient for urine and faeces.</description> | ||
<graphicData> | ||
<graphicClass>Graphic_Single</graphicClass> | ||
<texPath>DBH/Things/Resource/bedPan</texPath> | ||
<onGroundRandomRotateAngle>65</onGroundRandomRotateAngle> | ||
</graphicData> | ||
<selectable>True</selectable> | ||
<useHitPoints>True</useHitPoints> | ||
<drawGUIOverlay>true</drawGUIOverlay> | ||
<altitudeLayer>Item</altitudeLayer> | ||
<alwaysHaulable>True</alwaysHaulable> | ||
<tickerType>Never</tickerType> | ||
<thingClass>Thing</thingClass> | ||
<category>Item</category> | ||
<thingCategories> | ||
<li>Waste</li> | ||
</thingCategories> | ||
<randomizeRotationOnSpawn>true</randomizeRotationOnSpawn> | ||
<stackLimit>1</stackLimit> | ||
<tradeability>None</tradeability> | ||
<statBases> | ||
<MaxHitPoints>100</MaxHitPoints> | ||
<Beauty>-40</Beauty> | ||
<Cleanliness>-25</Cleanliness> | ||
<Mass>0.2</Mass> | ||
<Flammability>1.0</Flammability> | ||
<DeteriorationRate>2</DeteriorationRate> | ||
</statBases> | ||
<pathCost>5</pathCost> | ||
</ThingDef> | ||
|
||
<ThingDef ParentName="ResourceBasedMom" DBHLite="true"> | ||
<defName>Biosolids</defName> | ||
<label>biosolids</label> | ||
<description>When properly treated and processed, sewage sludge becomes biosolids that offer a small boost to terrain fertility. Useful for harsh environments with limited space to grow. Biosolids also produce a large boost to the fertility of sand which can make it fertile when combined with irrigation.</description> | ||
<graphicData> | ||
<texPath>DBH/Things/Resource/bagSoil</texPath> | ||
<graphicClass>Graphic_Single</graphicClass> | ||
</graphicData> | ||
<statBases> | ||
<MaxHitPoints>100</MaxHitPoints> | ||
<MarketValue>0.1</MarketValue> | ||
<Flammability>5.0</Flammability> | ||
<Mass>0.05</Mass> | ||
</statBases> | ||
<thingCategories> | ||
<li>Waste</li> | ||
</thingCategories> | ||
<stackLimit>250</stackLimit> | ||
<tradeNeverStack>false</tradeNeverStack> | ||
<drawGUIOverlay>true</drawGUIOverlay> | ||
</ThingDef> | ||
<ThingDef ParentName="ResourceBasedMom" DBHLite="true"> | ||
<defName>Biosolids</defName> | ||
<label>biosolids</label> | ||
<description>When properly treated and processed, sewage sludge becomes biosolids that offer a small boost to terrain fertility. Useful for harsh environments with limited space to grow. Biosolids also produce a large boost to the fertility of sand which can make it fertile when combined with irrigation.</description> | ||
<graphicData> | ||
<texPath>DBH/Things/Resource/bagSoil</texPath> | ||
<graphicClass>Graphic_Single</graphicClass> | ||
</graphicData> | ||
<statBases> | ||
<MaxHitPoints>100</MaxHitPoints> | ||
<MarketValue>0.1</MarketValue> | ||
<Flammability>5.0</Flammability> | ||
<Mass>0.05</Mass> | ||
</statBases> | ||
<thingCategories> | ||
<li>Waste</li> | ||
</thingCategories> | ||
<stackLimit>250</stackLimit> | ||
<tradeNeverStack>false</tradeNeverStack> | ||
<drawGUIOverlay>true</drawGUIOverlay> | ||
</ThingDef> | ||
|
||
<ThingDef ParentName="ResourceBasedMom" DBHLite="true"> | ||
<defName>FecalSludge</defName> | ||
<label>fecal sludge</label> | ||
<description>A barrel filled with fecal sludge. Can be dumped, burned, or composted into biosolids.</description> | ||
<graphicData> | ||
<texPath>DBH/Things/Resource/BurnBarrel</texPath> | ||
<graphicClass>Graphic_Single</graphicClass> | ||
</graphicData> | ||
<statBases> | ||
<MaxHitPoints>100</MaxHitPoints> | ||
<Flammability>1.0</Flammability> | ||
<Mass>0.05</Mass> | ||
<Cleanliness>-100</Cleanliness> | ||
</statBases> | ||
<thingCategories> | ||
<li>Waste</li> | ||
</thingCategories> | ||
<comps> | ||
<li Class="DubsBadHygiene.CompProperties_KickOver"/> | ||
</comps> | ||
<stackLimit>500</stackLimit> | ||
<tradeNeverStack>false</tradeNeverStack> | ||
<drawGUIOverlay>true</drawGUIOverlay> | ||
<tradeability>None</tradeability> | ||
</ThingDef> | ||
<ThingDef ParentName="ResourceBasedMom" DBHLite="true"> | ||
<defName>FecalSludge</defName> | ||
<label>fecal sludge</label> | ||
<description>A barrel filled with fecal sludge. Can be dumped, burned, or composted into biosolids.</description> | ||
<graphicData> | ||
<texPath>DBH/Things/Resource/BurnBarrel</texPath> | ||
<graphicClass>Graphic_Single</graphicClass> | ||
</graphicData> | ||
<statBases> | ||
<MaxHitPoints>100</MaxHitPoints> | ||
<Flammability>1.0</Flammability> | ||
<Mass>0.05</Mass> | ||
<Cleanliness>-100</Cleanliness> | ||
</statBases> | ||
<thingCategories> | ||
<li>Waste</li> | ||
</thingCategories> | ||
<comps> | ||
<li Class="DubsBadHygiene.CompProperties_KickOver"/> | ||
</comps> | ||
<stackLimit>500</stackLimit> | ||
<tradeNeverStack>false</tradeNeverStack> | ||
<drawGUIOverlay>true</drawGUIOverlay> | ||
<tradeability>None</tradeability> | ||
</ThingDef> | ||
|
||
|
||
<!--Example of a drink for the thirst need, modExtension makes anything ingestible work as a drink, this is patched out when thirst is disabled--> | ||
<ThingDef ParentName="ResourceBasedMom" DBHThirst="true"> | ||
<defName>DBH_WaterBottle</defName> | ||
<label>water</label> | ||
<description>A bottle of water.</description> | ||
<modExtensions> | ||
<li Class="DubsBadHygiene.WaterExt"> | ||
<water>1</water> | ||
<UseForWashing>true</UseForWashing> | ||
</li> | ||
</modExtensions> | ||
|
||
<!--Example of a drink for the thirst need, modExtension makes anything ingestible work as a drink, this is patched out when thirst is disabled--> | ||
<ThingDef ParentName="ResourceBasedMom" DBHThirst="true"> | ||
<defName>DBH_WaterBottle</defName> | ||
<label>water</label> | ||
<description>A bottle of water.</description> | ||
<modExtensions> | ||
<li Class="DubsBadHygiene.WaterExt"> | ||
<water>1</water> | ||
<UseForWashing>true</UseForWashing> | ||
<SeekForThirst>true</SeekForThirst> | ||
</li> | ||
</modExtensions> | ||
|
||
|
||
<graphicData> | ||
<texPath>DBH/Things/Resource/WaterBot</texPath> | ||
<graphicClass>Graphic_Single</graphicClass> | ||
<drawSize>0.75</drawSize> | ||
</graphicData> | ||
<comps> | ||
<li Class="CompProperties"> | ||
<compClass>DubsBadHygiene.CompContamination</compClass> | ||
</li> | ||
</comps> | ||
<category>Item</category> | ||
<resourceReadoutPriority>Middle</resourceReadoutPriority> | ||
<statBases> | ||
<MaxHitPoints>60</MaxHitPoints> | ||
<Flammability>0.2</Flammability> | ||
<Mass>0.5</Mass> | ||
</statBases> | ||
<thingCategories> | ||
<li>Foods</li> | ||
</thingCategories> | ||
<rotatable>false</rotatable> | ||
<pathCost>15</pathCost> | ||
<generateAllowChance>0</generateAllowChance> | ||
<generateCommonality>0</generateCommonality> | ||
<stackLimit>10</stackLimit> | ||
<tradeNeverStack>false</tradeNeverStack> | ||
<drawGUIOverlay>true</drawGUIOverlay> | ||
<tradeability>None</tradeability> | ||
<ingestible> | ||
<baseIngestTicks>240</baseIngestTicks> | ||
<preferability>NeverForNutrition</preferability> | ||
<foodType>Fluid</foodType> | ||
<nurseable>false</nurseable> | ||
<ingestSound>Ingest_Beer</ingestSound> | ||
<ingestHoldOffsetStanding> | ||
<northDefault> | ||
<offset>(0.18,0,0)</offset> | ||
</northDefault> | ||
</ingestHoldOffsetStanding> | ||
<ingestCommandString>Drink {0}</ingestCommandString> | ||
<ingestReportString>Drinking {0}.</ingestReportString> | ||
<chairSearchRadius>5</chairSearchRadius> | ||
</ingestible> | ||
</ThingDef> | ||
|
||
<graphicData> | ||
<texPath>DBH/Things/Resource/WaterBot</texPath> | ||
<graphicClass>Graphic_Single</graphicClass> | ||
<drawSize>0.75</drawSize> | ||
</graphicData> | ||
<comps> | ||
<li Class="CompProperties"> | ||
<compClass>DubsBadHygiene.CompContamination</compClass> | ||
</li> | ||
</comps> | ||
<category>Item</category> | ||
<resourceReadoutPriority>Middle</resourceReadoutPriority> | ||
<statBases> | ||
<MaxHitPoints>60</MaxHitPoints> | ||
<Flammability>0.2</Flammability> | ||
<Mass>0.5</Mass> | ||
</statBases> | ||
<thingCategories> | ||
<li>Foods</li> | ||
</thingCategories> | ||
<rotatable>false</rotatable> | ||
<pathCost>15</pathCost> | ||
<generateAllowChance>0</generateAllowChance> | ||
<generateCommonality>0</generateCommonality> | ||
<stackLimit>10</stackLimit> | ||
<tradeNeverStack>false</tradeNeverStack> | ||
<drawGUIOverlay>true</drawGUIOverlay> | ||
<tradeability>None</tradeability> | ||
<ingestible> | ||
<baseIngestTicks>240</baseIngestTicks> | ||
<preferability>NeverForNutrition</preferability> | ||
<foodType>Fluid</foodType> | ||
<nurseable>false</nurseable> | ||
<ingestSound>Ingest_Beer</ingestSound> | ||
<ingestHoldOffsetStanding> | ||
<northDefault> | ||
<offset>(0.18,0,0)</offset> | ||
</northDefault> | ||
</ingestHoldOffsetStanding> | ||
<ingestCommandString>Drink {0}</ingestCommandString> | ||
<ingestReportString>Drinking {0}.</ingestReportString> | ||
<chairSearchRadius>5</chairSearchRadius> | ||
</ingestible> | ||
</ThingDef> | ||
|
||
</Defs> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.