Commit Graph

538 Commits (96f3bdafb40fff9b5c0faa0c8ea483367b63d09f)

Author SHA1 Message Date
lethosor 957b894a80 warn-starving improvements
* Display all problems with all units
* Display units' professions if applicable
* Log warnings to the console
* Allow use as a module
* Add an argument to (re-)display all problematic units

See #614
2015-05-24 13:05:46 -04:00
lethosor de984b1a60 Merge remote-tracking branch 'PeridexisErrant/warn-starving' into develop 2015-05-24 12:35:10 -04:00
lethosor 7baf581b93 Make gui/gm-editor work with lua tables 2015-05-24 11:43:05 -04:00
Putnam3145 73527cc6eb Made teleport work with cursor and handle errors. 2015-05-19 13:18:40 -07:00
PeridexisErrant 7c3c92dd54 Remove surplus end 2015-05-13 23:04:32 +10:00
PeridexisErrant 2569abcdec Fix variables na and announcement -> msg 2015-05-13 22:58:34 +10:00
Peridexis Errant 3583004c6d Add warn-starving.lua
With minor changes; it doesn't repeat here.
Closes issue #596.
2015-05-13 14:49:10 +10:00
lethosor 6447695d1f Merge remote-tracking branch 'PeridexisErrant/add-scripts' into develop 2015-05-09 09:36:51 -04:00
Peridexis Errant d7717a92ab Add burial.lua by Putnam
It's useful, and why not?
2015-05-09 17:29:03 +10:00
Peridexis Errant 939cab4451 Add fix-ster by Tacomagic
Allow setting fertility or sterility of units or whole species.
2015-05-09 16:35:19 +10:00
lethosor 9ce0616325 Allow scripts that recognize "moduleMode" to be used as modules 2015-05-08 18:03:19 -04:00
lethosor 4e5326e25d Only allow quicksave to be used in fortress mode 2015-05-06 18:47:40 -04:00
Lethosor c095371814 Merge pull request #606 from Putnam3145/patch-16
Make full-heal -r optionally remove corpse.
2015-04-29 17:37:22 -04:00
Lethosor 06a2e430dc Merge pull request #608 from Putnam3145/patch-17
Made "could not find syndrome" error work.
2015-04-29 17:37:06 -04:00
Putnam3145 aeeb2cfd6e Made "could not find syndrome" error work.
Before, it was trying to look at the syndrome ID it didn't actually find.
2015-04-29 14:19:24 -07:00
Putnam3145 f6b9d19762 Make full-heal -r optionally remove corpse. 2015-04-24 18:59:09 -07:00
Putnam3145 d4c2ec9365 Made hack-wish assign quality properly.
Also added a few return values and localized most functions so that it can be better used with dfhack.script_environment.
2015-04-23 18:11:13 -07:00
lethosor 3eb814ce51 Clean up gui/dfstatus.lua 2015-04-18 19:19:43 -04:00
lethosor e3b7d61bc1 Fix a few view-item-info issues
* Make descriptions work
* Allow the script to be enabled/disabled
* Avoid appending an empty line to script output and add a DFHack
  label
