[MIRROR] Buffs plasma and nerfs snow (#924)

* Buffs plasma and nerfs snow

* Update mineral.dm

* Delete mineral.dm.rej
This commit is contained in:
CitadelStationBot
2017-05-18 11:13:28 -05:00
committed by Poojawa
parent 547f10967a
commit a681b306a6
4 changed files with 12 additions and 9 deletions
@@ -40,7 +40,7 @@
/turf/open/floor/mineral/plasma/temperature_expose(datum/gas_mixture/air, exposed_temperature, exposed_volume)
if(exposed_temperature > 300)
PlasmaBurn()
PlasmaBurn(exposed_temperature)
/turf/open/floor/mineral/plasma/attackby(obj/item/weapon/W as obj, mob/user as mob, params)
if(W.is_hot() > 300)//If the temperature of the object is over 300, then ignite
@@ -50,13 +50,13 @@
return
..()
/turf/open/floor/mineral/plasma/proc/PlasmaBurn()
/turf/open/floor/mineral/plasma/proc/PlasmaBurn(temperature)
make_plating()
atmos_spawn_air("plasma=20;TEMP=1000")
atmos_spawn_air("plasma=20;TEMP=[temperature]")
/turf/open/floor/mineral/plasma/proc/ignite(exposed_temperature)
if(exposed_temperature > 300)
PlasmaBurn()
PlasmaBurn(exposed_temperature)
//GOLD
@@ -111,7 +111,7 @@
new girder_type(src)
src.ChangeTurf(/turf/open/floor/plasteel)
var/turf/open/T = src
T.atmos_spawn_air("plasma=400;TEMP=1000")
T.atmos_spawn_air("plasma=400;TEMP=[temperature]")
/turf/closed/wall/mineral/plasma/temperature_expose(datum/gas_mixture/air, exposed_temperature, exposed_volume)//Doesn't fucking work because walls don't interact with air :(
if(exposed_temperature > 300)
@@ -153,8 +153,11 @@
icon = 'icons/turf/walls/snow_wall.dmi'
icon_state = "snow"
hardness = 80
explosion_block = 0
slicing_duration = 30
sheet_type = /obj/item/stack/sheet/mineral/snow
canSmoothWith = null
girder_type = null
/turf/closed/wall/mineral/abductor
name = "alien wall"
+2 -1
View File
@@ -50,7 +50,8 @@
/turf/closed/wall/proc/devastate_wall()
new sheet_type(src, sheet_amount)
new /obj/item/stack/sheet/metal(src)
if(girder_type)
new /obj/item/stack/sheet/metal(src)
/turf/closed/wall/ex_act(severity, target)
if(target == src)