mirror of
https://github.com/Xevion/RimWorld-Hydroponics-Expanded.git
synced 2025-12-10 06:08:25 -06:00
Fix building drawerType, re-add rotation render code
This commit is contained in:
@@ -2,6 +2,7 @@
|
|||||||
<ThingDef Name="HydroponicsExpanded_Base" ParentName="BuildingBase" Abstract="True">
|
<ThingDef Name="HydroponicsExpanded_Base" ParentName="BuildingBase" Abstract="True">
|
||||||
<description>An artificial nutrient bath that allows very dense crop growths in growth bays underneath. The nutrient pumps must work continuously; the plants will die if power is cut. Includes its own internal light source, but the internal ventilation system is not temperature controlled.</description>
|
<description>An artificial nutrient bath that allows very dense crop growths in growth bays underneath. The nutrient pumps must work continuously; the plants will die if power is cut. Includes its own internal light source, but the internal ventilation system is not temperature controlled.</description>
|
||||||
<thingClass>HydroponicsExpanded.BuildingDenseHydroponicsBasin</thingClass>
|
<thingClass>HydroponicsExpanded.BuildingDenseHydroponicsBasin</thingClass>
|
||||||
|
<drawerType>MapMeshAndRealTime</drawerType>
|
||||||
<minifiedDef>MinifiedThing</minifiedDef>
|
<minifiedDef>MinifiedThing</minifiedDef>
|
||||||
<thingCategories>
|
<thingCategories>
|
||||||
<li>BuildingsProduction</li>
|
<li>BuildingsProduction</li>
|
||||||
|
|||||||
@@ -175,10 +175,9 @@ namespace HydroponicsExpanded {
|
|||||||
bar.unfilledMat = HydroponicUnfilledMaterial;
|
bar.unfilledMat = HydroponicUnfilledMaterial;
|
||||||
|
|
||||||
|
|
||||||
// Rot4 rotation = base.Rotation;
|
Rot4 rotation = Rotation;
|
||||||
// rotation.Rotate(RotationDirection.Clockwise);
|
rotation.Rotate(RotationDirection.Clockwise);
|
||||||
// bar.rotation = rotation;
|
bar.rotation = rotation;
|
||||||
bar.rotation = Rotation;
|
|
||||||
|
|
||||||
GenDraw.DrawFillableBar(bar);
|
GenDraw.DrawFillableBar(bar);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user