mob
var
stat
health=new(100,100)
stamina=new(100,100)
chakra=new(100,100)
exp=new(10,0)
speed=new(7.5,7.5)
endurance=new(5,5)
strength=new(5,5)
tai=new(5,5)
nin=new(5,5)
gen=new(5,5)
taiexp=new(5,0)
ninexp=new(5,0)
genexp=new(5,0)
weight=new(1,1)
spd=new(5,0)
I want to save mob/var/stat in one F[""]>>** / F[""]<<**.
Is that possible, and how'd I do that?
I figured that:
mob/Read(savefile/F)
F["icon"]>>icon
F["overlays"]>>overlays
F["contents"]>>contents
F["name"]>>name
F["health"]>>health.value
F["maxhealth"]>>health.max_value
F["chakra"]>>chakra.value
F["maxchakra"]>>chakra.max_value
F["stamina"]>>stamina.value
F["maxstamina"]>>stamina.max_value
F["exp"]>>exp.value
F["maxexp"]>>exp.max_value
F["taiexp"]>>taiexp.value
F["mtaiexp"]>>taiexp.max_value
F["ninexp"]>>ninexp.value
F["mninexp"]>>ninexp.max_value
F["genexp"]>>genexp.value
F["mgenexp"]>>genexp.max_value
F["speed"]>>speed.value
F["maxspeed"]>>speed.max_value
F["weight"]>>weight.value
F["maxweight"]>>weight.max_value
F["endurance"]>>endurance.value
F["maxendurance"]>>endurance.max_value
F["strength"]>>strength.value
F["maxstrength"]>>strength.max_value
Lummox JR