zen wrote:So far I have one story nearly done, using dse code merged into a base script.
Great. Right now, the next release is unscheduled, but if you need the fix soon for a game, let me know and I'll cut the release.
Has fairly complex pathing (lots of nested ELIF's and lots of evals to get a feel for the toolset. Don't seem to be able to evaluate multiple variables (other than depends) on one event line though. Is that possible? Something boolean like:
$ event("fit", "act == 'gym' and strength >= 70", and bmi <= 15, and appearance >= 60, event.depends('membership'), event.once())
Not sure what you mean by this. You have two choices for evaluating multiple variables. Either and them together (like you did for act and strength), or simply list them separately. All the parameters to event are implicitly anded together. So the code:
$ event("fit", "act == 'gym' and strength >= 70 and bmi <= 15 and appearance >= 60", event.depends('membership'), event.once())
is equivalent to:
$ event("fit", "act == 'gym'", "strength >= 70", "bmi <= 15", "appearance >= 60", event.depends('membership'), event.once())
Which would both seem to do what you wanted.
Anyway, don't be a stranger.