OKAY IT WILL WORK THIS TIME I HOPE OH GOD HELP ME

This commit is contained in:
Cuboos
2016-09-26 21:23:51 -07:00
parent 475cdc8845
commit 8bcffdd908
2 changed files with 38 additions and 3 deletions
@@ -641,7 +641,7 @@ CIGARETTE PACKETS ARE IN FANCY.DM
super = 0
user << "<span class='notice'>You decrease the voltage in the [src]</span>"
add_overlay(image(icon, "vapeopen_low"))
if(screw && emagged)
user << "<span class='notice'>The [name] can't be modified!</span>"
@@ -725,13 +725,13 @@ CIGARETTE PACKETS ARE IN FANCY.DM
if(super && vapetime > 3)//Time to start puffing those fat vapes, yo.
var/datum/effect_system/smoke_spread/chem/s = new
s.set_up(reagents, 1, loc)
s.set_up(reagents, 1, loc, silent=TRUE)
s.start()
vapetime = 0
if(emagged && vapetime > 3)
var/datum/effect_system/smoke_spread/chem/s = new
s.set_up(reagents, 4, loc)
s.set_up(reagents, 4, loc, silent=TRUE)
s.start()
vapetime = 0
if(prob(5))//small chance for the vape to break and deal damage if it's emagged