mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-07-14 08:34:16 +01:00
Cleans up a lot of globals a few other vars (#23246)
* i hate globals i hate globals * more fucking of these * sirryan review
This commit is contained in:
@@ -1,6 +1,5 @@
|
||||
GLOBAL_LIST_EMPTY(ts_ckey_blacklist)
|
||||
GLOBAL_VAR_INIT(ts_count_dead, 0)
|
||||
GLOBAL_VAR_INIT(ts_count_alive_awaymission, 0)
|
||||
GLOBAL_VAR_INIT(ts_count_alive_station, 0)
|
||||
GLOBAL_VAR_INIT(ts_death_last, 0)
|
||||
GLOBAL_VAR_INIT(ts_death_window, 9000) // 15 minutes
|
||||
|
||||
@@ -66,12 +66,6 @@
|
||||
if((ckey in GLOB.de_admins) || (ckey in GLOB.de_mentors))
|
||||
client.verbs += /client/proc/readmin
|
||||
|
||||
//Clear ability list and update from mob.
|
||||
client.verbs -= GLOB.ability_verbs
|
||||
|
||||
if(abilities)
|
||||
client.verbs |= abilities
|
||||
|
||||
client.update_active_keybindings()
|
||||
|
||||
//HUD updates (antag hud, etc)
|
||||
|
||||
@@ -403,7 +403,6 @@
|
||||
return 0
|
||||
|
||||
//converts intent-strings into numbers and back
|
||||
GLOBAL_LIST_INIT(intents, list(INTENT_HELP,INTENT_DISARM,INTENT_GRAB,INTENT_HARM))
|
||||
/proc/intent_numeric(argument)
|
||||
if(istext(argument))
|
||||
switch(argument)
|
||||
|
||||
@@ -54,7 +54,6 @@
|
||||
var/lastpuke = 0
|
||||
var/can_strip = TRUE
|
||||
var/list/languages = list() // For speaking/listening.
|
||||
var/list/abilities = list() // For species-derived or admin-given powers.
|
||||
var/list/speak_emote = list("says") // Verbs used when speaking. Defaults to 'say' if speak_emote is null.
|
||||
var/emote_type = EMOTE_VISIBLE // Define emote default type, 1 for seen emotes, 2 for heard emotes
|
||||
var/name_archive //For admin things like possession
|
||||
|
||||
Reference in New Issue
Block a user