Quietust
8769af8935
Merge branch 'develop' of https://github.com/expwnent/dfhack into develop
2014-10-31 13:34:20 -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
Eric Wald
5d53163e16
Repairing drain-aquifer layer counting.
2014-10-12 22:28:23 -06:00
Eric Wald
b0b1dd62d1
Rewriting the drainaquifer script
...
The original drainaquifer script could occasionally fail to notice aquifer layers if they happen to skip each of the special tiles that it checks, two per block. It also left the block-level aquifer flags set, which seems like a minor waste of FPS.
The new script uses the block-level flags to determine which blocks to check, which seems to be both more correct and faster. It's also written in Lua instead of Ruby, for clarity and ease of debugging. The name has changed slightly to prevent problems if both scripts are installed for some reason.
2014-10-12 21:55:36 -06:00
expwnent
0df2d71506
Fix repeat.lua documentation.
2014-10-04 21:52:28 -04:00
Mchl
543ef37bf9
scripts/markdown.lua: Fix description comment so that the script isdisplayed correctly by 'ls'
2014-09-28 23:50:50 +02:00
Mchl
81d1a1c20e
scripts/markdown.lua: Added support for 'topicmeeting' screens. Added option to provide own filename. Added option to overwrite previous data.
2014-09-28 18:52:49 +02:00
Mchl
febc9d08b4
Some nonfuncitonal updates to scripts/markdown.lua: update help text, move output filename to a variable for easier modification
2014-09-27 15:24:28 +02:00
Mchl
7b6197ecbf
Update scripts/markdown.lua to work with 'announcelist' screens (most notably announcements and combat reports)
2014-09-27 14:46:38 +02:00
Mchl
e62b6e9dc8
Add scripts/markdown.lua script. Based on forum-dwarves.lua but exports to markdown (obviously for reddit)
2014-09-27 01:37:29 +02:00
Mchl
7bf46b1584
Fix scripts/forum-dwarves.lua to work with 0.40.13
2014-09-27 01:36:12 +02:00
jj
eed684a8df
fix superdwarf
2014-09-26 11:39:05 +02:00
PeridexisErrant
27ae8f2ab9
exportlegends can do site maps, IDd field
...
Expanded exportlegends.lua to handle site maps as well, and improved
precision of args. Identified `vs.anon_21`; I'm not sure what the
process is so I've used it here and noted it's discovery.
2014-09-24 21:34:09 +10:00
expwnent
f114aee758
Merge branch 'fix-exportlegends' of https://github.com/PeridexisErrant/dfhack
2014-09-16 17:13:51 -04:00
expwnent
d425c2edf9
Merge remote-tracking branch 'lethosor/lua-printall-ipairs'
2014-09-16 17:08:45 -04:00
PeridexisErrant
af79ae44c9
update exportlegends for DF40.x
...
Better code and also exports the new maps. Extending to also export
site maps would be cool eventually.
2014-09-09 17:47:26 +10:00
lethosor
fadca0aef2
Add a variant of printall() that uses ipairs
2014-09-08 20:30:22 -04: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
expwnent
4800794ba6
Merge remote-tracking branch 'dfhack/develop'
2014-09-08 13:23:28 -04:00
hobotron-df
fd657134ff
[Fix: Issue 291] bow_item_(sub)type is now shooter_item_(sub)type in history_hit_item struct.
2014-08-30 20:42:48 -05:00
Putnam3145
baeb894502
Made hack-wish work properly.
2014-08-29 18:43:22 -07:00
Eric Wald
eeb22c099d
Nitpicking log-region
...
One line was improperly indented, and a variable name no longer made sense.
2014-08-28 14:02:22 -06:00
Eric Wald
73a67b4a64
Repairing the log-region script
...
A typo was causing the gamelog to always omit the fortress group's untranslated name, while failing to fully prevent the error message caused by unloading the fortress.
2014-08-17 11:01:23 -06: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
expwnent
49f43423c8
Tweaks.
2014-08-15 09:40:49 -04:00
expwnent
ce4d1db5a0
More removing unneeded fixes.
2014-08-15 04:23:54 -04:00
expwnent
bb46ccfdf0
Fix reaction-trigger to use the right library name for syndrome-util.
2014-08-15 02:52:20 -04: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
Quietust
d6162cd189
death_info -> incident
2014-07-29 16:26:14 -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
0a16bc2e12
Merge remote-tracking branch 'origin/perSaveScripts' into scriptOrganization
...
Conflicts:
plugins/CMakeLists.txt
2014-07-07 09:01:07 -04:00
expwnent
9a17ecbf89
item-trigger typo
2014-07-07 05:52:54 -04:00
expwnent
a22f4193eb
random-trigger.lua: trigger random scripts
2014-07-06 05:33:21 -04:00
expwnent
026ef063a4
Removed spawnunit.
2014-07-06 03:03:13 -04:00
expwnent
5404b69476
Tweak repeat.lua.
2014-07-03 20:32:15 -04:00
expwnent
ec8e58e5e3
Tweak transform-unit.
2014-07-03 20:15:40 -04:00
expwnent
120d8cc6f1
Tweak syndrome-trigger.
2014-07-03 20:09:23 -04:00
expwnent
8b2208f718
Tweak skill-change.
2014-07-03 20:07:13 -04:00
expwnent
9fd5babf7c
Remove skillChange.
2014-07-03 20:03:44 -04:00
expwnent
87469c3313
skill-change.lua
2014-07-03 20:03:22 -04:00
expwnent
008c398dd5
Tweak reaction-trigger.lua.
2014-07-03 19:40:33 -04:00
expwnent
c9ac09ac48
spawn-flow.lua
2014-07-03 19:22:01 -04:00
expwnent
4be41eb1ed
projectile-trigger.lua
2014-07-03 18:28:05 -04:00
expwnent
1815b09f19
Tweak outside-only.lua.
2014-07-03 17:38:40 -04:00
expwnent
72a0a9acf2
moddable-gods.lua script
2014-07-03 17:33:38 -04:00
expwnent
83b0886296
Tweak item-trigger.lua
2014-07-03 16:57:56 -04:00
expwnent
e072f4b2db
Tweak interaction-trigger.lua
2014-07-03 16:50:35 -04:00
expwnent
2b2d397056
Tweak invader-item-destroyer.lua.
2014-07-03 16:44:34 -04:00
expwnent
84818eaa35
Tweak interaction-trigger.lua
2014-07-03 16:39:46 -04:00
expwnent
e4c449c3c2
Tweak force.lua.
2014-07-03 16:33:26 -04:00
expwnent
b817205fd6
Tweak add-syndrome, create-item.
2014-07-03 16:30:28 -04:00
expwnent
7b057629dc
Tweak anonymous-script.
2014-07-03 16:14:57 -04:00
expwnent
e28a42b848
Fixed a problem with syndromeUtil, renamed to syndrome-util, and made add-syndrome use proper conventions.
2014-07-03 15:18:00 -04:00
expwnent
85c81cc69f
modtools/transform-unit.lua warning.
2014-07-03 15:16:45 -04:00
expwnent
d6bbb6808b
item-trigger tweaks.
2014-07-03 14:38:29 -04:00
expwnent
ff71199931
modtools/invader-item-destroyer.lua: destroy invader items when they die
2014-07-03 14:37:47 -04:00
expwnent
376bcc6020
create-item script
2014-07-03 12:40:07 -04:00
expwnent
57880759e5
Add modtools/syndrome-trigger.
2014-07-03 08:58:43 -04:00
expwnent
07c5a272a3
Tweaks.
2014-07-03 08:58:20 -04:00
expwnent
91bb830127
Tweak item-trigger.
2014-07-03 08:17:17 -04:00
expwnent
e38b9c4d11
Tweaked item-trigger.
2014-07-03 08:10:55 -04:00
expwnent
09b8e9d66e
modtools/transform-unit.lua
2014-07-03 07:22:08 -04:00
expwnent
49bb468a0d
Added scripts/modtools/interaction-trigger.
2014-07-03 06:02:39 -04:00
expwnent
d048335a80
Tweaked item-trigger.
2014-07-03 06:01:58 -04:00
expwnent
ebde2c2094
Update triggers to deal with nonsilent dfhack.run_command.
2014-07-01 02:15:38 -04:00
expwnent
9a4fd03e42
added anonymous-script.lua so item/reaction-trigger commands do not have to make a file for every trigger for simple operations
2014-07-01 01:38:56 -04:00
expwnent
2ed7960f96
Tweaked utils.lua::processArgs to allow specification of a table of acceptable argument names.
2014-07-01 00:55:52 -04:00
expwnent
f4c948054e
Tweaked item-trigger.
2014-07-01 00:02:19 -04:00
expwnent
f58e659193
item-trigger: trigger scripts based on equipping items, unequipping items, and striking enemies with items. Select item by type, material, or by *contaminant* material.
2014-06-30 08:16:10 -04:00
expwnent
801d521093
reaction-trigger now uses standard args.
2014-06-30 04:29:42 -04:00
expwnent
c2890173d0
invasion-now is redundant with force, so I removed it.
2014-06-30 04:07:33 -04:00
expwnent
cd9abacf34
Made modtools/force use standard argument processing.
2014-06-30 04:06:25 -04:00
expwnent
5811f07a1f
attackTrigger -> attack-trigger
2014-06-30 03:42:56 -04:00
expwnent
1a9f9374de
attackTrigger now uses standard arguments.
2014-06-30 03:41:23 -04:00
expwnent
10c001b1f4
Moved outside-only where it belongs.
2014-06-30 03:18:12 -04:00
expwnent
0aa2dc149f
Converted outsideOnly plugin to Lua script.
2014-06-30 02:21:58 -04:00
expwnent
ed90ccf5ea
Added reaction-trigger.lua to replace autoSyndrome.
2014-06-29 06:12:54 -04:00
expwnent
a54ad7e5a0
Moved attackTrigger where it belongs.
2014-06-28 23:00:40 -04:00
expwnent
19310c32b3
Merge remote-tracking branch 'origin/scriptOrganization' into scriptOrganization
2014-06-28 22:57:47 -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
72acd7bdf6
attackTrigger: call scripts when a unit attacks another with weapons of a given type or weapons of a given material.
2014-06-28 04:39:04 -04:00
expwnent
f12aa3665b
Removed the temporary lua events because EventManager does them better.
2014-06-28 02:46:08 -04:00
expwnent
9a8b1d04fa
Added functionality to repeat.lua so that you can make the thing that's repeating not happen right away.
2014-06-27 06:23:04 -04:00
expwnent
2827861edf
Fixed minor error in growthbug.
2014-06-27 06:09:01 -04:00
expwnent
0db0244d08
Added add-syndrome script to modtools and fixed syndromeUtil so it actually works. This should make it so that event hooks only have to be able to run scripts instead of run scripts and add syndromes.
2014-06-27 05:47:52 -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
expwnent
187ce3c58b
Fixed the organization of my new lua modules. They now go in library/lua instead of where plugin lua modules go. Updated scripts accordingly.
2014-06-27 02:43:05 -04:00
expwnent
61d73cc6c2
Prevented infinite loop on incorrect syntax in repeat script.
2014-06-27 01:46:00 -04:00
expwnent
66098c2bb4
Fixed wrong documentation on repeating scripts.
2014-06-27 01:40:36 -04:00
expwnent
596ab0e1b8
Added many forum scripts, and a makeshift onReport/onStrike event that will be merged into eventful/EventManager later.
2014-06-26 08:36:57 -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
e4a6f13347
Merge branch 'cleanup-needs-porting' into develop
2014-05-12 21:56:23 +04:00
Alexander Gavrilov
a6d576961d
Merge branch 'add-exportlegends-and-logregion' into develop
2014-05-12 21:51:03 +04:00