bordemstirs
Member
For things like eat, drink, use_skill, it would be nice if ASH was provided some way to find out, in the case of a failure, -why- it failed.
Changing the result type to string would be icky, integer seems easiest to change, but would require knowing what the errors mean, but something like last_result() could give back the CLI string printed (like "Selected target is too low level.") and would allow scripters to see what's going wrong when something goes wrong.
Changing the result type to string would be icky, integer seems easiest to change, but would require knowing what the errors mean, but something like last_result() could give back the CLI string printed (like "Selected target is too low level.") and would allow scripters to see what's going wrong when something goes wrong.
Last edited by a moderator: