- Variable declaration standardization. Big commit.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@3671 316c924e-a436-60f5-8080-3fe189b3f50e
This commit is contained in:
baloh.matevz@gmail.com
2012-05-25 19:26:36 +00:00
parent cfd59cf0a2
commit c2c7a3bcda
131 changed files with 1493 additions and 1402 deletions
@@ -1,10 +1,11 @@
/mob/living/carbon/alien/humanoid
var
oxygen_alert = 0
toxins_alert = 0
fire_alert = 0
//This file was auto-corrected by findeclaration.exe on 25.5.2012 20:42:32
temperature_alert = 0
/mob/living/carbon/alien/humanoid
var/oxygen_alert = 0
var/toxins_alert = 0
var/fire_alert = 0
var/temperature_alert = 0
/mob/living/carbon/alien/humanoid/Life()
@@ -1,10 +1,11 @@
/mob/living/carbon/alien/larva
var
oxygen_alert = 0
toxins_alert = 0
fire_alert = 0
//This file was auto-corrected by findeclaration.exe on 25.5.2012 20:42:32
temperature_alert = 0
/mob/living/carbon/alien/larva
var/oxygen_alert = 0
var/toxins_alert = 0
var/fire_alert = 0
var/temperature_alert = 0
/mob/living/carbon/alien/larva/Life()
+7 -6
View File
@@ -1,3 +1,5 @@
//This file was auto-corrected by findeclaration.exe on 25.5.2012 20:42:32
/obj/item/device/mmi
name = "Man-Machine Interface"
desc = "The Warrior's bland acronym, MMI, obscures the true horror of this monstrosity."
@@ -14,11 +16,10 @@
//Revised. Brainmob is now contained directly within object of transfer. MMI in this case.
var
locked = 0
mob/living/carbon/brain/brainmob = null//The current occupant.
mob/living/silicon/robot = null//Appears unused.
obj/mecha = null//This does not appear to be used outside of reference in mecha.dm.
var/locked = 0
var/mob/living/carbon/brain/brainmob = null//The current occupant.
var/mob/living/silicon/robot = null//Appears unused.
var/obj/mecha = null//This does not appear to be used outside of reference in mecha.dm.
attackby(var/obj/item/O as obj, var/mob/user as mob)
if(istype(O,/obj/item/brain) && !brainmob) //Time to stick a brain in it --NEO
@@ -124,4 +125,4 @@
brainmob << "Can't do that while incapacitated or dead."
radio.listening = radio.listening==1 ? 0 : 1
brainmob << "\blue Radio is [radio.listening==1 ? "now" : "no longer"] receiving broadcast."
brainmob << "\blue Radio is [radio.listening==1 ? "now" : "no longer"] receiving broadcast."
@@ -1,7 +1,8 @@
//This file was auto-corrected by findeclaration.exe on 25.5.2012 20:42:32
/mob/living/carbon/brain
var
obj/item/container = null
timeofhostdeath = 0
var/obj/item/container = null
var/timeofhostdeath = 0
New()
var/datum/reagents/R = new/datum/reagents(1000)
@@ -41,4 +42,4 @@
if (!container || !istype(container, /obj/item/device/mmi))
src.verbs += /mob/proc/ghost
return
return
+7 -6
View File
@@ -1,12 +1,13 @@
//This file was auto-corrected by findeclaration.exe on 25.5.2012 20:42:32
#define HUMAN_MAX_OXYLOSS 12 //Defines how much oxyloss humans can get per tick. No air applies this value.
/mob/living/carbon/human
var
oxygen_alert = 0
toxins_alert = 0
fire_alert = 0
var/oxygen_alert = 0
var/toxins_alert = 0
var/fire_alert = 0
temperature_alert = 0
var/temperature_alert = 0
/mob/living/carbon/human/Life()
@@ -1208,4 +1209,4 @@ snippets
plcheck = t_plasma
oxcheck = t_oxygen
G.turf_add(T, G.total_moles())
*/
*/
@@ -1,10 +1,11 @@
/mob/living/carbon/monkey
var
oxygen_alert = 0
toxins_alert = 0
fire_alert = 0
//This file was auto-corrected by findeclaration.exe on 25.5.2012 20:42:32
temperature_alert = 0
/mob/living/carbon/monkey
var/oxygen_alert = 0
var/toxins_alert = 0
var/fire_alert = 0
var/temperature_alert = 0
/mob/living/carbon/monkey/Life()
@@ -633,4 +634,4 @@
if (mind.special_role == "Changeling" && changeling)
changeling.chem_charges = between(0, ((max((0.9 - (changeling.chem_charges / 50)), 0.1)*changeling.chem_recharge_multiplier) + changeling.chem_charges), changeling.chem_storage)
if ((changeling.geneticdamage > 0))
changeling.geneticdamage = changeling.geneticdamage-1
changeling.geneticdamage = changeling.geneticdamage-1
@@ -1,15 +1,16 @@
//This file was auto-corrected by findeclaration.exe on 25.5.2012 20:42:33
// Recruiting observers to play as pAIs
var/datum/paiController/paiController // Global handler for pAI candidates
/datum/paiCandidate
var
name
key
description
role
comments
ready = 0
var/name
var/key
var/description
var/role
var/comments
var/ready = 0
@@ -205,4 +206,4 @@ var/datum/paiController/paiController // Global handler for pAI candidates
if(response == "Yes")
recruitWindow(C.mob)
else if (response == "Never for this round")
C.be_pai = 0
C.be_pai = 0
+7 -6
View File
@@ -1,10 +1,11 @@
//This file was auto-corrected by findeclaration.exe on 25.5.2012 20:42:33
/mob/new_player
var
datum/preferences/preferences = null
ready = 0
spawning = 0//Referenced when you want to delete the new_player later on in the code.
totalPlayers = 0 //Player counts for the Lobby tab
totalPlayersReady = 0
var/datum/preferences/preferences = null
var/ready = 0
var/spawning = 0//Referenced when you want to delete the new_player later on in the code.
var/totalPlayers = 0 //Player counts for the Lobby tab
var/totalPlayersReady = 0
invisibility = 101
+13 -12
View File
@@ -1,3 +1,5 @@
//This file was auto-corrected by findeclaration.exe on 25.5.2012 20:42:33
#define UI_OLD 0
#define UI_NEW 1
@@ -28,17 +30,16 @@ var/global/list/special_roles = list( //keep synced with the defines BE_* in set
"infested monkey" = ispath(text2path("/datum/game_mode/monkey")),
)
*/
var/const
BE_TRAITOR =(1<<0)
BE_OPERATIVE =(1<<1)
BE_CHANGELING=(1<<2)
BE_WIZARD =(1<<3)
BE_MALF =(1<<4)
BE_REV =(1<<5)
BE_ALIEN =(1<<6)
BE_CULTIST =(1<<7)
BE_MONKEY =(1<<8)
BE_PAI =(1<<9)
var/const/BE_TRAITOR =(1<<0)
var/const/BE_OPERATIVE =(1<<1)
var/const/BE_CHANGELING=(1<<2)
var/const/BE_WIZARD =(1<<3)
var/const/BE_MALF =(1<<4)
var/const/BE_REV =(1<<5)
var/const/BE_ALIEN =(1<<6)
var/const/BE_CULTIST =(1<<7)
var/const/BE_MONKEY =(1<<8)
var/const/BE_PAI =(1<<9)
@@ -735,4 +736,4 @@ datum/preferences
#undef UI_OLD
#undef UI_NEW
#undef UI_NEW
+14 -14
View File
@@ -1,7 +1,8 @@
//This file was auto-corrected by findeclaration.exe on 25.5.2012 20:42:33
/datum/organ
var
name = "organ"
owner = null
var/name = "organ"
var/owner = null
proc/process()
@@ -18,17 +19,16 @@
****************************************************/
/datum/organ/external
name = "external"
var
icon_name = null
body_part = null
var/icon_name = null
var/body_part = null
damage_state = "00"
brute_dam = 0
burn_dam = 0
bandaged = 0
max_damage = 0
wound_size = 0
max_size = 0
var/damage_state = "00"
var/brute_dam = 0
var/burn_dam = 0
var/bandaged = 0
var/max_damage = 0
var/wound_size = 0
var/max_size = 0
proc/take_damage(brute, burn)
@@ -124,4 +124,4 @@
INTERNAL ORGANS
****************************************************/
/datum/organ/internal
name = "internal"
name = "internal"