Commit Graph

213 Commits (9d706854bcb554b427904f7802a1ab2d1cc548f4)

Author SHA1 Message Date
warmist b6f48e088a Create gm-unit.lua
A gui util to (eventually) user friendly edit any unit.
2015-07-25 15:16:30 +03:00
lethosor 726ffd6417 gm-editor: Define some aliases for useful variables 2015-07-24 13:59:19 -04:00
lethosor 01c4d4540b Add a gui/hack-wish alias for gui/create-item 2015-06-23 11:27: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
lethosor 7baf581b93 Make gui/gm-editor work with lua tables 2015-05-24 11:43:05 -04: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 10cfef0553 Fix whitespace issues 2015-02-14 22:53:06 -05:00
Putnam3145 674b9dd5a9 Made hack-wish stack properly. 2015-02-05 00:25:05 -08:00
Warmist ab14eae76c LEAVESCREEN now exits out of search too. 2015-02-03 19:17:33 +02: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
expwnent a78d4cc5f0 Merge pull request #488 from warmist/advfort
Update advfort.lua
2015-01-15 22:49:17 -05:00
warmist f510cd7c11 Update advfort.lua
Fix bug with building jobs
2015-01-13 10:30:53 +02:00
lethosor f0e7d2b895 Merge remote-tracking branches 'warmist/advfort', 'Putnam3145/patch-8', 'AndreasPK/master' and 'PeridexisErrant/fix-exportlegends' 2015-01-05 16:19:52 -05:00
Warmist 651a8ab497 fixed crashing bug. 2014-12-17 23:05:48 +02:00
Warmist e22c3b099b New and improved. Fixed bugs, now work gets done automatically. 2014-12-12 10:32:22 +02:00
Warmist 550cddc604 Gui for item selection in advfort 2014-12-10 00:09:28 +02:00
Warmist f47565465e more fixes, improvements 2014-12-08 22:19:22 +02:00
Putnam3145 17772954cc Made restrictive mat filter work properly
Yeah, not sure what the heck I was doing there before.
2014-12-07 21:04:39 -08:00
Warmist f84a5dbce1 Fixed a bug where it does not find building ref. 2014-12-08 00:55:46 +02:00
Warmist 05887ffdb8 Fixed advfort somewhat: now it teleports items so you can build/craft stuff. 2014-12-07 22:21:19 +02:00
Warmist c1da5e2741 Removed (for now) all the cruft involving item selection gui. Added unit_action for adventurer to perform work. 2014-12-07 22:21:18 +02:00
Casey Link 52f4cb3fc1 stockpiles: load prompt uses typing + filtering 2014-12-05 14:49:40 +01:00
Casey Link 332566f6a1 stockpiles: disable gui/script when plugin is disabled 2014-12-05 13:27:58 +01:00
Casey Link 1f1780cae9 stockpiles: fix usage help 2014-12-05 12:35:24 +01:00
Casey Link b6118d272c stockpiles: integrate gui plugin into dfhack.init-example 2014-12-05 12:35:24 +01:00
Putnam3145 a30780420b Removed hackwish crash.
It's mostly a user error issue, but it is certainly not one that's hard to come across.
2014-09-08 17:00:49 -07:00
Putnam3145 baeb894502 Made hack-wish work properly. 2014-08-29 18:43:22 -07:00
expwnent 59e6607d8c Merge remote-tracking branch 'warmist/dev_building_hacks' into develop 2014-08-16 10:26:24 -04:00
Warmist 6868cab1fe Exposed dfhack.jobs.linkIntoWorld. Simplified eventful and gui.dwarfmode for sidebar use/creation. 2014-08-16 16:58:01 +03:00
expwnent c5fb4c1260 Update hack-wish. 2014-08-16 08:45:49 -04:00
Quietust d6162cd189 death_info -> incident 2014-07-29 16:26:14 -05:00
expwnent a8f810cc3b Lots of tweaks. 2014-07-09 06:21:52 -04:00
expwnent 0a16bc2e12 Merge remote-tracking branch 'origin/perSaveScripts' into scriptOrganization
Conflicts:
	plugins/CMakeLists.txt
