mob
proc
Dash_Effect(location)
var/obj/d1 = new()
d1.name = "[src] Dash Mode"
d1.icon = src.icon
d1.overlays = src.overlays
d1.dir = src.dir
d1.loc = location
d1.icon -= rgb(120,120,120,160)
spawn(5) del(d1)
mob
verb
Dash()
set hidden = 1
usr.dashing = 1
step(usr,usr.dir)
usr.Dash_Effect(usr.loc)
Problem description:
Well since im not good at iconing can someone help me with creating a code that save the modified state into my icon with a different state name.
Because if i use d1.icon -= rpg(120,120,120,160) it makes lag when someone uses dash