Fixed syringes not updating. Added missing vomit sprites. Added missing syringe sprites.

This commit is contained in:
Ren Erthilo
2012-03-31 01:05:24 +01:00
parent 4c8d454a45
commit a1b235cf36
5 changed files with 6 additions and 6 deletions
+6 -6
View File
@@ -1090,20 +1090,20 @@
update_icon()
var/rounded_vol = round(reagents.total_volume,5)
overlays = null
has_blood = 0
for(var/datum/reagent/blood/B in reagents.reagent_list)
has_blood = 1
break
if(ismob(loc))
var/mode_t
var/injoverlay
switch(mode)
if (SYRINGE_DRAW)
mode_t = "d"
injoverlay = "draw"
if (SYRINGE_INJECT)
mode_t = "i"
icon_state = "[mode_t][(has_blood?"b":"")][rounded_vol]"
else
icon_state = "[(has_blood?"b":"")][rounded_vol]"
injoverlay = "inject"
overlays += injoverlay
icon_state = "[rounded_vol]"
item_state = "syringe_[rounded_vol]"
if(reagents.total_volume)
var/obj/effect/overlay = new/obj