2014-07-07 09:01:07 -04:00
Alexander Gavrilov 8a3050a1c0 Notify the user when dfhack.init is missing, and fall back to example. 2014-06-28 17:08:14 +04:00
expwnent 0f5bbd5631 Reorganized scripts folder. Deleted digmat.rb because it's redundant with digSmart and it has a higher FPS impact. 2014-06-27 03:46:22 -04:00
Warmist 49bbd41bc3 Added a way to change the mod install directory (and changed the default to hack/mods) and added simpler way to add to init.lua 2014-06-02 17:57:59 +03:00
Alexander Gavrilov ae8d630cfa Merge remote-tracking branch 'warmist/dev-rendermax' into develop 2014-05-11 15:44:29 +04:00
Alexander Gavrilov 13584f08c5 Merge remote-tracking branch 'warmist/dev-buildings' into develop 2014-05-04 19:52:01 +04:00
Warmist 9733b30ed6 gui/gm-editor: Fixed enum editing. And added free pointer/reinterpret options 2014-05-01 10:59:21 +03:00
Warmist 401c8f3026 gm-editor: Added enum printing and selection.
gm-editor: a bugfix for some entries not having fields
2014-05-01 10:59:21 +03:00
warmist fccdbb010d Update mod-manager.lua
Fixes fileExists not working.
2014-04-08 09:07:49 +03:00
Alexander Gavrilov ec14b2d1e9 Merge remote-tracking branch 'warmist/dev-modmanager' into develop 2014-03-24 20:07:02 +04:00
Alexander Gavrilov dde0f194e8 Add a script that clones the currently selected military uniform.
To be precise, it applies to the entity uniform templates, not
uniforms for specific squad positions.
2014-03-24 19:39:34 +04:00
Warmist 64ff24f27f Added building filter to advfort. 2014-03-07 19:58:21 +02:00
Warmist a52451a97a eventful: added support for custom workshops and a convenience function to interpose side panel generation 2014-03-07 19:41:50 +02:00
Alexander Gavrilov ef93f2ea4c Compute quality of siege engines and use it to extend firing range.
Since parts aren't there until it is built, it requires checking that.
2014-03-07 17:34:21 +04:00
Warmist b030548156 Added directory listing to lua api (internal category).
added mod manager and updated readme/news
2014-03-04 18:01:44 +02:00
Petr Mrázek f5ef1464d8 Merge https://github.com/warmist/dfhack 2013-04-24 17:38:47 +02:00
Robert Heinrich 024a3d766b Added some more commands to autobutcher UI script.
Changed autobutcher behavior a bit:
now protected units count towards the target quota,
units available for adoption are considered as protected.
Added filters for caged, male and female to assignement UI
for cages, pastures and pits.
2013-04-24 23:37:05 +12:00
Robert Heinrich fd265b37d6 Added lua GUI front-end for autobutcher. 2013-04-24 23:37:05 +12:00
Warmist 5cce67eca7 changed weapon skill check. Might allow tools too? 2013-03-21 11:50:14 +02:00
Warmist 216cc7f1e9 Carving of tracks added. 2013-03-19 21:49:35 +02:00
Warmist 3ed5f06f49 Fix for eventful and a advfort not to show worn items. 2013-03-09 12:54:07 +02:00
Warmist 5be2ecb080 advfort.lua: added BuildLast for mass building of e.g. walls etc. 2013-03-06 00:22:59 +02:00
Warmist 54046c74da advfort: added site name display. 2013-03-03 17:33:07 +02:00
Warmist e707d4552f advfort.lua: small bugfix for butcher. 2013-02-05 07:21:44 +02:00
Warmist 99ec3d9841 gm-editor: Fixed bug with arrays with number indexes. 2013-01-13 22:07:10 +02:00
Warmist 87d79b1119 advfort: is sand bearing fix for glass making, is corpse fix for butchering (todo dissasemble and see how it works really) 2013-01-06 18:58:58 +02:00
Warmist 4d731d0c28 advfort:
added buildings with width/height/direction (TODO better gui)
added farming (planting/harvesting)
added clean job
2013-01-05 01:41:44 +02:00
Warmist 8ffafd8a26 advfort:
reverted to old way of reseting the menu, added setup for race/civ/group ids and main.fortress_entity.
2013-01-04 00:48:24 +02:00
Warmist 179c7ae32a advfort:
reset using df button.
2013-01-03 23:53:42 +02:00
Warmist e3ca612ed5 many improvements to advfort:
fixed being able to engrave soft materials, started using ui_buttons for better workshop functionality, started working on manual item assignment
2013-01-03 23:21:57 +02:00
Warmist 4af6b728b7 Small fix to gm-editor. Added proj_itemst and proj_unitst to eventful. Now you can make custom projectiles (e.g. rockets?) 2012-12-15 13:27:16 +02:00
Warmist bd4f49598d Yet again forgot to disable debug spam. 2012-12-10 07:23:05 +02:00
Warmist bd368ea81c Added check for reaction class items 2012-12-10 00:14:05 +02:00
Warmist ff4278d04e Removed debug spam, added support for "HAS_MATERIAL_REACTION_PRODUCT" type reactions. 2012-12-09 23:07:13 +02:00
Warmist 6c4f163a5e Merge branch 'master' of https://github.com/angavrilov/dfhack
Conflicts:
	NEWS
