RimWorld

RimWorld

Vanilla Furniture Expanded Pack
How to fix bill error when you use the fridges (kitchen, industrial, container) ie Bill drop down menu will not show when you have at least one of them placed on the map
There is currently a bug, a very old one. Idk the root cause of it but in the bug reports it goes way back to 2024.

I have spent the freetime searching a fix and found none until I stumbled upon @Derp123's comment about adding this line of code in the mod's xml files. Found in 2915484451\Fridge\Defs\ThingDefs\Buildings_Fridge.xml

Open Buildings_Fridge.xml using notepad++

and add this line of code between </comps> and <ThingDef>

add it to all the fridges and replace the word "insert fridge label here" with the corresponding Fridge label, which will be found above. It will start with "<label>"

<building>
<groupingLabel>insert fridge label here</groupingLabel>
</building>

------------------------------Example line of code: (This is for the container)---------------------------------


<ThingDef ParentName="FFE_FridgeBase" MayRequire="LWM.DeepStorage">
<defName>FFE_FridgeContainer</defName>
<label>fridge container</label>
<terrainAffordanceNeeded>Heavy</terrainAffordanceNeeded>
<description>A powered, cargo container which can be used to freeze and store perishable food.</description>
<graphicData>
<texPath>Things/Building/Container/FridgeContainer</texPath>
<graphicClass>Graphic_Multi</graphicClass>
<drawSize>(2.5,4)</drawSize>
</graphicData>
<uiIconScale>0.9</uiIconScale>
<costList>
<Steel>300</Steel>
<ComponentIndustrial>5</ComponentIndustrial>
</costList>
<statBases>
<MaxHitPoints>300</MaxHitPoints>
<Mass>55</Mass>
<WorkToBuild>10500</WorkToBuild>
<Flammability>0.5</Flammability>
</statBases>
<blockWind>true</blockWind>
<fillPercent>1.1</fillPercent>
<soundImpactDefault>BulletImpact_Metal</soundImpactDefault>
<repairEffect>ConstructMetal</repairEffect>
<size>(2,4)</size>
<building>
<paintable>true</paintable>
<isInert>true</isInert>
<preventDeteriorationOnTop>true</preventDeteriorationOnTop>
<ignoreStoredThingsBeauty>true</ignoreStoredThingsBeauty>
</building>
<comps>
<li Class="CompProperties_Power">
<compClass>CompPowerTrader</compClass>
<basePowerConsumption>300</basePowerConsumption>
</li>
<li MayRequire="lwm.deepstorage" Class="LWM.DeepStorage.Properties">
<maxNumberStacks>5</maxNumberStacks>
<minNumberStacks>5</minNumberStacks>
<timeStoringTakes>80</timeStoringTakes>
<additionalTimeEachStack>50</additionalTimeEachStack>
<showContents>false</showContents>
<overlayType>SumOfAllItems</overlayType>
</li>
</comps>
<building>
<groupingLabel>fridge container</groupingLabel>
</building>
</ThingDef>