RimWorld

RimWorld

Replimat
This topic has been locked
Moving Discussion from other Mod Page
Thanks for your earlier response, after looking the item in the mod to see if it was a food or drug item. Could you point out what in this items thingsdef needs to be altered to make it work with the Replimat?

<ThingDef ParentName="HSAU_MealBase"> <defName>HSAU_BloodPouch</defName> <label>Blood</label> <description>500 mL of medical grade red blood cells packaged in a plastic pouch. It will quickly spoil if not refrigerated.</description> <graphicData> <texPath>HSAU/Things/BloodPouch</texPath> <graphicClass>Graphic_StackCount</graphicClass> </graphicData> <uiIconPath>HSAU/Things/BloodPouch/BloodPouch_a</uiIconPath> <uiIconScale>1.2</uiIconScale> <generateCommonality>0.0000000000001</generateCommonality> <generateAllowChance>0</generateAllowChance> <statBases> <MarketValue>20</MarketValue> <Mass>0.2</Mass> <WorkToMake>300</WorkToMake> <Nutrition>1.0</Nutrition> <DeteriorationRate>0.05</DeteriorationRate> </statBases> <stackLimit>75</stackLimit> <techLevel>Industrial</techLevel> <ingestible> <foodType>Fluid</foodType> <preferability>MealFine</preferability> <!-- MealSimple, MealFine --> <ingestEffect>EatMeat</ingestEffect> <ingestSound>Ingest_Drink</ingestSound> <tasteThought>AteFineMeal</tasteThought> <maxNumToIngestAtOnce>1</maxNumToIngestAtOnce> <outcomeDoers> <li Class="IngestionOutcomeDoer_OffsetNeed"> <need>Food</need> <offset>0.35</offset> </li> <li Class="IngestionOutcomeDoer_OffsetNeed"> <need>Joy</need> <offset>0.10</offset> </li> </outcomeDoers> </ingestible> <comps Inherit="False"> <li Class="CompProperties_Forbiddable" /> <li Class="CompProperties_Rottable"> <daysToRotStart>1.6</daysToRotStart> <rotDestroys>true</rotDestroys> </li> </comps> </ThingDef>
Last edited by The Seraph of Tomorrow; 8 Sep, 2024 @ 9:11am
< >
Showing 1-2 of 2 comments
sumghai  [developer] 9 Sep, 2024 @ 1:10am 
You could try changing
<foodType>Fluid</foodType>
to
<foodType>Meal</foodType>
, although I can't guarantee your tweak won't break the functionality of the HSAU mod.
Originally posted by sumghai:
You could try changing
<foodType>Fluid</foodType>
to
<foodType>Meal</foodType>
, although I can't guarantee your tweak won't break the functionality of the HSAU mod.

I'll give it a shot, than you for the advice.
< >
Showing 1-2 of 2 comments
Per page: 1530 50