From 6bc0561ae2fc83f76fbe0fa69a903116b973d2bf Mon Sep 17 00:00:00 2001 From: Dingo Date: Sun, 19 Nov 2017 00:21:25 +0200 Subject: [PATCH] Beta 18 Release --- About/About.xml | 4 +++- Assemblies/Hand Me That Brick.dll | Bin 7168 -> 7168 bytes README.md | 2 ++ .../WorkGiver_HaulDeliverResourcesToFrames.cs | 5 ++++- 4 files changed, 9 insertions(+), 2 deletions(-) diff --git a/About/About.xml b/About/About.xml index 5b737d7..e88e631 100644 --- a/About/About.xml +++ b/About/About.xml @@ -4,7 +4,9 @@ Dingo https://ludeon.com/forums/index.php?topic=26077 0.18.0 - Colonists assigned to Hauling will deliver resources to blueprints and construction frames. + <color=red>Requires HugsLib.</color> + +Colonists assigned to Hauling will deliver resources to blueprints and construction frames. Haulers won't actively construct if they are not assigned to construction. diff --git a/Assemblies/Hand Me That Brick.dll b/Assemblies/Hand Me That Brick.dll index 859c07a80dc45826de3460987cf088871cb261a4..76143c096e35f1b1a7c8e74f84e4cdc3273ed7f9 100644 GIT binary patch delta 36 scmZp$Xt0>j!Tfonz{c)_0s@Jq!mN|RcDZ)kni?j0CaZ39jNlS3029>?)&Kwi delta 36 scmZp$Xt0>j!MtoD|Hkfv0s>#m9bfa+y?0*|WLvfBD~t8!7{Mi603Uu2X#fBK diff --git a/README.md b/README.md index 93bddcc..01dc97b 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,7 @@ ![Hand Me That Brick](http://i.imgur.com/Cocq2k0.png) +**Requires HugsLib** + Colonists assigned to Hauling will deliver resources to blueprints and construction frames. Haulers won't actively construct if they are not assigned to construction. diff --git a/Source/Work/WorkGiver_HaulDeliverResourcesToFrames.cs b/Source/Work/WorkGiver_HaulDeliverResourcesToFrames.cs index 45eb8ff..6f2f33a 100644 --- a/Source/Work/WorkGiver_HaulDeliverResourcesToFrames.cs +++ b/Source/Work/WorkGiver_HaulDeliverResourcesToFrames.cs @@ -6,7 +6,10 @@ namespace HMTB { public class WorkGiver_HaulDeliverResourcesToFrames : WorkGiver_ConstructDeliverResourcesToFrames { - public override bool ShouldSkip(Pawn pawn) => !Controller.EnableMod; + public override bool ShouldSkip(Pawn pawn) + { + return !Controller.EnableMod; + } public override bool HasJobOnThing(Pawn pawn, Thing t, bool forced = false) {