Document devel scripts
parent
58e6ef6524
commit
5018af9a9e
@ -1,2 +1,6 @@
|
||||
``devel/*`` scripts are intended for developers, or still substantially unfinished.
|
||||
If you don't already know what they do, best to leave them alone.
|
||||
``devel/*`` scripts are intended for developer use, but many may
|
||||
be of interest to anyone investigating odd phenomema or just messing
|
||||
around. They are documented to encourage such inquiry.
|
||||
|
||||
Some can PERMANENTLY DAMAGE YOUR SAVE if misused, so please be careful.
|
||||
The warnings are real; if in doubt make backups before running the command.
|
||||
|
@ -1,6 +0,0 @@
|
||||
-- Example of a lua script.
|
||||
|
||||
run_count = (run_count or 0) + 1
|
||||
|
||||
print('Arguments: ',...)
|
||||
print('Command called '..run_count..' times.')
|
@ -1,3 +1,10 @@
|
||||
-- For killing bugged out gui script screens.
|
||||
--[[=begin
|
||||
|
||||
devel/pop-screen
|
||||
================
|
||||
For killing bugged out gui script screens.
|
||||
|
||||
=end]]
|
||||
|
||||
dfhack.screen.dismiss(dfhack.gui.getCurViewscreen())
|
||||
|
@ -1,3 +1,10 @@
|
||||
# unforbid all items
|
||||
=begin
|
||||
|
||||
devel/unforbidall
|
||||
=================
|
||||
Unforbid all items.
|
||||
|
||||
=end
|
||||
|
||||
df.world.items.all.each { |i| i.flags.forbid = false }
|
||||
|
Loading…
Reference in New Issue