Skip to content
This repository has been archived by the owner on Dec 3, 2022. It is now read-only.

Commit

Permalink
Adding wall fridges
Browse files Browse the repository at this point in the history
  • Loading branch information
KiameV committed Aug 4, 2018
1 parent 1048a9c commit 55cbd92
Show file tree
Hide file tree
Showing 3 changed files with 473 additions and 276 deletions.
2 changes: 1 addition & 1 deletion About/ModSync.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<ModSyncNinjaData>
<ID>a2acc0d3-591f-4f53-baf8-5e2997650d25</ID>
<ModName>RimFridge</ModName>
<Version>1.0.0.2</Version>
<Version>1.0.0.3</Version>
<SaveBreaking>False</SaveBreaking>
<Host name="Github">
<Owner>KiameV</Owner>
Expand Down
196 changes: 196 additions & 0 deletions Defs/ThingDefs_Buildings/WallFridge_Building.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,196 @@
<?xml version="1.0" encoding="utf-8" ?>
<Defs>
<ThingDef ParentName="FridgeBase">
<defName>RimFridge_WallRefrigerator</defName>
<label>Wall Refrigerator</label>
<thingClass>RimFridge.Building_Refrigerator</thingClass>
<graphicData>
<texPath>Building/Temperature/Fridge/DualFridge</texPath>
<graphicClass>Graphic_Multi</graphicClass>
<drawSize>(4,3)</drawSize>
</graphicData>
<altitudeLayer>Building</altitudeLayer>
<passability>Impassable</passability>
<blockWind>true</blockWind>
<fillPercent>1</fillPercent>
<coversFloor>true</coversFloor>
<blockLight>true</blockLight>
<canOverlapZones>false</canOverlapZones>
<castEdgeShadows>true</castEdgeShadows>
<staticSunShadowHeight>1.0</staticSunShadowHeight>
<costList>
<Steel>40</Steel>
<ComponentIndustrial>1</ComponentIndustrial>
</costList>
<statBases>
<Mass>30</Mass>
<MaxHitPoints>100</MaxHitPoints>
<WorkToBuild>1050</WorkToBuild>
<Flammability>1.0</Flammability>
</statBases>
<size>(2,1)</size>
<researchPrerequisites>
<li>AirConditioning</li>
</researchPrerequisites>
<building>
<preventDeteriorationInside>true</preventDeteriorationInside>
<preventDeteriorationOnTop>true</preventDeteriorationOnTop>
<ignoreStoredThingsBeauty>true</ignoreStoredThingsBeauty>
<fixedStorageSettings>
<filter>
<categories>
<li>AnimalProductRaw</li>
<li>Corpses</li>
<li>Drugs</li>
<li>EggsFertilized</li>
<li>EggsUnfertilized</li>
<li>Foods</li>
<li>Medicine</li>
<li>PlantMatter</li>
<li>PlantFoodRaw</li>
</categories>
</filter>
</fixedStorageSettings>
<defaultStorageSettings>
<priority>Important</priority>
<filter>
<categories>
<li>FoodMeals</li>
</categories>
</filter>
</defaultStorageSettings>
<canPlaceOverWall>true</canPlaceOverWall>
</building>
<comps>
<li Class="CompProperties_Power">
<compClass>CompPowerTrader</compClass>
<basePowerConsumption>90</basePowerConsumption>
</li>
<li Class="CompProperties_Flickable"/>
<li Class="CompProperties_Breakdownable"/>
<li Class="CompProperties_Glower">
<glowRadius>2.5</glowRadius>
<glowColor>(89,188,255,0)</glowColor>
</li>
<li Class="RimFridge.CompProperties_SecondLayer">
<graphicData>
<texPath>Building/Temperature/Fridge/DualFridgeLid</texPath>
<graphicClass>Graphic_Multi</graphicClass>
<shaderType>Transparent</shaderType>
<drawSize>(4,3)</drawSize>
</graphicData>
<altitudeLayer>MoteOverhead</altitudeLayer>
</li>
</comps>
<inspectorTabs>
<li>ITab_Storage</li>
</inspectorTabs>
<designationHotKey>Misc12</designationHotKey>
<surfaceType>Item</surfaceType>
<description>Rottable things stored in this will not spoil</description>
<tickerType>Rare</tickerType>
<designationCategory>Temperature</designationCategory>
<pathCost>30</pathCost>
<placeWorkers>
<li>PlaceWorker_Heater</li>
</placeWorkers>
<drawPlaceWorkersWhileSelected>true</drawPlaceWorkersWhileSelected>
</ThingDef>

