Commit Graph

741 Commits (d36bb20d91934db42c450bbfcd1170be32ccaa2f)

Author SHA1 Message Date
lethosor 83603fcf45 Add prerelease build flag and warning script 2015-12-11 20:27:46 -05:00
lethosor a73110f7f0 startdwarf: Provide feedback if offset is missing 2015-12-11 16:36:09 -05:00
lethosor 571df39878 Update submodules 2015-12-11 16:35:42 -05:00
lethosor 734d2c03db Fix several issues with gui/family-affairs
* Fix mismatched variable names
* Fix help display
* Remove redundant write to gamelog.txt
* Check for adulthood and fortress mode more reliably

See #730
2015-11-27 16:26:47 -05:00
lethosor 8ec232570b Fix some emigration issues
See #730
2015-11-27 16:12:34 -05:00
lethosor c09eafcaf3 Fix fix/dry-buckets 2015-11-26 16:50:46 -05:00
lethosor 3783cbb672 feature.lua: Several improvements
* List names of features
* List some flags (water, magma, layer, etc.)
* Detect invalid IDs
* Remove =begin/=end from displayed help text
2015-11-26 16:41:45 -05:00
lethosor df61233774 Merge remote-tracking branch 'PeridexisErrant/new-scripts' into develop 2015-11-26 16:13:27 -05:00
lethosor 81b750c2f0 Merge remote-tracking branch 'Putnam3145/patch-22' into develop 2015-11-26 16:10:04 -05:00
PeridexisErrant 7ed5a810b9 Improve fix/dry-buckets checks 2015-11-23 17:51:26 +09:30
lethosor af92b3ae1f Fix some confirm plugin issues and add a simple configuration UI
- Detect null pointers in trade-related functions
- Fix typo/issues pointed out by @dscorbett
- Reorder includes
2015-11-21 20:58:49 -05:00
Putnam3145 c152b9033a Add indeterminate orientation to gaydar 2015-11-17 09:58:04 -08:00
PeridexisErrant 1067eeb6d3 Improve drybuckets checks
Must also be liquid and in a container.
2015-11-17 16:52:06 +09:30
PeridexisErrant 842b9c5191 Implement feature as a script, add magma option
Functionality is exactly equivalent to the plugin, but with a new option
for players who want to enable magma furnaces without spoilers.
2015-11-17 16:43:56 +09:30
PeridexisErrant 2ba9ef04e3 Replace drybuckets plugin with a script
Also closes #248, by checking job and building flags.
2015-11-17 13:55:43 +09:30
lethosor 48670251e4 Make ESC work in quantity prompt 2015-11-09 17:33:33 -05:00
lethosor f3d86f5947 Restore correct game type 2015-11-09 17:25:55 -05:00
lethosor d276d4d46b Add devel/clear-script-env 2015-11-07 17:36:42 -05:00
lethosor e176c3ea05 Merge remote-tracking branch 'PeridexisErrant/docs-again' into develop 2015-11-07 15:50:11 -05:00
lethosor 3ae0b17031 tidlers: Use next_item() 2015-11-07 15:24:57 -05:00
PeridexisErrant 0bb203e7c9 Replace initflags plugin with scripts
Progress towards #722
2015-11-07 23:42:14 +11:00
PeridexisErrant 1c25f8f1a3 Unify docs for designation and map-mod plugins
Plus some cleanup and flattening of the behaviour mod plugin docs
2015-11-07 13:04:47 +11:00
PeridexisErrant 3506921447 Add cross-links for similar commands 2015-11-07 10:53:12 +11:00
PeridexisErrant 193e71793a Fix compile, intro, scripts
- script-syntax.py now exits with 1 instead of silently catching the
error if lua or ruby are missing
- index paths are absolute (from the repo root)
- less strong suggestion for third-party packs
- re-added lua-example and test-perlin doc
- corrected and clarified Compile some more
2015-11-06 16:58:58 +11:00
Lethosor 2f8f5b071a Merge pull request #730 from PeridexisErrant/add-scripts
Add updated emigration script, gui/family-affairs
2015-11-05 19:55:15 -05:00
lethosor ac4927d409 Update scripts/3rdparty/* (docs) 2015-11-05 19:38:47 -05:00
PeridexisErrant 5018af9a9e Document devel scripts 2015-11-06 10:15:18 +11:00
PeridexisErrant 58e6ef6524 De-alias migrants-now 2015-11-06 10:15:18 +11:00
PeridexisErrant 3623659a9b Add emigration script 2015-11-05 16:40:35 +11:00
PeridexisErrant 45c3f145e5 Add gui/family-affairs 2015-11-05 13:17:26 +11:00
lethosor b01d79e502 Update scripts/3rdparty submodules 2015-11-04 20:08:34 -05:00
lethosor cbf31dcb37 Merge remote-tracking branch 'PeridexisErrant/NEWS-cleanup' into develop 2015-11-04 19:54:13 -05:00
lethosor cb22e2639e Merge branch 'develop' of https://github.com/dfhack/dfhack into develop 2015-11-02 22:29:09 -05:00
Putnam3145 5e727b301d minor typo fix 2015-11-02 10:51:23 -08:00
lethosor 28940b9b8a Temporarily disable 3rdparty/roses
See #712
2015-11-01 17:25:36 -05:00
lethosor 73e871231f Update 3rd-party scripts 2015-10-31 15:27:16 -04:00
PeridexisErrant e11ce3bff4 Merge develop 2015-10-31 15:46:41 +11:00
Lethosor 54996d9543 Merge pull request #717 from PeridexisErrant/state-of-decay
State of decay - Onmiclasm's FPS boosting scripts
2015-10-30 18:27:46 -04:00
PeridexisErrant a8ab595428 Tweak plugins docs
- Minor updates and clarifying edits
- Better use of markup throughout the document
- linked references to bugs and other things
- moved gui/siege-engine docs to the script
2015-10-29 12:46:31 +11:00
PeridexisErrant 92cd313776 Improve markup in scripts documentation
Plus minor changes for clarification.
2015-10-29 12:44:49 +11:00
PeridexisErrant 94cadbf1ec Add FPS-boosting 'state of decay' scripts
By Omniclasm.
http://www.bay12forums.com/smf/index.php?topic=150782.msg6482346#msg6482346
2015-10-28 21:13:17 +11:00
PeridexisErrant 056c1bcb2d Document new scripts 2015-10-28 10:18:44 +11:00
PeridexisErrant aee2655886 Merge branch 'develop' of https://github.com/DFHack/dfhack into NEWS-cleanup 2015-10-28 10:07:13 +11:00
lethosor d58c9019be alias migrants-now -> devel/migrants-now 2015-10-27 17:33:51 -04:00
lethosor 74860e2904 Add spawnunit wrapper
See #716
2015-10-26 21:02:38 -04:00
lethosor 7dd091e57a create-unit: add nickname option 2015-10-26 21:02:03 -04:00
PeridexisErrant 4be9e13d74 Fix digfort docs
I'm sure this isn't the only error in the docs.  Hopefully having them
in the scripts will make spotting issues easier.
2015-10-26 11:06:57 +11:00
PeridexisErrant 413a61423a Tweak docs building
Trying to save the warnings to a file only works if the directory
exists.  Also fix digfort docs error.
2015-10-25 10:14:09 +11:00
PeridexisErrant 69090e114c Explain script type at top of listing
Using an `about.txt` file in each directory.  This is nice because it
keeps the purpose notes in the actual script directories.
2015-10-24 17:41:21 +11:00
PeridexisErrant ddae19ad8b Move base scripts 2015-10-24 15:10:15 +11:00
PeridexisErrant abb882618b Move modtools docs 2015-10-24 10:57:04 +11:00
PeridexisErrant f8d965b8ea Migrate fix, gui script docs; add link shortcuts
Because it's a lot easier to link to bug reports this way.

The migration is mostly just a copy-paste job, but I'm using keybinding
styles where appropriate too.
2015-10-24 01:37:39 +11:00
PeridexisErrant 5e02e00e2c Autogen script links, table of contents, and demo!
Automatically generating the link target for each script saves a lot of
time and potential for errors.

Each kind-of-script page now includes a link target for that page, and
also a table of contents.

In-script markers to delimit text for Sphinx extraction now use native
docstring markers from Ruby, which is a lot more elegant in .rb scripts
- and robust, as long as the fisrt docstring is valid .rst!
2015-10-24 00:33:35 +11:00
Warmist 5fbb950bc2 Fix gm-editor to work with df.global structs
It was broken because df.global is not a real struct and does not have ._field at all.
2015-10-19 18:42:15 +03:00
PeridexisErrant c5d6e693f8 Use command name only for internal hyperlinks
Because it's not actually that important to the user how a command is
implemented, and the docs should reflect that.  This also makes them
easier to write!
2015-10-19 14:16:19 +11:00
lethosor 7e8200603c Fix whitespace 2015-10-13 21:31:14 -04:00
Mason11987 dea78d0627 Put mistakenly removed comments back 2015-10-12 06:02:51 -04:00
Mason11987 db3a1024e1 Fixes to allow open-legends to allow export as well. 2015-10-12 05:59:51 -04:00
Mason11987 2993edaf73 spacing 2015-10-12 05:21:16 -04:00
Mason11987 755b4fa384 Fixing assume identities since it causes a crash. 2015-10-12 05:15:32 -04:00
lethosor 505b1f0efc assumed_identities -> identities
Fixes #709
2015-10-11 12:03:16 -04:00
lethosor d3d21fa371 gm-editor: Make df.global prefix optional 2015-10-11 11:44:52 -04:00
lethosor 3b8d5a6a95 Suggest --init flag in missing-submodule messages 2015-10-02 16:59:50 -04:00
lethosor 93a8998268 make-legendary: fix console output on *nix 2015-09-28 20:09:06 -04:00
expwnent f84ef11341 Whitespace. 2015-09-27 02:59:31 -04:00
expwnent c15b01a79a Autogenerate include-all.rst for scripts so that script documentation can be entirely encapsulated in lua files without updating anything else. 2015-09-27 02:45:11 -04:00
lethosor fa60ccdd52 Don't find scripts from the last loaded world's raw/scripts folder 2015-09-26 14:26:13 -04:00
lethosor f2696cfd3d Show all missing submodule errors 2015-09-26 10:51:29 -04:00
expwnent 6d035dd323 Whitespace, syntax. 2015-09-25 19:13:22 -04:00
expwnent 558caa24fb More whitespace errors. 2015-09-25 19:08:42 -04:00
expwnent 6d3409da39 Whitespace. 2015-09-25 18:56:47 -04:00
expwnent 8cc0a0bd42 Include all Roses' scripts. 2015-09-25 17:41:25 -04:00
expwnent 3120c95842 Add maxthyme/prefchange. 2015-09-25 17:18:45 -04:00
expwnent b2801eb909 Third party scripts, fix lethosor, add maxthyme. 2015-09-25 17:13:32 -04:00
expwnent 3c36a4cb07 Add more lethosor scripts. 2015-09-25 16:38:15 -04:00
expwnent 5bcff42800 Add third party scripts. 2015-09-23 23:46:26 -04:00
expwnent dc4dc54912 Add third party script submodules. 2015-09-21 19:34:16 -04:00
expwnent cb0591f315 Fix indentation in Vjek scripts. 2015-09-21 18:25:16 -04:00
expwnent 93ce64a32c Merge remote-tracking branch 'peridexis/vjek-scripts' into vjek 2015-09-21 18:07:00 -04:00
expwnent b532a56790 Merge remote-tracking branch 'dfhack/develop' into develop 2015-09-21 17:48:34 -04:00
expwnent 0b06f2c719 Merge remote-tracking branch 'warmist/advfort' into develop 2015-09-21 17:47:16 -04:00
Warmist 7974945fb6 Whitespace fix. 2015-09-21 21:11:48 +03:00
Warmist 3cd4b90db8 Fixes and minecart improvements
added output to clear_jobs of number of cleared jobs
another failed attempt at gather plants fix
added track stop configuration window
2015-09-20 20:46:13 +03:00
warmist 88d65b18a1 Fix bug in gm-editor
Fix a small bug that broken some flag editing.
2015-09-20 18:10:19 +03:00
Warmist 1b924cdc79 Fixes to carving. Added unsafe checking. 2015-09-19 12:18:30 +03:00
Warmist e851543e1a Fix crash bug in advfort when failing almost constructed job. 2015-09-18 20:32:33 +03:00
Warmist 5c6a80037f Fix cooking allow using cooked meals as ingredient. 2015-09-16 14:05:29 +03:00
expwnent 7f7da945a6 Merge pull request #658 from warmist/patch-3
Create gm-unit.lua
2015-09-15 03:41:07 -04:00
expwnent ab749ab0c8 Tweak create-unit and remove trailing whitespace. 2015-09-15 03:17:57 -04:00
expwnent 9107d2be52 Merge remote-tracking branch 'dfhack/develop' into create-unit 2015-09-15 03:11:54 -04:00
expwnent fdca83e17a Tweak modtools/create-item (creator = \LAST) 2015-09-15 02:32:58 -04:00
expwnent 836fbe8650 Increment version of create-unit. 2015-09-15 02:20:23 -04:00
expwnent 6730e58bcf scripts/modtools/create-unit.lua: fix indentation and add todo list. 2015-09-15 02:19:31 -04:00
expwnent d4300ab814 scripts/modtools/create-unit.lua: now you can set the age (in years) of newly-created units. 2015-09-15 01:36:29 -04:00
expwnent ea74ec7132 Made "help" argument to scripts/modtools/create-unit.lua work correctly. 2015-09-15 01:07:31 -04:00
lethosor d696832efa Merge branch '3rd-party-scripts' into develop 2015-09-14 16:52:13 -04:00
Warmist a1e0a30335 Advfort bug fixes and quickmode addition. 2015-09-14 18:55:13 +03:00
lethosor a852ca10d7 Merge remote-tracking branches 'warmist/luasocket' and 'warmist/advfort' into develop 2015-09-12 19:59:53 -04:00
lethosor 9123f3cd3e gm-editor: Select enum items from a list by default
SEC_SELECT can be used for the old (numerical editing) behavior
2015-09-12 19:55:38 -04:00
warmist 5a39a1d86d Make forbidding jobs in sites optional
Activated with "-s" or "--safe" mode.
2015-09-10 14:38:44 +03:00