2012-12-09 14:25:31 +02:00
Warmist 4f5fdebbe9 furnaces added and custom reactions. 2012-12-09 00:53:03 +02:00
Warmist c174998fec Advfort: added ability to put items on table or in buildings that can hold them. 2012-12-06 18:27:54 +02:00
Warmist 3bce3838af Advfort now supports workshops and siege weapons >:) 2012-12-03 21:49:17 +02:00
Warmist d9a5eefb9a gm-editor fix: cursor remembers its position. 2012-12-03 21:48:23 +02:00
Warmist 92503db505 Sanity check before showing gui. 2012-12-01 18:42:23 +02:00
Warmist 397fdb00ae Work started on adventurer workshops. 2012-12-01 18:20:27 +02:00
Alexander Gavrilov 58239e97ed Implement the history graph in the workflow status screen. 2012-12-01 16:50:03 +04:00
Alexander Gavrilov 0bfe006016 Try to reimplement the inventory monitor by falconne in lua.
For no other reason than to provide a complete example of lua
interface for a native plugin :)

TODO: paint the graph in the right pane.
2012-11-30 19:10:17 +04:00
Warmist 0fb5ad7729 Some readme and bugfixes 2012-11-30 01:17:01 +02:00
Warmist c31b320722 Building now respects required items. 2012-11-30 00:02:03 +02:00
Warmist 49de3fe237 Removed spam yet again... 2012-11-29 20:50:02 +02:00
Warmist 471d15ba4c New building selection dialog. 2012-11-29 20:49:16 +02:00
Warmist 346b402a0f Allow look up/down, unsuspend job if pressing wait with job. 2012-11-29 18:49:36 +02:00
Warmist f617d2844b Fixed look exit and allow skip messages 2012-11-29 18:33:04 +02:00
Warmist 3858fb320d in Advfort- splint removeconstruction into building/construction removal. 2012-11-29 17:50:22 +02:00
Warmist 5b53f07905 Real construction removal added. 2012-11-29 17:24:45 +02:00
Warmist 2d4fc739ed Removed console spam 2012-11-29 17:16:58 +02:00
Warmist 7f23c1f55f Added ability to look in advfort, moved to tiletypes and fixed most of predicates 2012-11-29 17:16:32 +02:00
Alexander Gavrilov 5ea26d9cae Only show the advanced new constraint dialog on Shift-Enter.
Upon reflection it is a bit too scary to be always shown.
2012-11-29 16:27:51 +04:00
Warmist 364dd01142 Allowed moving up/down in advfort, now correctly checks for main weapon. 2012-11-29 12:41:27 +02:00
Warmist 57b69da1f0 Merge branch 'master' of https://github.com/angavrilov/dfhack 2012-11-29 12:13:28 +02:00
Warmist f4d048526a Moved advfort to gui subfolder 2012-11-29 12:10:25 +02:00
Warmist 028b535598 removed used minw for labels 2012-11-29 11:13:26 +02:00
Warmist fe2fbe347c Added advfort script, now you can have adventurer forts!!!!! 2012-11-29 02:26:10 +02:00
Warmist 01966167f6 gm-editor updated to use widgets. 2012-11-28 21:13:42 +02:00
Warmist 3964c8a581 gm-editor, set field to lua return value. 2012-11-28 17:40:37 +02:00
Alexander Gavrilov f587d603e8 Allow the workflow goal gap in any range between 1..goal-1 2012-11-19 18:59:58 +04:00
Warmist 66257cf24d gm-editor now features alt+o to show field offset 2012-11-18 01:48:02 +02:00