I.e
mob
step_size = 5
var
changed = 1
notChanged = 1
New()
changed = 5
The way savefiles work, they automatically skip any var that is either tmp, or the same as the initial value, so if I saved this mob, step_size and changed would be added to the savefile, however if I use initial() on step_size, it'll return 5, and not the compiler default.
The reason I ask is I want to be able to modify a savefile to create hashes at runtime, and I'm going to split the savefile into a list and parse it, compare it against everything in mob.vars, and if it isn't initial (aka if it's queued for saving), create an additional entry in the savefile for the hash.
The problem is that step_size wouldn't be caught by initial(), but it would be saved. Not sure if it's possible, and if not I'll create a feature request.