Moves the is_frozen var to a secondary flag

One less var on ALL OBJECTS.
This commit is contained in:
Jack Edge
2017-03-06 18:21:34 +00:00
parent 37b194d6ed
commit 69c227612f
5 changed files with 11 additions and 11 deletions
+3 -4
View File
@@ -24,7 +24,6 @@
var/force_blueprints = FALSE //forces the obj to be on the blueprints, regardless of when it was created.
var/persistence_replacement = null //have something WAY too amazing to live to the next round? Set a new path here. Overuse of this var will make me upset.
var/is_frozen = FALSE
var/unique_rename = 0 // can you customize the description/name of the thing?
@@ -47,8 +46,8 @@
/obj/throw_at(atom/target, range, speed, mob/thrower, spin=1, diagonals_first = 0, datum/callback/callback)
..()
if(is_frozen)
visible_message("<span class = 'danger'><b>[src] shatters into a million pieces!</b></span>")
if(HAS_SECONDARY_FLAG(src, FROZEN))
visible_message("<span class='danger'>[src] shatters into a million pieces!</span>")
qdel(src)
/obj/assume_air(datum/gas_mixture/giver)
@@ -225,4 +224,4 @@
M << "You have successfully changed \the [name]'s description."
return
else
return
return