边缘世界 RimWorld

边缘世界 RimWorld

Replimat
此主题已被锁定
The Seraph of Tomorrow 2024 年 9 月 7 日 下午 10:14
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>
最后由 The Seraph of Tomorrow 编辑于; 2024 年 9 月 8 日 上午 9:11
< >
正在显示第 1 - 2 条,共 2 条留言
sumghai  [开发者] 2024 年 9 月 9 日 上午 1:10 
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.
The Seraph of Tomorrow 2024 年 9 月 9 日 下午 6:41 
引用自 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.
< >
正在显示第 1 - 2 条,共 2 条留言
每页显示数: 1530 50