refactors global lists.

This commit is contained in:
Desolate
2018-10-06 08:02:45 -05:00
130 changed files with 14959 additions and 3728 deletions
+17
View File
@@ -268,3 +268,20 @@
GLOB.ruin_landmarks -= src
ruin_template = null
. = ..()
// Damage tiles
/obj/effect/landmark/damageturf
icon_state = "damaged"
/obj/effect/landmark/damageturf/New()
..()
var/turf/simulated/T = get_turf(src)
T.break_tile()
/obj/effect/landmark/burnturf
icon_state = "burned"
/obj/effect/landmark/burnturf/New()
..()
var/turf/simulated/T = get_turf(src)
T.burn_tile()
+5
View File
@@ -17,6 +17,8 @@
var/rods_broken = 1
var/grille_type
var/broken_type = /obj/structure/grille/broken
var/shockcooldown = 0
var/my_shockcooldown = 50
/obj/structure/grille/fence/
var/width = 3
@@ -67,7 +69,10 @@
/obj/structure/grille/Bumped(atom/user)
if(ismob(user))
if(!(shockcooldown <= world.time))
return
shock(user, 70)
shockcooldown = world.time + my_shockcooldown
/obj/structure/grille/hulk_damage()
return 60
+2
View File
@@ -174,6 +174,8 @@
/obj/structure/statue/plasma/bullet_act(obj/item/projectile/Proj)
var/burn = FALSE
if(Proj.damage == 0)//lasertag guns and so on don't set off plasma anymore. can't use nodamage here because lasertag guns actually don't have it.
return
if(istype(Proj,/obj/item/projectile/beam))
PlasmaBurn(2500)
burn = TRUE