<ThingDef ParentName="FridgeBase">
<defName>RimFridge_SingleWallRefrigerator</defName>
<label>Single Wall Refrigerator</label>
<thingClass>RimFridge.Building_Refrigerator</thingClass>
<graphicData>
<texPath>Building/Temperature/Fridge/SingleFridge</texPath>
<graphicClass>Graphic_Multi</graphicClass>
<drawSize>(3, 3)</drawSize>
</graphicData>
<altitudeLayer>Building</altitudeLayer>
<passability>Impassable</passability>
<blockWind>true</blockWind>
<fillPercent>1</fillPercent>
<coversFloor>true</coversFloor>
<blockLight>true</blockLight>
<canOverlapZones>false</canOverlapZones>
<castEdgeShadows>true</castEdgeShadows>
<staticSunShadowHeight>1.0</staticSunShadowHeight>
<costList>
<Steel>20</Steel>
<ComponentIndustrial>1</ComponentIndustrial>
</costList>
<statBases>
<Mass>15</Mass>
<MaxHitPoints>100</MaxHitPoints>
<WorkToBuild>1050</WorkToBuild>
<Flammability>1.0</Flammability>
</statBases>
<size>(1,1)</size>
<researchPrerequisites>
<li>AirConditioning</li>
</researchPrerequisites>
<building>
<preventDeteriorationInside>true</preventDeteriorationInside>
<preventDeteriorationOnTop>true</preventDeteriorationOnTop>
<ignoreStoredThingsBeauty>true</ignoreStoredThingsBeauty>
<fixedStorageSettings>
<filter>
<categories>
<li>AnimalProductRaw</li>
<li>Corpses</li>
<li>Drugs</li>
<li>EggsFertilized</li>
<li>EggsUnfertilized</li>
<li>Foods</li>
<li>Medicine</li>
<li>PlantMatter</li>
<li>PlantFoodRaw</li>
</categories>
</filter>
</fixedStorageSettings>
<defaultStorageSettings>
<priority>Important</priority>
<filter>
<categories>
<li>FoodMeals</li>
</categories>
</filter>
</defaultStorageSettings>
<canPlaceOverWall>true</canPlaceOverWall>
</building>
<comps>
<li Class="CompProperties_Power">
<compClass>CompPowerTrader</compClass>
<basePowerConsumption>50</basePowerConsumption>
</li>
<li Class="CompProperties_Flickable"/>
<li Class="CompProperties_Breakdownable"/>
<li Class="CompProperties_Glower">
<glowRadius>2</glowRadius>
<glowColor>(89,188,255,0)</glowColor>
</li>
<li Class="RimFridge.CompProperties_SecondLayer">
<graphicData>
<texPath>Building/Temperature/Fridge/SingleFridgeLid</texPath>
<graphicClass>Graphic_Multi</graphicClass>
<shaderType>Transparent</shaderType>
<drawSize>(3,3)</drawSize>
</graphicData>
<altitudeLayer>MoteOverhead</altitudeLayer>
</li>
</comps>
<inspectorTabs>
<li>ITab_Storage</li>
</inspectorTabs>
<designationHotKey>Misc12</designationHotKey>
<surfaceType>Item</surfaceType>
<description>Rottable things stored in this will not spoil</description>
<tickerType>Rare</tickerType>
<designationCategory>Temperature</designationCategory>
<pathCost>30</pathCost>
<placeWorkers>
<li>PlaceWorker_Heater</li>
</placeWorkers>
<drawPlaceWorkersWhileSelected>true</drawPlaceWorkersWhileSelected>
</ThingDef>
</Defs>
Loading

0 comments on commit 55cbd92

Please sign in to comment.