Skip to content

Commit 7219200

Browse files
committed
Split the armory tweak into a separate plugin - it is too big now.
1 parent ed4904f commit 7219200

5 files changed

Lines changed: 379 additions & 221 deletions

File tree

NEWS

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,8 @@ DFHack future
1010
- fastdwarf: new mode using debug flags, and some internal consistency fixes.
1111
- added a small stand-alone utility for applying and removing binary patches.
1212
- removebadthoughts: add --dry-run option
13-
New tweaks:
14-
- tweak armory: prevents stockpiling of armor and weapons stored on stands and racks.
15-
- tweak stock-armory: makes dwarves actively haul equipment from stockpiles to the armory.
13+
New commands:
14+
- fix-armory: activates a plugin that makes armor stands and weapon racks be used again.
1615
New GUI scripts:
1716
- gui/guide-path: displays the cached path for minecart Guide orders.
1817
- gui/workshop-job: displays inputs of a workshop job and allows tweaking them.

dfhack.init-example

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,3 @@ tweak fast-trade
121121
tweak military-stable-assign
122122
# in same list, color units already assigned to squads in brown & green
123123
tweak military-color-assigned
124-
125-
# stop squad equpment stored on weapon racks and armor stands from being stockpiled
126-
tweak armory
127-
tweak stock-armory

plugins/CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -124,6 +124,7 @@ if (BUILD_SUPPORTED)
124124
DFHACK_PLUGIN(power-meter power-meter.cpp LINK_LIBRARIES lua)
125125
DFHACK_PLUGIN(siege-engine siege-engine.cpp LINK_LIBRARIES lua)
126126
DFHACK_PLUGIN(add-spatter add-spatter.cpp)
127+
DFHACK_PLUGIN(fix-armory fix-armory.cpp)
127128
# not yet. busy with other crud again...
128129
#DFHACK_PLUGIN(versionosd versionosd.cpp)
129130
DFHACK_PLUGIN(misery misery.cpp)

0 commit comments

Comments
 (0)