Macro-ize some helpers, character preview optimize (#14354)

This commit is contained in:
Wildkins
2022-07-01 06:40:30 -04:00
committed by GitHub
parent 4eb931cb81
commit bf81e76592
12 changed files with 41 additions and 84 deletions
@@ -16,7 +16,7 @@
spawn(extra_delay)
spawn(200)
if(prob(10+extra_delay))
set_light(10, 10, "#[num2hex(rand(64,255))][num2hex(rand(64,255))][num2hex(rand(64,255))]")
set_light(10, 10, "#[num2hex(rand(64,255), 0)][num2hex(rand(64,255), 0)][num2hex(rand(64,255), 0)]")
spawn(210)
..()
playsound(src.loc, 'sound/effects/bang.ogg', 50, 1, 5)