fixes lack of proper onfire states for paper (#8260)

so apparently i missed this while testing the cigpaper PR
burning crumpled paper shows uncrumpled paper.

I added some missing sprites for it.
This commit is contained in:
Wowzewow (Wezzy)
2020-02-17 01:27:53 +08:00
committed by GitHub
parent 850dc38f1d
commit 59119fd3d0
4 changed files with 45 additions and 1 deletions

View File

@@ -330,7 +330,10 @@
user.visible_message("<span class='[class]'>[user] holds \the [P] up to \the [src], it looks like \he's trying to burn it!</span>", \
"<span class='[class]'>You hold \the [P] up to \the [src], burning it slowly.</span>")
playsound(src.loc, 'sound/bureaucracy/paperburn.ogg', 50, 1)
flick("paper_onfire", src)
if(icon_state == "scrap")
flick("scrap_onfire", src)
else
flick("paper_onfire", src)
//I was going to add do_after in here, but keeping the current method allows people to burn papers they're holding, while they move. That seems fine to keep -Nanako
spawn(20)