Deleting Unused Variables (Code Readability) (#18317)

* deleted

* was supposed to delete this before first commit
This commit is contained in:
KalevTait
2022-07-10 12:47:51 +01:00
committed by GitHub
parent 258cac66c0
commit 38679890ca
36 changed files with 20 additions and 64 deletions
@@ -6,7 +6,6 @@
icon = 'icons/mob/alien.dmi'
gender = NEUTER
dna = null
alien_talk_understand = TRUE
var/nightvision = FALSE
see_in_dark = 4
@@ -3,7 +3,6 @@
icon = 'icons/mob/pai.dmi'//
icon_state = "repairbot"
robot_talk_understand = 0
emote_type = 2 // pAIs emotes are heard, not seen, so they can be seen through a container (eg. person)
mob_size = MOB_SIZE_TINY
pass_flags = PASSTABLE
@@ -10,7 +10,7 @@ GLOBAL_LIST_INIT(robot_verbs_default, list(
maxHealth = 100
health = 100
bubble_icon = "robot"
universal_understand = 1
universal_understand = TRUE
deathgasp_on_death = TRUE
blocks_emissive = EMISSIVE_BLOCK_UNIQUE
@@ -79,11 +79,9 @@ GLOBAL_LIST_INIT(robot_verbs_default, list(
//var/list/laws = list()
var/viewalerts = 0
var/modtype = "Default"
var/lower_mod = 0
var/datum/effect_system/spark_spread/spark_system //So they can initialize sparks whenever/N
var/jeton = 0
var/low_power_mode = 0 //whether the robot has no charge left.
var/weapon_lock = 0
var/low_power_mode = FALSE //whether the robot has no charge left.
var/weapon_lock = FALSE
var/weaponlock_time = 120
var/lawupdate = 1 //Cyborgs will sync their laws with their AI by default
var/lockcharge //Used when locking down a borg to preserve cell charge
@@ -1,6 +1,5 @@
/mob/living/silicon
gender = NEUTER
robot_talk_understand = 1
voice_name = "synthesized voice"
bubble_icon = "machine"
has_unlimited_silicon_privilege = 1
@@ -260,7 +260,7 @@
if(donors.len == evolve_donors)
to_chat(src, "<span class='noticealien'>You feel ready to move on to your next stage of growth.</span>")
else if(donors.len == awareness_donors)
universal_understand = 1
universal_understand = TRUE
to_chat(src, "<span class='noticealien'>You feel your awareness expand, and realize you know how to understand the creatures around you.</span>")
else
to_chat(src, "<span class='noticealien'>The blood seeps into your small form, and you draw out the echoes of memories and personality from it, working them into your budding mind.</span>")
@@ -30,7 +30,7 @@
atmos_requirements = list("min_oxy" = 16, "max_oxy" = 0, "min_tox" = 0, "max_tox" = 1, "min_co2" = 0, "max_co2" = 5, "min_n2" = 0, "max_n2" = 0)
minbodytemp = 223 //Below -50 Degrees Celcius
maxbodytemp = 323 //Above 50 Degrees Celcius
universal_speak = 0
universal_speak = FALSE
can_hide = 1
holder_type = /obj/item/holder/mouse
can_collar = 1
@@ -6,7 +6,7 @@
icon_living = "spiderbot-chassis"
icon_dead = "spiderbot-smashed"
wander = 0
universal_speak = 1
universal_speak = TRUE
health = 40
maxHealth = 40
pass_flags = PASSTABLE
@@ -71,8 +71,6 @@
var/bot_type = "norm"
var/bot_amt = 10
var/spawn_delay = 600
var/turn_on = 0
var/auto_spawn = 1
/mob/living/simple_animal/hostile/hivebot/tele/New()
..()
@@ -147,7 +147,6 @@ GLOBAL_LIST_EMPTY(ts_spiderling_list)
var/mob/living/simple_animal/hostile/poison/terror_spider/spider_mymother = null
var/mylocation = null
var/chasecycles = 0
var/web_infects = 0
var/spider_creation_time = 0
var/datum/action/innate/terrorspider/web/web_action
@@ -11,11 +11,10 @@
healable = 0 // Animated with SPACE NECROMANCY, mere mortal medicines cannot heal such an object.
wander = 0 // These things probably ought to never be AI controlled, but in the event they are probably shouldn't wander.
universal_speak = 1 // Tell the humans spooky things about the afterlife
universal_speak = TRUE // Tell the humans spooky things about the afterlife
speak_emote = list("mumbles", "moans", "whispers", "laments", "screeches")
allow_spin = 0 // No spinning. Spinning breaks our floating animation.
no_spin_thrown = 1
no_spin_thrown = TRUE
del_on_death = TRUE
var/obj/item/possessed_item
@@ -5,8 +5,8 @@
maxHealth = 20
gender = PLURAL //placeholder
universal_understand = 1
universal_speak = 0
universal_understand = TRUE
universal_speak = FALSE
status_flags = CANPUSH
var/icon_living = ""
@@ -79,7 +79,6 @@
var/current_offspring = 0
var/max_offspring = DEFAULT_MAX_OFFSPRING
var/buffed = 0 //In the event that you want to have a buffing effect on the mob, but don't want it to stack with other effects, any outside force that applies a buff to a simple mob should at least set this to 1, so we have something to check against
///Was this mob spawned by xenobiology magic? Used for mobcapping.
var/xenobiology_spawned = FALSE
var/gold_core_spawnable = NO_SPAWN //If the mob can be spawned with a gold slime core. HOSTILE_SPAWN are spawned with plasma, FRIENDLY_SPAWN are spawned with blood
@@ -104,9 +103,6 @@
var/shouldwakeup = FALSE //convenience var for forcibly waking up an idling AI on next check.
//domestication
var/tame = 0
var/my_z // I don't want to confuse this with client registered_z
///What kind of footstep this mob should have. Null if it shouldn't have any.
var/footstep_type
+2 -4
View File
@@ -163,10 +163,8 @@
var/obj/control_object //Used by admins to possess objects. All mobs should have this var
//Whether or not mobs can understand other mobtypes. These stay in /mob so that ghosts can hear everything.
var/universal_speak = 0 // Set to 1 to enable the mob to speak to everyone -- TLE
var/universal_understand = 0 // Set to 1 to enable the mob to understand everyone, not necessarily speak
var/robot_talk_understand = 0
var/alien_talk_understand = 0
var/universal_speak = FALSE // Set to TRUE to enable the mob to speak to everyone -- TLE
var/universal_understand = FALSE // Set to TRUE to enable the mob to understand everyone, not necessarily speak
var/has_limbs = 1 //Whether this mob have any limbs he can move with
+1 -1
View File
@@ -3,7 +3,7 @@
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
universal_speak = 1
universal_speak = TRUE
invisibility = 101