Changes some 1s and 0s to TRUE and FALSE (#1967)

This commit is contained in:
CitadelStationBot
2017-07-10 18:13:16 -05:00
committed by kevinz000
parent 1b70c06474
commit ff6bbbedf5
522 changed files with 1924 additions and 1917 deletions
@@ -9,10 +9,10 @@ It is possible to destroy the net by the occupant or someone else.
icon = 'icons/effects/effects.dmi'
icon_state = "energynet"
density = 1//Can't pass through.
density = TRUE//Can't pass through.
opacity = 0//Can see through.
mouse_opacity = 1//So you can hit it with stuff.
anchored = 1//Can't drag/grab the trapped mob.
anchored = TRUE//Can't drag/grab the trapped mob.
layer = ABOVE_ALL_MOB_LAYER
max_integrity = 25 //How much health it has.
var/mob/living/affecting = null//Who it is currently affecting, if anyone.
@@ -30,7 +30,7 @@ It is possible to destroy the net by the occupant or someone else.
/obj/structure/energy_net/Destroy()
if(affecting)
var/mob/living/carbon/M = affecting
M.anchored = 0
M.anchored = FALSE
for(var/mob/O in viewers(src, 3))
O.show_message("[M.name] was recovered from the energy net!", 1, "<span class='italics'>You hear a grunt.</span>", 2)
if(master)//As long as they still exist.
@@ -58,7 +58,7 @@ It is possible to destroy the net by the occupant or someone else.
if(!isnull(src))//As long as both net and person exist.
//No need to check for countdown here since while() broke, it's implicit that it finished.
density = 0//Make the net pass-through.
density = FALSE//Make the net pass-through.
invisibility = INVISIBILITY_ABSTRACT//Make the net invisible so all the animations can play out.
resistance_flags |= INDESTRUCTIBLE //Make the net invincible so that an explosion/something else won't kill it while, spawn() is running.
for(var/obj/item/W in M)
+2 -2
View File
@@ -52,8 +52,8 @@ They *could* go in their appropriate files, but this is supposed to be modular
if(!emagged)
flick("apc-spark", G)
emagged = 1
locked = 0
emagged = TRUE
locked = FALSE
update_icon()
+1 -1
View File
@@ -50,7 +50,7 @@ Contents:
//Support function variables.
var/spideros = 0//Mode of SpiderOS. This can change so I won't bother listing the modes here (0 is hub). Check ninja_equipment.dm for how it all works.
var/s_active = 0//Stealth off.
var/s_busy = 0//Is the suit busy with a process? Like AI hacking. Used for safety functions.
var/s_busy = FALSE//Is the suit busy with a process? Like AI hacking. Used for safety functions.
//Ability function variables.
var/s_bombs = 10//Number of starting ninja smoke bombs.