Add and document points.lua

A trivial script to choose the number of points available at embark.
develop
Zac-HD 2015-08-14 11:54:38 +10:00
parent 22374e6d86
commit 776af19045
3 changed files with 11 additions and 1 deletions

@ -22,8 +22,9 @@ DFHack Future
New scripts New scripts
burial: sets all unowned coffins to allow burial ("-pets" to allow pets too) burial: sets all unowned coffins to allow burial ("-pets" to allow pets too)
fix-ster: changes fertility/sterility of animals or dwarves fix-ster: changes fertility/sterility of animals or dwarves
view-item-info: adds information and customisable descriptions to item viewscreens view-item-info: adds information and customisable descriptions to item viewscreens
warn-starving: check for starving, thirsty, or very drowsy units and pause with warning if any are found warn-starving: check for starving, thirsty, or very drowsy units and pause with warning if any are found
points: set number of points available at embark screen
New tweaks New tweaks
kitchen-keys: Fixes DF kitchen meal keybindings kitchen-keys: Fixes DF kitchen meal keybindings
kitchen-prefs-color: Changes color of enabled items to green in kitchen preferences kitchen-prefs-color: Changes color of enabled items to green in kitchen preferences

@ -2589,6 +2589,12 @@ Example::
multicmd locate-ore iron ; digv multicmd locate-ore iron ; digv
points
======
Sets available points at the embark screen to the specified number. Eg.
``points 1000000`` would allow you to buy everything, or ``points 0`` would
make life quite difficult.
position position
======== ========
Reports the current time: date, clock time, month, and season. Also reports Reports the current time: date, clock time, month, and season. Also reports

@ -0,0 +1,3 @@
-- by Meph
-- http://www.bay12forums.com/smf/index.php?topic=135506.msg4925005#msg4925005
df.global.world.worldgen.worldgen_parms.embark_points=tonumber(...)