Skip to content

Commit

Permalink
v1.201
Browse files Browse the repository at this point in the history
  • Loading branch information
juanosarg committed Oct 19, 2020
1 parent 5e4c39e commit 3484b09
Show file tree
Hide file tree
Showing 9 changed files with 20 additions and 1 deletion.
Binary file modified 1.2/Assemblies/VanillaPowerExpanded.dll
Binary file not shown.
17 changes: 17 additions & 0 deletions 1.2/Defs/WorkGiverDefs/WorkGivers.xml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,23 @@
</requiredCapacities>
<prioritizeSustains>true</prioritizeSustains>
</WorkGiverDef>

<WorkGiverDef>
<defName>VPE_BurnGasCrematorium</defName>
<label>burn at gas powered crematorium</label>
<giverClass>WorkGiver_DoBill</giverClass>
<workType>Hauling</workType>
<priorityInType>30</priorityInType>
<fixedBillGiverDefs>
<li>VPE_GasCrematorium</li>
</fixedBillGiverDefs>
<verb>burn at</verb>
<gerund>burning at</gerund>
<requiredCapacities>
<li>Manipulation</li>
</requiredCapacities>
<prioritizeSustains>true</prioritizeSustains>
</WorkGiverDef>

<WorkGiverDef>
<defName>VPE_DoBillsGasSmelter</defName>
Expand Down
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,9 @@ public override AcceptanceReport AllowsPlacing(BuildableDef checkingDef, IntVec3
if (generatorBuilding != null && generatorBuilding.def.defName == "VFE_TidalGenerator")
{ return new AcceptanceReport("VPE_NeedsDistance".Translate()); }


Thing generatorBuildingBlueprint = generator as Thing;
if (generatorBuildingBlueprint != null && (generatorBuildingBlueprint.def.IsBlueprint || generatorBuildingBlueprint.def.IsFrame) && generatorBuildingBlueprint.def.entityDefToBuild.defName == "VFE_TidalGenerator")
{ return new AcceptanceReport("VPE_NeedsDistance".Translate()); }

}

Expand Down
Binary file not shown.
Binary file not shown.

0 comments on commit 3484b09

Please sign in to comment.