Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  
Pages: 1 ... 4 5 [6]

Author Topic: [DFHack] AutoSyndrome/etc and Registration  (Read 12311 times)

Roses

  • Bay Watcher
    • View Profile
Re: [DFHack] AutoSyndrome/etc and Registration
« Reply #75 on: July 30, 2014, 02:01:42 pm »

I don't really think its much more work, all you would need is to put this
Code: [Select]
modtools/reaction-trigger -reactionName LUA_HOOK_BLAH -command [ whatever-your-current-lua-script-is-called ]and that would do the exact same thing as your current script (with a little bit of rewrite from your current LUA_HOOK script, but only about 2 minutes of work. Then you gain
1. Reactions not needing products
2. Reactions can have multiple products
3. You can pass arguments to your scripts without needing to read them from somewhere else
4. You can use multi-cmd or other scripts to provide additional options

The only thing that it doesn't have right now (which expwnent is working on) is grabbing the items used in the reaction (which is a big thing I know, but hopefully it can be added).
Logged

Roses

  • Bay Watcher
    • View Profile
Re: [DFHack] AutoSyndrome/etc and Registration
« Reply #76 on: August 16, 2014, 11:27:10 am »

Is the updated version of DFHack for .40.X going to be this new system or the old system?
Logged

expwnent

  • Bay Watcher
    • View Profile
Re: [DFHack] AutoSyndrome/etc and Registration
« Reply #77 on: August 17, 2014, 01:40:23 am »

A lot of it's the new system, but there are a lot of old scripts lying around that have their own weird ways of processing input.
Logged

Roses

  • Bay Watcher
    • View Profile
Re: [DFHack] AutoSyndrome/etc and Registration
« Reply #78 on: August 19, 2014, 02:33:06 pm »

But my updated scripts should run just fine?
Logged

expwnent

  • Bay Watcher
    • View Profile
Re: [DFHack] AutoSyndrome/etc and Registration
« Reply #79 on: August 19, 2014, 09:06:58 pm »

The ones that worked in r5e1 should still work.
Logged
Pages: 1 ... 4 5 [6]