176 lines
5.9 KiB
Plaintext
176 lines
5.9 KiB
Plaintext
/turf/simulated/wall/mineral
|
|
name = "mineral wall"
|
|
desc = "This shouldn't exist"
|
|
icon_state = ""
|
|
var/last_event = 0
|
|
var/active = null
|
|
canSmoothWith = null
|
|
smooth = SMOOTH_TRUE
|
|
|
|
/turf/simulated/wall/mineral/gold
|
|
name = "gold wall"
|
|
desc = "A wall with gold plating. Swag!"
|
|
icon = 'icons/turf/walls/gold_wall.dmi'
|
|
icon_state = "gold"
|
|
walltype = "gold"
|
|
mineral = "gold"
|
|
sheet_type = /obj/item/stack/sheet/mineral/gold
|
|
//var/electro = 1
|
|
//var/shocked = null
|
|
explosion_block = 0 //gold is a soft metal you dingus.
|
|
canSmoothWith = list(/turf/simulated/wall/mineral/gold, /obj/structure/falsewall/gold)
|
|
|
|
/turf/simulated/wall/mineral/silver
|
|
name = "silver wall"
|
|
desc = "A wall with silver plating. Shiny!"
|
|
icon = 'icons/turf/walls/silver_wall.dmi'
|
|
icon_state = "silver"
|
|
walltype = "silver"
|
|
mineral = "silver"
|
|
sheet_type = /obj/item/stack/sheet/mineral/silver
|
|
//var/electro = 0.75
|
|
//var/shocked = null
|
|
canSmoothWith = list(/turf/simulated/wall/mineral/silver, /obj/structure/falsewall/silver)
|
|
|
|
/turf/simulated/wall/mineral/diamond
|
|
name = "diamond wall"
|
|
desc = "A wall with diamond plating. You monster."
|
|
icon = 'icons/turf/walls/diamond_wall.dmi'
|
|
icon_state = "diamond"
|
|
walltype = "diamond"
|
|
mineral = "diamond"
|
|
sheet_type = /obj/item/stack/sheet/mineral/diamond
|
|
slicing_duration = 200 //diamond wall takes twice as much time to slice
|
|
explosion_block = 3
|
|
canSmoothWith = list(/turf/simulated/wall/mineral/diamond, /obj/structure/falsewall/diamond)
|
|
|
|
/turf/simulated/wall/mineral/diamond/thermitemelt(mob/user)
|
|
return
|
|
|
|
/turf/simulated/wall/mineral/clown
|
|
name = "bananium wall"
|
|
desc = "A wall with bananium plating. Honk!"
|
|
icon = 'icons/turf/walls/bananium_wall.dmi'
|
|
icon_state = "bananium"
|
|
walltype = "bananium"
|
|
mineral = "bananium"
|
|
sheet_type = /obj/item/stack/sheet/mineral/bananium
|
|
canSmoothWith = list(/turf/simulated/wall/mineral/clown, /obj/structure/falsewall/clown)
|
|
|
|
/turf/simulated/wall/mineral/sandstone
|
|
name = "sandstone wall"
|
|
desc = "A wall with sandstone plating. Rough."
|
|
icon = 'icons/turf/walls/sandstone_wall.dmi'
|
|
icon_state = "sandstone"
|
|
walltype = "sandstone"
|
|
mineral = "sandstone"
|
|
sheet_type = /obj/item/stack/sheet/mineral/sandstone
|
|
explosion_block = 0
|
|
canSmoothWith = list(/turf/simulated/wall/mineral/sandstone, /obj/structure/falsewall/sandstone)
|
|
|
|
/turf/simulated/wall/mineral/uranium
|
|
name = "uranium wall"
|
|
desc = "A wall with uranium plating. This is probably a bad idea."
|
|
icon = 'icons/turf/walls/uranium_wall.dmi'
|
|
icon_state = "uranium"
|
|
walltype = "uranium"
|
|
mineral = "uranium"
|
|
sheet_type = /obj/item/stack/sheet/mineral/uranium
|
|
canSmoothWith = list(/turf/simulated/wall/mineral/uranium, /obj/structure/falsewall/uranium)
|
|
|
|
/turf/simulated/wall/mineral/uranium/proc/radiate()
|
|
if(!active)
|
|
if(world.time > last_event+15)
|
|
active = 1
|
|
radiation_pulse(get_turf(src), 3, 3, 4, 0)
|
|
for(var/turf/simulated/wall/mineral/uranium/T in orange(1,src))
|
|
T.radiate()
|
|
last_event = world.time
|
|
active = null
|
|
return
|
|
return
|
|
|
|
/turf/simulated/wall/mineral/uranium/attack_hand(mob/user)
|
|
radiate()
|
|
..()
|
|
|
|
/turf/simulated/wall/mineral/uranium/attackby(obj/item/weapon/W, mob/user, params)
|
|
radiate()
|
|
..()
|
|
|
|
/turf/simulated/wall/mineral/uranium/Bumped(AM as mob|obj)
|
|
radiate()
|
|
..()
|
|
|
|
/turf/simulated/wall/mineral/plasma
|
|
name = "plasma wall"
|
|
desc = "A wall with plasma plating. This is definitely a bad idea."
|
|
icon = 'icons/turf/walls/plasma_wall.dmi'
|
|
icon_state = "plasma"
|
|
walltype = "plasma"
|
|
mineral = "plasma"
|
|
sheet_type = /obj/item/stack/sheet/mineral/plasma
|
|
thermal_conductivity = 0.04
|
|
canSmoothWith = list(/turf/simulated/wall/mineral/plasma, /obj/structure/falsewall/plasma)
|
|
|
|
/turf/simulated/wall/mineral/plasma/attackby(obj/item/weapon/W, mob/user, params)
|
|
if(W.is_hot() > 300)//If the temperature of the object is over 300, then ignite
|
|
message_admins("Plasma wall ignited by [key_name_admin(user)](<A HREF='?_src_=holder;adminmoreinfo=\ref[user]'>?</A>) (<A HREF='?_src_=holder;adminplayerobservefollow=\ref[user]'>FLW</A>) in ([x],[y],[z] - <A HREF='?_src_=holder;adminplayerobservecoodjump=1;X=[x];Y=[y];Z=[z]'>JMP</a>)",0,1)
|
|
log_game("Plasma wall ignited by [key_name(user)] in ([x],[y],[z])")
|
|
ignite(W.is_hot())
|
|
return
|
|
..()
|
|
|
|
/turf/simulated/wall/mineral/plasma/proc/PlasmaBurn(temperature)
|
|
new /obj/structure/girder(src)
|
|
src.ChangeTurf(/turf/simulated/floor/plasteel)
|
|
atmos_spawn_air(SPAWN_HEAT | SPAWN_TOXINS, 400)
|
|
|
|
/turf/simulated/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)
|
|
PlasmaBurn(exposed_temperature)
|
|
|
|
/turf/simulated/wall/mineral/plasma/proc/ignite(exposed_temperature)
|
|
if(exposed_temperature > 300)
|
|
PlasmaBurn(exposed_temperature)
|
|
|
|
/turf/simulated/wall/mineral/plasma/bullet_act(var/obj/item/projectile/Proj)
|
|
if(istype(Proj,/obj/item/projectile/beam))
|
|
PlasmaBurn(2500)
|
|
else if(istype(Proj,/obj/item/projectile/ion))
|
|
PlasmaBurn(500)
|
|
..()
|
|
|
|
|
|
/turf/simulated/wall/mineral/wood
|
|
name = "wooden wall"
|
|
desc = "A wall with wooden plating. Stiff."
|
|
icon = 'icons/turf/walls/wood_wall.dmi'
|
|
icon_state = "wood"
|
|
walltype = "wood"
|
|
mineral = "wood"
|
|
sheet_type = /obj/item/stack/sheet/mineral/wood
|
|
hardness = 70
|
|
explosion_block = 0
|
|
canSmoothWith = list(/turf/simulated/wall/mineral/wood, /obj/structure/falsewall/wood)
|
|
|
|
/turf/simulated/wall/mineral/iron
|
|
name = "rough metal wall"
|
|
desc = "A wall with rough metal plating."
|
|
icon = 'icons/turf/walls/iron_wall.dmi'
|
|
icon_state = "iron"
|
|
walltype = "iron"
|
|
mineral = "rods"
|
|
sheet_type = /obj/item/stack/rods
|
|
canSmoothWith = list(/turf/simulated/wall/mineral/iron, /obj/structure/falsewall/iron)
|
|
|
|
/turf/simulated/wall/mineral/snow
|
|
name = "packed snow wall"
|
|
desc = "A wall made of densely packed snow blocks."
|
|
icon = 'icons/turf/walls/snow_wall.dmi'
|
|
icon_state = "snow"
|
|
walltype = "snow"
|
|
mineral = "snow"
|
|
hardness = 80
|
|
sheet_type = /obj/item/stack/sheet/mineral/snow
|
|
canSmoothWith = null |