Suggestion for aEquipConditions

3 posts / 0 new
Last post
#1
Suggestion for aEquipConditions

Right now, aEquipConditions works by applying a condition to an item when equipped and removing said condition when not. But when used to apply a condition in "negative" and that item is then removed, it will add the condition it was removing... permanently.

It would be quite handy to have a way to make this other option temporary, like when you use conditions with no - in them. This could be used in a number of features... like for instance, making glasses that temporarily remove Myopia when equipped.

Pew pew pew!

That would be handy :) Eyeglasses have been on my list, too, and this is one of the obstacles delaying them.

Barefoot actually does things the same way, but since all characters have barefoot, removing the shoes works as expected. The problem here is that myopia is optional, so the glasses restoring myopia only makes sense when the player already had it.

In some cases, I've been able to do some tricky things with "heartbeat" conditions. That is, conditions which have a short duration but then re-add themselves and another condition each time. This can be used to both add and remove conditions periodically. The drawback is that effects can sometimes be delayed, since it relies upon a turn ending.

In any case, I agree that this would be beneficial. I just hadn't gotten around to it yet. How would the syntax work in such a case? How would you specify that you want this behavior, and not the normal +/- behavior?

Dan Fedor - Founder, Blue Bottle Games

Hmmm... what about adding something like aEquipConditionsOpt right after aEquipConditions, in which 0 is the normal behavior and 1 is the one that avoids adding the +condition in case we are using a -condition?

I imagine it wouldn't work when it's the other way around since I think a +condition in aEquipConditions does not turn into a -condition when the item is removed, it just disappears, right?

Pew pew pew!