2015-04-18 18:57:21 -04:00
lethosor 1a23ce136a Merge remote-tracking branch 'PeridexisErrant/item-info' into develop 2015-04-18 17:56:32 -04:00
lethosor fab7887f20 Make lint.py work under Python 3 and fix a few UTF-8 errors 2015-04-06 11:25:30 -04:00
Peridexis Errant 2bd5b7e349 Describe blocks, fix trailing whitespace 2015-04-06 16:03:14 +10:00
PeridexisErrant ad09bc98d1 Add script, content, and documentation
See readme diff for more information.  A follow-up pull will eventually
come to complete the description coverage.
2015-04-01 10:23:09 +11:00
Ben Lubar e657a05ca1 ban-cooking script
ban-cooking booze  - bans cooking of drinks
ban-cooking honey  - bans cooking of honey bee honey
ban-cooking tallow - bans cooking of tallow
ban-cooking oil    - bans cooking of oil
ban-cooking seeds  - bans cooking of plants that have seeds (tree seeds
don't count)
2015-03-28 13:09:35 -05:00
scamtank 9a661e1481 Extend fix/blood-del to include tears and sweat
This version of blood-del.lua will catch the new bodily emissions too, mostly from gremlins or gnomes.
2015-03-22 14:24:51 +02:00
lethosor 83e175f52b Fix syntax error in devel/light.lua 2015-02-23 18:57:50 -05:00
Lethosor e9cc242322 Merge pull request #555 from lethosor/travis
Add .travis.yml and fix whitespace issues
2015-02-16 17:05:29 -05:00
Lethosor d14a8b4308 Convert TranslateName output to UTF-8 2015-02-16 13:55:19 -05:00
lethosor 10cfef0553 Fix whitespace issues 2015-02-14 22:53:06 -05:00
lethosor 57bdf731f0 Merge branch 'export-more-legends' into develop 2015-02-12 19:01:05 -05:00
lethosor c39d3165eb Use consistent indentation 2015-02-12 19:00:41 -05:00
PeridexisErrant 62bec962f8 Standard function definition syntax 2015-02-13 10:08:44 +11:00
Peridexis Errant 74476bcd95 fix whitespace
PSA:  do not assume that it's the same as last time you checked.
2015-02-12 16:14:25 +11:00
lethosor 3411704140 Merge remote-tracking branch 'Putnam3145/patch-12' into develop
Conflicts:
	NEWS
2015-02-11 23:18:54 -05:00
Putnam3145 38fbf67262 Make skill-change actually work with level
It was trying to set the level to the string "Proficient" instead of 5, same for every other skill level. There was no workaround, especially since it expected numbers for the value.
2015-02-11 16:08:23 -08:00
PeridexisErrant f67370b817 exportlegends - more data in legends_plus.xml
Originally written by Mason11987, adapted and included with permission.
2015-02-12 09:39:56 +11:00
Ben Lubar ea74e1252a fix attribute-changing syndromes in show-unit-syndromes 2015-02-08 13:55:39 -06:00
lethosor 7823a14a8f Merge remote-tracking branch 'Putnam3145/patch-10' into develop
Conflicts:
	NEWS
2015-02-06 17:08:00 -05:00
Lethosor 8bc9bcfcb1 Merge pull request #533 from Putnam3145/patch-11
Added subthought properly to add-thought.
2015-02-06 16:58:40 -05:00
Putnam3145 ac318aaee8 Added subthought properly to add-thought.
Not used much, but still very much a problem that it wasn't there.
2015-02-06 13:52:56 -08:00
Putnam3145 674b9dd5a9 Made hack-wish stack properly. 2015-02-05 00:25:05 -08:00
Lethosor bcfff161e7 Rename ShowUnitSyndromes.rb to show-unit-syndromes.rb 2015-02-03 21:25:43 -05:00
Ben Lubar 02a14c6b57 fix ShowUnitSyndromes 2015-02-03 20:05:33 -06:00
Lethosor 7aa82fdbdb Merge pull request #527 from warmist/gm-editor
Add search bar to gui/gm-editor
2015-02-03 12:29:01 -05:00
Warmist ab14eae76c LEAVESCREEN now exits out of search too. 2015-02-03 19:17:33 +02:00
expwnent def4fca175 Tweak anonymous-script. 2015-02-02 05:21:13 -05:00
expwnent 0fa316f6eb Tweak reaction-product-trigger. 2015-02-02 05:20:59 -05:00
expwnent e5e0d93ef1 Added modtools/reaction-product-trigger. 2015-02-02 02:39:05 -05:00
Warmist c56d928dae Update search bar after browsing. 2015-02-01 20:07:28 +02:00
Warmist 570381f059 Added search. Access with "s". 2015-02-01 19:58:49 +02:00