Commit Graph

75 Commits (7431329e2df547fb0cec39a5ff209e1696a369f3)

Author SHA1 Message Date
lethosor 7431329e2d New script: devel/save-version.lua 2015-12-28 17:01:47 -05:00
lethosor 9dbb5b92f9 Fix some issues in devel/export-dt-ini.lua 2015-12-28 15:55:09 -05:00
lethosor 39086acf64 Merge export-dt-ini changes from splintermind/Dwarf-Therapist 2015-12-28 15:46:42 -05:00
lethosor d087f4f741 Expose process MD5/PE to Lua (useful in export-dt-ini) 2015-12-27 14:59:18 -05:00
lethosor 7fe71c94f6 A few devel/unit-path fixes
* Handle unrecognized unit_path_type values
* Handle getSelectedUnit()
* Only zoom to path.dest if it's valid
2015-12-25 10:05:13 -05:00
lethosor 97a39e0c53 Merge branch 'develop' of https://github.com/dfhack/dfhack into develop 2015-12-19 17:09:47 -05:00
lethosor eb1ae54d63 Add ui_lever_target_type scan to find-offsets 2015-12-19 17:09:29 -05:00
Alexander Gavrilov 5eccb1ed1c Fix find-offsets for cur_year_tick on windows.
The old reference moved far away, so switch to a new one.
2015-12-19 23:03:40 +03:00
lethosor d276d4d46b Add devel/clear-script-env 2015-11-07 17:36:42 -05: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
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 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
lethosor 83e175f52b Fix syntax error in devel/light.lua 2015-02-23 18:57:50 -05:00
lethosor 10cfef0553 Fix whitespace issues 2015-02-14 22:53:06 -05:00
Lethosor 5a404333ca Update devel/export-dt-ini for 0.40.21+
https://github.com/splintermind/Dwarf-Therapist/commit/356ae80
2014-12-26 12:39:05 -05:00
Josh 5d1efa82f1 update DT scripts 2014-12-03 23:34:22 +01:00
expwnent 838bbd97f6 New devel scripts for testing interaction-trigger. 2014-11-09 18:37:11 -05:00
Lethosor ae001c60ad Update export-dt-ini.lua
From https://github.com/splintermind/Dwarf-Therapist/blob/DF2014/export-dt-ini.lua
2014-11-07 16:40:53 -05:00
Alexander Gavrilov 04ec2c9932 Update version to v0.40.14 and hack things so they compile.
Also make the find-offsets script less likely to crash if the
unit structure is misaligned and add more integrity checks.
2014-10-26 16:40:39 +03:00
Alexander Gavrilov 002bd5240b Bump version to v0.40.07 and update find-offsets to new pressure plate UI. 2014-08-11 14:14:42 +04:00
lethosor 14208577dd Display all found offsets on completion 2014-08-03 22:02:15 -04:00
Quietust 1450298484 assumed_identity -> identity 2014-07-29 16:30:22 -05:00
Alexander Gavrilov 4902c577b3 Fix some crashes when running without globals and update structures. 2014-07-24 23:10:37 +04:00
Quietust 34ce7f61de Update find-offsets, find gview properly even if INTRO is enabled 2014-07-22 16:38:18 -05:00
Quietust 9435d8f4d9 Fix crashes caused by missing globals 2014-07-21 19:14:43 -05:00
expwnent a8f810cc3b Lots of tweaks. 2014-07-09 06:21:52 -04:00
expwnent f12aa3665b Removed the temporary lua events because EventManager does them better. 2014-06-28 02:46:08 -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
Alexander Gavrilov ae8d630cfa Merge remote-tracking branch 'warmist/dev-rendermax' into develop 2014-05-11 15:44:29 +04:00
Alexander Gavrilov 6bef167f83 Add a couple of useful scripts and fix two missing NULL checks.
- A script to unstick jobs trying to build walls from the same tile.
- A devel script for viewing the path a unit is currently following.
2014-04-21 09:24:05 +04:00
Warmist 4ce951f5b9 light.lua: more help, changed screen exit key to '`'. Made it recalculate only when needed. 2014-03-07 19:58:29 +02:00
Warmist 1ce43c6cc4 Light now fallsoff according to tile contents (water for now only) 2014-03-07 19:58:29 +02:00
Warmist 446b4b9d50 New line algo for lights 2014-03-07 19:58:28 +02:00
Warmist 6e57c6446d Added light script. Can be ran with "static" to recalculate only on '~' press. 2014-03-07 19:58:26 +02:00
jj 6af362db39 add scripts/devel/spawn-unit-helper.rb 2014-01-04 01:55:48 +01:00
Alexander Gavrilov 3cfbb13afd Support arbitrary expressions in perlin noise rendering script. 2013-10-10 12:15:50 +04:00
Alexander Gavrilov ccc1d936df Add a Perlin noise test script. 2013-10-02 20:00:03 +04:00
Alexander Gavrilov e15f5c451f Fix search for cur_season_tick and cur_season in devel/find-offsets.
It seems the one-off error is a problem with the original
save I used, and not the result of some general behavior.
2013-06-20 18:18:02 +04:00
Alexander Gavrilov 21dc3afede Find cur_year_tick_advmode in devel/find-offsets.lua 2013-06-20 17:20:04 +04:00
Tareq A Khandaker 89d91eddb6 Add & correct offsets for splintermind-attributes 2013-05-11 13:08:01 -04:00
Alexander Gavrilov cafa966be4 Subtract the ASLR rebase delta in the export-dt-ini script. 2013-05-09 18:58:52 +04:00
Tareq A Khandaker 29c77ff85a Add entries to match splintermind-attributes DT
The added address/offset entries correspond to those found in the
splintermind-attributes branch of Dwarf Therapist for Dwarf Fortress v0.34.11
SDL (windows).

These entries can be found the following location:

https://code.google.com/r/splintermind-attributes/source/detail?spec=svneeeac8544d94c133ef2eb7c9a4ef8f2865906b19&r=614f1a76b56a081048626e3acaa5c87bcd313fef

under etc/memory_layouts/windows/v0.34.11_graphics.ini
2013-05-08 15:39:32 -04:00
Alexander Gavrilov c496b9f76a Translate make-dt.pl from df-structures into lua to avoid lisp dependency. 2013-05-01 14:43:00 +04:00
jj 2776123274 add scripts/devel/unforbidall and scanitemother 2013-04-08 23:16:49 +02:00
Alexander Gavrilov 10667dfb9e Make the inspect screen background look more sane on some tilesets.
Namely where ' ' is not totally transparent.
2012-12-08 14:45:17 +04:00
Alexander Gavrilov 6fd306b558 Add tiles colored separately by fg and bg in inspect-screen. 2012-12-08 09:51:09 +04:00
Alexander Gavrilov 99e9785826 Add a script for inspecting screen tile parameters. 2012-12-07 18:10:24 +04:00
Alexander Gavrilov 3a522768a2 Implement feed-based finders for the remaining applicable globals. 2012-10-03 19:07:04 +04:00
Alexander Gavrilov 33aead34b4 Implement a more automated search mode based on keys for some globals. 2012-10-02 19:53:16 +04:00