mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-22 11:37:40 +01:00
Explosion Tweaks and Fixes
This commit is contained in:
@@ -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)
|
||||
|
||||
|
||||
@@ -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)
|
||||
|
||||
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user