mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-07-12 08:36:00 +01:00
Spray cans contain flammable solvents
Also, spraying someone will stun them even if they lack a client.
This commit is contained in:
@@ -195,15 +195,22 @@
|
||||
if(C.client)
|
||||
C.blur_eyes(3)
|
||||
C.blind_eyes(1)
|
||||
if(C.check_eye_prot() <= 0) // no eye protection? ARGH IT BURNS.
|
||||
C.confused = max(C.confused, 3)
|
||||
C.Weaken(3)
|
||||
if(C.check_eye_prot() <= 0) // no eye protection? ARGH IT BURNS.
|
||||
C.confused = max(C.confused, 3)
|
||||
C.Weaken(3)
|
||||
if(ishuman(C))
|
||||
var/mob/living/carbon/human/H = C
|
||||
H.lip_style = "spray_face"
|
||||
H.lip_color = paint_color
|
||||
H.update_body()
|
||||
// Caution, spray cans contain inflammable substances
|
||||
if(C.reagents)
|
||||
C.reagents.add_reagent("welding_fuel", 5)
|
||||
C.reagents.add_reagent("ethanol", 5)
|
||||
C.reagents.reaction(C, VAPOR, 10)
|
||||
|
||||
uses = max(0,uses-10)
|
||||
|
||||
if(istype(target, /obj/structure/window))
|
||||
if(uses)
|
||||
target.color = paint_color
|
||||
|
||||
Reference in New Issue
Block a user