I really like the look of this package and have decided to play around with it some more. I have just a small issue, though. I am declaring all my namespaces on the sysLoadEvent event, although the queue system fails to initialise until I click the script. I created a queue called balQueue like your suggestion above, although in system load, this variable is nil. I have a test alias that contains:
Code: Select all
balQueue:add( {code = "touch cloak", required = "daze.balances.physical.state",
consumed = "daze.balances.eq.state"} )
Also, if you might explain the reasoning behind using "balQueue" also? Will I also need an "eqQueue" ? - It's a tad confusing especially when the function can be passed args to declare whether these are required/expended.
Finally, how would one go about adding multiple balance requirements to the queue?
It tried:
Code: Select all
balQueue:add( {code = "touch cloak", required = "daze.balances.physical.state", "daze.balances.eq.state", consumed = "daze.balances.eq.state"} )
Many, many thanks on such a great queue system. It's really nice not having to write such a convoluted thing.
Regards,
Martin.