Commit Graph

6129 Commits (93c9a41a3a0fdf1ac3c177b9c158459a6010701a)
 

Author SHA1 Message Date
lethosor 93c9a41a3a Reimplement dwarfmonitor widgets in Lua (and improve customizability)
Widget positions and a few other options (e.g. date formats) can be
specified in dfhack-config/dwarfmonitor.json on a per-instance basis.

Related changes:
* Fixed an issue loading JSON files from Lua
* JSON files in dfhack-config (only dwarfmonitor.json currently) are
  no longer copied into the DF directory when building DFHack. This
  keeps developers' personal settings intact, but will require
  copying over changes made to DFHack's copies manually.
* Fixed incorrect config path in dwarfmonitor help
2015-06-13 21:15:43 -04:00
lethosor 06cf6530fc Merge branch 'search-noble-suggestions' into develop 2015-06-11 21:38:57 -04:00
lethosor 2d121caabc Allow searching noble suggestions in liaison meetings
Closes #622
2015-06-11 21:37:58 -04:00
Lethosor c788b175a9 Merge pull request #633 from scamtank/scam-viewiteminfo
Rebuilt missing half of plant product descriptions
2015-06-11 20:37:01 -04: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
scamtank 435178807f Merge pull request #3 from DFHack/develop
Resyncing
2015-06-11 23:33:42 +03:00
Lethosor 09db800f3d Change tabs to spaces 2015-06-11 12:50:00 -04:00
Japa eef9f49ae8 Merge branch 'develop' of https://github.com/DFHack/dfhack into develop 2015-06-11 21:51:03 +05:30
Japa cf13b677b6 Added all main tile flags to the list of sent stuff. 2015-06-11 21:49:42 +05:30
lethosor 84b0b48028 dwarfmonitor: Allow weather indicator to be configured separately 2015-06-10 23:09:01 -04:00
lethosor eabcee38e5 dwarfmonitor: Get rid of "Clear" weather indicator 2015-06-10 23:05:33 -04:00
lethosor d663784707 Detect null unit pointer in Items::createItem() 2015-06-09 14:02:42 -04:00
lethosor bb93f2e40f Fix circular lua script dependencies 2015-06-05 19:08:11 -04:00
lethosor 84d37ebfc7 Merge branch 'develop' of https://github.com/dfhack/dfhack into develop 2015-06-05 18:46:26 -04:00
lethosor 36fde3d7e3 Allow Lua screens to allow OPTIONS to work 2015-06-05 18:45:52 -04: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
Lethosor b1187439ee Merge pull request #626 from scamtank/scam-itemdescript
Add format guide to item-descriptions.lua
2015-06-05 12:57:39 -04: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
lethosor 091f53a9e1 Merge branch 'describe-items' into develop
Closes #619
2015-05-30 17:12:34 -04:00
lethosor 551e90788a Add wesQ3 to Contributors.rst 2015-05-30 17:12:20 -04: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 96f3bdafb4 Implement an internal command to interrupt running Lua scripts
This inserts a debug hook that runs every 256 instructions by
default, which has a minimal impact on performance.
2015-05-24 19:06:01 -04: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 dc58977301 Add acwatkins to Contributors.rst 2015-05-24 11:49:43 -04:00
lethosor 143cb64e5c Update NEWS 2015-05-24 11:48:05 -04:00
lethosor c5f61af172 Merge remote-tracking branch 'acwatkins/feature/fixStuckWorkflowJobs' into develop 2015-05-24 11:44:45 -04:00
lethosor 7baf581b93 Make gui/gm-editor work with lua tables 2015-05-24 11:43:05 -04:00
lethosor e27493fa02 Treat plugins without a "plugin_dev" symbol as ordinary plugins 2015-05-24 11:42:22 -04:00
Adam Watkins 772ad0372d Improved issue with workflow job being resumed but never being worked
Fixes #487

* This doesn't fix existing stuck jobs, in order to fix, remove repeat, cancel, add, repeat
* Most workshops worked great after this, however, I noticed my bone bolts and wood bolts still got stuck, not sure if it is the same issue

* The unk_v4020_1 field was not being reset to -1 when resuming the job.
* Updated to be reset only when the job is being resumed
** Setting it to -1 without checking sets this field on all workflow jobs, which causes a crash
* Made other calls to suspend call set_resumed rather than setting the suspend field

This is the behavior I saw for the unk_v4020_1 field:
Suspended jobs: -1
Jobs not in the top of the list but not suspended: -1
Jobs at the top of the list to work next, not suspended: A positive integer (priority of job?)
2015-05-22 22:26:58 -04:00
Lethosor 1bb5239e5b Merge pull request #616 from Putnam3145/patch-19
Made teleport work with cursor and handle errors.
2015-05-19 16:42:00 -04:00
Putnam3145 73527cc6eb Made teleport work with cursor and handle errors. 2015-05-19 13:18:40 -07:00
lethosor 0f1adeb3e7 Update stonesense 2015-05-17 12:47:43 -04:00
lethosor 84b2f814e8 Disable some plugin output on startup
* tweak: Log tweak changes to stderr.log instead of the console
* stockflow: Use "enable stockflow" instead of "stockflow enable"
  in dfhack.init-example
2015-05-16 18:23:02 -04:00
lethosor 6278c94775 Update xml 2015-05-16 14:27:17 -04:00