Laser pointers, overchargeflashes, various fixes

Alcohol and thermite now flammable.  Laser pointers added!  Flash now
comes in delicious incendiary flavor.  Robot fire overlay bug fixed-ish.
Being lit on fire turns off a borg's lights but the fire still shows.
I'll take it.  Shield gens actually useable by the people they were
meant for.
This commit is contained in:
Duck-
2014-08-29 21:52:16 -04:00
parent 21f4703292
commit 83a06403dc
15 changed files with 327 additions and 22 deletions
@@ -337,7 +337,7 @@
overlays -= image("icon"='icons/mob/OnFire.dmi', "icon_state"="Standing")
if(on_fire)
overlays += image("icon"='icons/mob/OnFire.dmi', "icon_state"="Standing")
update_icons()
// update_icons()
return
/mob/living/silicon/robot/fire_act()
@@ -483,6 +483,7 @@
..(Proj)
updatehealth()
if(prob(75) && Proj.damage > 0) spark_system.start()
update_fire()
return 2
@@ -784,6 +785,7 @@
else
if( !(istype(W, /obj/item/device/robotanalyzer) || istype(W, /obj/item/device/healthanalyzer)) )
spark_system.start()
update_fire()
return ..()
/mob/living/silicon/robot/attack_alien(mob/living/carbon/alien/humanoid/M as mob)
@@ -979,6 +981,7 @@
/mob/living/silicon/robot/proc/updateicon()
overlays.Cut()
update_fire()
if(stat == 0)
overlays += "eyes"
overlays.Cut()
@@ -1013,10 +1016,10 @@
else
icon_state = base_icon
return
/*
/mob/living/silicon/robot/proc/updatefire()
return
*
//Call when target overlay should be added/removed
/mob/living/silicon/robot/update_targeted()
if(!targeted_by && target_locked)