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
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
PeridexisErrant
01d302efc3
fixed whitespace again to four-space indentations
...
should have read the documentation before trying a style fix...
2014-05-12 10:34:57 +10:00
PeridexisErrant
8a488ec914
actually fixed whitespace
...
to four-space indentations. I should have read the documentation
earlier...
2014-05-12 10:32:46 +10:00
PeridexisErrant
a2f5e971e2
fixed whitespace in dfstatus script
...
all indents now use a uniform eight spaces; fixed from mix of four
spaces and tabs
2014-05-12 10:29:59 +10:00
PeridexisErrant
795325b6ef
replace all tabs with eight spaces
...
apparently an important style thing, which I missed
2014-05-12 10:22:04 +10:00
Alexander Gavrilov
ae8d630cfa
Merge remote-tracking branch 'warmist/dev-rendermax' into develop
2014-05-11 15:44:29 +04:00
PeridexisErrant
acdf90c1ba
fixed dfstatus script, readme and init entries
...
replaced magic numbers in dfstatus script with `df.item_type.TOKEN`;
added dfstatus to readme and init_example; myself to contributors list,
updated needs_porting notes and removed script
2014-05-07 12:26:18 +10:00
PeridexisErrant
26c2d0e16b
added two scripts
...
Added scripts `exportlegends` and `log-region`, including init and
readme entries. The init file now has a section for legends-mode
keybindings.
2014-05-05 14:59:59 +10:00
Alexander Gavrilov
13584f08c5
Merge remote-tracking branch 'warmist/dev-buildings' into develop
2014-05-04 19:52:01 +04:00
Alexander Gavrilov
b76ededc1b
Merge branch 'undump' of git://github.com/eswald/dfhack into develop
2014-05-04 18:32:29 +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
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
Alexander Gavrilov
ee4e3a6168
Use the new official gamelog output function in soundsense-season.
2014-04-15 19:50:23 +04:00
Quietust
22dab5d807
Update XML, fix several scripts that were broken by field name changes
2014-04-14 12:30:34 -05:00
warmist
fccdbb010d
Update mod-manager.lua
...
Fixes fileExists not working.
2014-04-08 09:07:49 +03:00
jj
47ccecc7dc
scripts/lever: allow commands without calling "list" first
2014-03-24 17:53:10 +01: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
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