I'm ready to use reaction-trigger instead of autosyndrome now. But I cant find a readme anywhere. Searching the dfhack thread for reaction-trigger doesnt show any examples, the dfhack readme only has 2 lines on it, modtools/reaction-trigger -help doesnt show anyhing useful, and I dont know which mods might use it to copy examples from.
Could anyone care to elaborate the use?
I read through all of this:
http://www.bay12forums.com/smf/index.php?topic=139781.0 but it really doesnt help.
Edit: Here an example:
[REACTION:STUDY_LIBRARY_POTASH_MAKING]
[NAME:Study Potash Making - Lvl 5]
[BUILDING:LIBRARY_OF_MIND_AND_BODY:CUSTOM_NONE]
[PRODUCT:0:1:BOULDER:NONE:INORGANIC:LIBRARY_POTASH_MAKING][SKILL:KNOWLEDGE_ACQUISITION]
[INORGANIC:LIBRARY_POTASH_MAKING]
[USE_MATERIAL_TEMPLATE:STONE_VAPOR_TEMPLATE]
[STATE_NAME_ADJ:ALL:Knowledge]
[MATERIAL_VALUE:0]
[SYNDROME]
[SYN_CLASS:\AUTO_SYNDROME]
[SYN_CLASS:\COMMAND]
[SYN_CLASS:librarytrain4] => script name. I got one for each level, 1-15.
[SYN_CLASS:\WORKER_ID]
[SYN_CLASS:POTASH_MAKING]
[SYN_CLASS:4]
How would that look in registration?
I'm getting this far:
Reaction:
[REACTION:STUDY_LIBRARY_POTASH_MAKING]
[NAME:Study Potash Making - Lvl 5]
[BUILDING:LIBRARY_OF_MIND_AND_BODY:CUSTOM_NONE]
No Inorganic.
Create a onLoad.init in DwarfFortress/Raw folder.
Add this line to onLoad.init:
modtools/reaction-trigger -reactionName STUDY_LIBRARY_POTASH_MAKING -command librarytrain4 POTASH_MAKING 4 -target \WORKER_ID
Where do I put the usual commands? or is it
modtools/reaction-trigger -reactionName STUDY_LIBRARY_POTASH_MAKING -command librarytrain4 -target \WORKER_ID POTASH_MAKING 4
?
Edit: Just to make myself abundantly clear: This. This is the reason I have stopped modding for 6 months. The lack of AutoSyndrome, SyndromeTrigger and ProbabilitySyndrome. Not the vanilla DF updates.