scripts/startdwarf

develop
jj 2013-04-30 18:31:28 +02:00
parent f3e357d161
commit 578b178ac0
2 changed files with 10 additions and 0 deletions

@ -8,6 +8,7 @@ DFHack future
- locate_ore: scan the map for unmined ore veins
- multicmd: run a sequence of dfhack commands, separated by ';'
- autobutcher: A GUI front-end for the autobutcher plugin.
- startdwarf: change the number of dwarves for a new embark
Misc improvements:
- exterminate: renamed from slayrace, add help message, add butcher mode
- autoSyndrome: disable by default

@ -0,0 +1,9 @@
# patch start dwarf count
nr = $script_args[0].to_i
raise 'too low' if nr < 7
addr = df.get_global_address('start_dwarf_count')
df.memory_patch(addr, [nr].pack('L'))