Hi!
I am talking about the Lua API and am suggesting a small change.
A node definition can contain the field “damage_per_second”. If specified, the node will damage any player in this node by this number. However, this number can only be non-negative.
If I specify a negative value, I just instantly die. I guess this is because of a “wrap-around” and I get the maximum possible damage.
This is rather useless, since already a value of 20 is a quick kill, so the highest values will probably not be used.
Therefore, I suggest to actually allow negative numbers and use them for healing. So a value of -5 means you get healed by 5 HP per second. It also makes more sense, a damage of -5 equals a healing of +5. In practice, I don’t think this change would break any existing mods, because using a value larger than 20 is already overkill.
This small change would be actually pretty useful for many mods, I guess.