Commit Graph

567 Commits (4fc6cb6f175aebc96bf7ec4629a90cd05b71e8ee)

Author SHA1 Message Date
lethosor d7b1714a6c gui/create-item: Improve quality assignment and make "Esc" work 2015-08-02 10:07:57 -04:00
lethosor 726ffd6417 gm-editor: Define some aliases for useful variables 2015-07-24 13:59:19 -04:00
lethosor 4a6bde35ab Only display names of levers with names 2015-07-15 16:19:58 -04:00
Michon van Dooren 237ce2c539 Extended lever.rb a bit
Added names to the lever list, and `lever pull` without any arguments now pulls the lever under the cursor.
2015-07-15 16:02:23 -04:00
lethosor 01c4d4540b Add a gui/hack-wish alias for gui/create-item 2015-06-23 11:27:43 -04:00
lethosor 66525ee92d fix-ster.lua: Improve style and fix handling of units with no souls
* Remove unnecessary "return" statements
* Use s:foo() instead of string.foo(s)
* Allow use as a module

Fixes #645
2015-06-22 23:39:43 -04:00
Putnam3145 4d20552ef8 Rename gui/hack-wish to gui/create-item
After an [extensive, in-depth discussion about the merits of the name](https://github.com/DFHack/dfhack/issues/634), I decided that "hack-wish" was a dumb name and figure changing it will make everything easier for everyone forever.
2015-06-13 02:41:51 -07:00
Lethosor 67203e1ddd Merge pull request #635 from warmist/patch-2
gui/gm-editor changes
2015-06-12 20:55:20 -04:00
warmist 00251386f5 fix spelling mistake 2015-06-13 00:02:12 +03:00
warmist a8a3153de6 gui/gm-editor changes
Add label to show that you can actually (s)earch through lists. Add "]" to displace references (e.g. map blocks and stuff) - will crash stuff you don't know what you are doing.
2015-06-12 23:55:55 +03:00
scamtank 64c92802c2 String.find(k) into k:find
Looks neater already.
2015-06-12 03:22:05 +03:00
scamtank 01a3ed627f Just delete the thing
If there's need for the DRINK_MAT thing again, it's no big deal to write it back.
2015-06-12 00:53:49 +03:00
scamtank d049f79d08 Make second function do what the first won't
Dummy out the DRINK_MAT lookup in the first one to stop the overlap, make the second one look up all the stuff that the first one expects to find with material reaction product tokens.
2015-06-12 00:10:50 +03:00
Lethosor 20bd56e7f4 Merge pull request #627 from scamtank/scam-viewiteminfo
Fixed elasticity descriptions
2015-06-05 16:04:43 -04:00
scamtank 8336e831d2 Fixed elasticity descriptions
Previous order of comparisons would describe any amount of strain at yield below 50000 as "elastic". Flip the order of checks and it works as intended. Seems like a simple mistake, I don't think this'll break anything else.
2015-06-05 19:59:28 +03:00
scamtank 01ee8b97b2 Add format guide to item-descriptions.lua
Including a short list of the screen's limitations would be a good idea, I think.
2015-06-05 18:24:02 +03:00
Peridexis Errant 942f451358 Finish item descriptions, test, document 2015-05-30 17:11:00 -04:00
Peridexis Errant b86214e0e1 Final item descriptions 2015-05-30 17:10:59 -04:00
Peridexis Errant 9dcc49aec5 Descriptions - nine weapons and tools to go 2015-05-30 17:10:59 -04:00
Peridexis Errant 0b0fd18c31 Yet more descriptions - 30 to go 2015-05-30 17:10:59 -04:00
Peridexis Errant e58ab09d86 More descriptions
Just 40 items to go - all subtypes of shield, weapon, tool, helm, or
gloves!
2015-05-30 17:10:59 -04:00
Peridexis Errant 5d4bccb800 List wesQ3 as contributor 2015-05-30 17:10:58 -04:00
Wes Malone 07ed843737 Describe wood, table, quern, millstone 2015-05-30 17:10:55 -04:00
Peridexis Errant bec0150669 Many more descriptions - 54 to go! 2015-05-27 09:31:04 +10:00
Peridexis Errant de2724062d Several more descriptions 2015-05-26 23:55:18 +10:00
Peridexis Errant e929760f6b Described jewelery 2015-05-26 21:09:59 +10:00
Peridexis Errant 711a817e88 Added some more descriptions
Thanks to /u/Puffin4Tom and /u/KroyMortlach
2015-05-26 20:58:16 +10:00
Peridexis Errant 3bd258816f Merge branch 'develop' of https://github.com/DFHack/dfhack into describe-items 2015-05-26 17:28:29 +10:00
Peridexis Errant 1ad5fda6b4 Finish item-descriptions.lua templating 2015-05-26 17:27:58 +10:00
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