Fix building drawerType, re-add rotation render code

This commit is contained in:
2023-07-15 11:00:29 -05:00
parent 3865dd4f53
commit 0039f1a9b6
2 changed files with 4 additions and 4 deletions

View File

@@ -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>

View File

@@ -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);
} }