I want to revert all vars on a mob to their initial value.
I tried looping thru their vars list and doing var_name=initial(var_name) on each one.
This works fine until it reaches a read-only var, then it gives an error that I can't change read-only vars, then the loop stops.
How can I skip read-only vars? I don't know of any way to differentiate between vars and read only vars.
Copyright © 2019 BYOND Software. All rights reserved.