mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-07-13 16:13:19 +01:00
Deleting Unused Variables (Code Readability) (#18317)
* deleted * was supposed to delete this before first commit
This commit is contained in:
@@ -1952,8 +1952,8 @@
|
||||
theghost = pick(candidates)
|
||||
P.key = theghost.key
|
||||
P.master_commander = H
|
||||
P.universal_speak = 1
|
||||
P.universal_understand = 1
|
||||
P.universal_speak = TRUE
|
||||
P.universal_understand = TRUE
|
||||
P.can_collar = 1
|
||||
P.faction = list("neutral")
|
||||
var/obj/item/clothing/accessory/petcollar/C = new
|
||||
|
||||
@@ -9,7 +9,6 @@
|
||||
var/obj/item/tank/holding
|
||||
|
||||
var/volume = 0
|
||||
var/destroyed = 0
|
||||
|
||||
var/maximum_pressure = 90*ONE_ATMOSPHERE
|
||||
|
||||
|
||||
@@ -97,7 +97,6 @@
|
||||
var/onfire = FALSE
|
||||
var/status = 0
|
||||
var/fire_resist = T0C+1300 //this is the max temp it can stand before you start to cook. although it might not burn away, you take damage
|
||||
var/processing = 0 //I dont think this is used anywhere.
|
||||
|
||||
/obj/item/clothing/head/cakehat/process()
|
||||
if(!onfire)
|
||||
|
||||
@@ -6,7 +6,6 @@
|
||||
density = TRUE
|
||||
anchored = TRUE
|
||||
|
||||
var/broken = 0
|
||||
var/processing = FALSE
|
||||
|
||||
use_power = IDLE_POWER_USE
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
@@ -90,7 +90,6 @@
|
||||
// luminosity = 1
|
||||
var/has_electronics = 0 // 0 - none, 1 - plugged in, 2 - secured by screwdriver
|
||||
var/overload = 1 //used for the Blackout malf module
|
||||
var/beenhit = 0 // used for counting how many times it has been hit, used for Aliens at the moment
|
||||
var/mob/living/silicon/ai/occupier = null
|
||||
var/longtermpower = 10
|
||||
var/update_state = -1
|
||||
@@ -98,14 +97,12 @@
|
||||
var/global/status_overlays = 0
|
||||
var/updating_icon = 0
|
||||
var/datum/wires/apc/wires = null
|
||||
//var/debug = 0
|
||||
var/global/list/status_overlays_lock
|
||||
var/global/list/status_overlays_charging
|
||||
var/global/list/status_overlays_equipment
|
||||
var/global/list/status_overlays_lighting
|
||||
var/global/list/status_overlays_environ
|
||||
var/indestructible = 0 // If set, prevents aliens from destroying it
|
||||
var/keep_preset_name = 0
|
||||
var/keep_preset_name = FALSE
|
||||
/// Was this APC built instead of already existing? Used for malfhack to keep borgs from building apcs in space
|
||||
var/constructed = FALSE
|
||||
|
||||
|
||||
@@ -12,8 +12,6 @@
|
||||
|
||||
var/active = 0
|
||||
var/power_gen = 5000
|
||||
var/open = 0
|
||||
var/recent_fault = 0
|
||||
var/power_output = 1
|
||||
var/base_icon = "portgen0"
|
||||
|
||||
|
||||
@@ -24,8 +24,7 @@
|
||||
var/target = null //its target. moves towards the target if it has one
|
||||
var/last_failed_movement = 0//Will not move in the same dir if it couldnt before, will help with the getting stuck on fields thing
|
||||
var/last_warning
|
||||
var/consumedSupermatter = 0 //If the singularity has eaten a supermatter shard and can go to stage six
|
||||
allow_spin = 0
|
||||
var/consumedSupermatter = FALSE //If the singularity has eaten a supermatter shard and can go to stage six
|
||||
resistance_flags = INDESTRUCTIBLE | LAVA_PROOF | FIRE_PROOF | UNACIDABLE | ACID_PROOF | FREEZE_PROOF
|
||||
|
||||
/obj/singularity/Initialize(mapload, starting_energy = 50)
|
||||
|
||||
@@ -74,8 +74,6 @@ won't update every console in existence) but it's more of a hassle to do. Also,
|
||||
var/obj/machinery/r_n_d/protolathe/linked_lathe = null //Linked Protolathe
|
||||
var/obj/machinery/r_n_d/circuit_imprinter/linked_imprinter = null //Linked Circuit Imprinter
|
||||
|
||||
var/screen = 1.0 //Which screen is currently showing.
|
||||
|
||||
var/menu = MENU_MAIN
|
||||
var/submenu = SUBMENU_MAIN
|
||||
var/wait_message = 0
|
||||
|
||||
@@ -211,7 +211,7 @@
|
||||
if(candidates.len)
|
||||
var/mob/C = pick(candidates)
|
||||
SM.key = C.key
|
||||
SM.universal_speak = 1
|
||||
SM.universal_speak = TRUE
|
||||
SM.faction = user.faction
|
||||
SM.master_commander = user
|
||||
SM.sentience_act()
|
||||
@@ -266,7 +266,7 @@
|
||||
|
||||
to_chat(user, "<span class='notice'>You drink the potion then place your hands on [SM]...</span>")
|
||||
user.mind.transfer_to(SM)
|
||||
SM.universal_speak = 1
|
||||
SM.universal_speak = TRUE
|
||||
SM.faction = user.faction
|
||||
SM.sentience_act() //Same deal here as with sentience
|
||||
SM.can_collar = 1
|
||||
|
||||
Reference in New Issue
Block a user