Explosion Tweaks and Fixes

This commit is contained in:
Fox-McCloud
2015-03-15 18:05:13 -04:00
parent 84752bc5ed
commit 645167b49a
13 changed files with 65 additions and 171 deletions
@@ -193,6 +193,10 @@
item_state = "waterbackpackatmos"
volume = 200
/obj/item/weapon/watertank/atmos/New()
..()
reagents.add_reagent("water", 200)
/obj/item/weapon/watertank/atmos/make_noz()
return new /obj/item/weapon/extinguisher/mini/nozzle(src)
+4 -6
View File
@@ -63,8 +63,10 @@ var/list/wood_icons = list("wood","wood-broken")
//set src in oview(1)
switch(severity)
if(1.0)
src.ChangeTurf(/turf/space)
if(2.0)
switch(pick(1,2;75,3))
if (1)
if(1)
src.ReplaceWithLattice()
if(prob(33)) new /obj/item/stack/sheet/metal(src)
if(2)
@@ -76,14 +78,10 @@ var/list/wood_icons = list("wood","wood-broken")
src.break_tile()
src.hotspot_expose(1000,CELL_VOLUME)
if(prob(33)) new /obj/item/stack/sheet/metal(src)
if(2.0)
if(3.0)
if (prob(50))
src.break_tile()
src.hotspot_expose(1000,CELL_VOLUME)
if(3.0)
if (prob(25))
src.break_tile()
src.hotspot_expose(500,CELL_VOLUME)
return
/turf/simulated/floor/fire_act(datum/gas_mixture/air, exposed_temperature, exposed_volume)
+5 -5
View File
@@ -163,7 +163,7 @@
src.ChangeTurf(/turf/space)
return
if(2.0)
if(prob(75))
if(prob(50))
take_damage(rand(150, 250))
else
dismantle_wall(1,1)
@@ -175,7 +175,7 @@
/turf/simulated/wall/blob_act()
take_damage(rand(75, 125))
return
/turf/simulated/wall/mech_melee_attack(obj/mecha/M)
if(M.damtype == "brute")
playsound(src, 'sound/weapons/punch4.ogg', 50, 1)
@@ -185,7 +185,7 @@
dismantle_wall(1)
M.occupant_message("<span class='warning'>You smash through the wall.</span>")
visible_message("<span class='warning'>[src.name] smashes through the wall!</span>")
playsound(src, 'sound/effects/meteorimpact.ogg', 100, 1)
playsound(src, 'sound/effects/meteorimpact.ogg', 100, 1)
// Wall-rot effect, a nasty fungus that destroys walls.
/turf/simulated/wall/proc/rot()
@@ -459,8 +459,8 @@
else if(istype(W,/obj/item/newscaster_frame))
var/obj/item/newscaster_frame/AH = W
AH.try_build(src)
return 1
return 1
else if(istype(W,/obj/item/alarm_frame))
var/obj/item/alarm_frame/AH = W
AH.try_build(src)