POLARIS: 3000% human/update_icons() improvement

Using overlays in lists and a mutable_appearance
This commit is contained in:
Arokha Sieyes
2018-01-15 21:39:47 -05:00
parent 60c07e348b
commit 10aabd98da
39 changed files with 216 additions and 149 deletions
+2 -2
View File
@@ -50,7 +50,7 @@
user.visible_message("<span class='notice'>[user] does their lips with \the [src].</span>", \
"<span class='notice'>You take a moment to apply \the [src]. Perfect!</span>")
H.lip_style = colour
H.update_body()
H.update_icons_body()
else
user.visible_message("<span class='warning'>[user] begins to do [H]'s lips with \the [src].</span>", \
"<span class='notice'>You begin to apply \the [src].</span>")
@@ -58,7 +58,7 @@
user.visible_message("<span class='notice'>[user] does [H]'s lips with \the [src].</span>", \
"<span class='notice'>You apply \the [src].</span>")
H.lip_style = colour
H.update_body()
H.update_icons_body()
else
user << "<span class='notice'>Where are the lips on that?</span>"
@@ -90,7 +90,7 @@
else
if (M.ear_damage >= 5)
M << "<span class='danger'>Your ears start to ring!</span>"
M.update_icons()
M.update_icons() //Forces matrix transform to proc if they are now laying, I guess?
/obj/item/weapon/grenade/flashbang/Destroy()
walk(src, 0) // Because we might have called walk_away, we must stop the walk loop or BYOND keeps an internal reference to us forever.