mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-07-21 20:13:45 +01:00
remove most top-level vardecls (#23946)
This commit is contained in:
committed by
GitHub
parent
60433a70b6
commit
ed9842b730
@@ -16,6 +16,7 @@
|
||||
var/alien_disarm_damage = 30 //Aliens deal a good amount of stamina damage on disarm intent
|
||||
var/alien_slash_damage = 20 //Aliens deal a good amount of damage on harm intent
|
||||
var/alien_movement_delay = 0 //This can be + or -, how fast an alien moves
|
||||
var/temperature_resistance = T0C+75
|
||||
pass_flags = PASSTABLE
|
||||
|
||||
//This is fine right now, if we're adding organ specific damage this needs to be updated
|
||||
@@ -73,8 +74,6 @@
|
||||
return 0
|
||||
|
||||
|
||||
/mob/living/carbon/alien/humanoid/var/temperature_resistance = T0C+75
|
||||
|
||||
/mob/living/carbon/alien/humanoid/movement_delay() //Aliens have a varied movespeed
|
||||
. = ..()
|
||||
. += alien_movement_delay
|
||||
|
||||
@@ -9,6 +9,7 @@
|
||||
health = 25
|
||||
density = FALSE
|
||||
|
||||
var/temperature_resistance = T0C+75
|
||||
var/amount_grown = 0
|
||||
var/max_grown = 200
|
||||
var/time_of_birth
|
||||
@@ -78,8 +79,6 @@
|
||||
/mob/living/carbon/alien/larva/restrained()
|
||||
return FALSE
|
||||
|
||||
/mob/living/carbon/alien/larva/var/temperature_resistance = T0C+75
|
||||
|
||||
// new damage icon system
|
||||
// now constructs damage icon for each organ from mask * damage field
|
||||
|
||||
|
||||
@@ -49,8 +49,6 @@
|
||||
|
||||
#define STOMACH_ATTACK_DELAY 4
|
||||
|
||||
/mob/living/carbon/var/last_stomach_attack //defining this here because no one would look in carbon_defines for it
|
||||
|
||||
/mob/living/carbon/relaymove(mob/user, direction)
|
||||
if(LAZYLEN(stomach_contents))
|
||||
if(user in stomach_contents)
|
||||
|
||||
@@ -1,7 +1,10 @@
|
||||
/mob/living/carbon
|
||||
gender = MALE
|
||||
pressure_resistance = 15
|
||||
|
||||
var/list/stomach_contents
|
||||
var/last_stomach_attack
|
||||
|
||||
var/list/processing_patches
|
||||
var/list/internal_organs = list()
|
||||
var/list/internal_organs_slot = list() //Same as above, but stores "slot ID" - "organ" pairs for easy access.
|
||||
|
||||
@@ -86,3 +86,9 @@
|
||||
|
||||
var/list/splinted_limbs = list() //limbs we know are splinted
|
||||
var/original_eye_color = "#000000"
|
||||
|
||||
var/list/bodyparts = list()
|
||||
/// map organ names to organs
|
||||
var/list/bodyparts_by_name = list()
|
||||
|
||||
var/temperature_resistance = T0C+75
|
||||
|
||||
@@ -293,9 +293,6 @@
|
||||
if(!. && istype(wear_suit, /obj/item/clothing/suit/straight_jacket))
|
||||
. = wear_suit
|
||||
|
||||
/mob/living/carbon/human/var/temperature_resistance = T0C+75
|
||||
|
||||
|
||||
/mob/living/carbon/human/show_inv(mob/user)
|
||||
user.set_machine(src)
|
||||
var/has_breathable_mask = istype(wear_mask, /obj/item/clothing/mask) || get_organ_slot("breathing_tube")
|
||||
|
||||
@@ -4,9 +4,6 @@
|
||||
eyes.update_colour()
|
||||
update_body()
|
||||
|
||||
/mob/living/carbon/human/var/list/bodyparts = list()
|
||||
/mob/living/carbon/human/var/list/bodyparts_by_name = list() // map organ names to organs
|
||||
|
||||
// Takes care of organ related updates, such as broken and missing limbs
|
||||
/mob/living/carbon/human/handle_organs()
|
||||
..()
|
||||
|
||||
@@ -139,6 +139,9 @@
|
||||
/// Can this simple mob crawl or not? If FALSE, it won't get immobilized by crawling
|
||||
var/can_crawl = FALSE
|
||||
|
||||
/// Health of the mob before being admin-frozen, restored afterwards
|
||||
var/admin_prev_health = null
|
||||
|
||||
/mob/living/simple_animal/Initialize(mapload)
|
||||
. = ..()
|
||||
GLOB.simple_animals[AIStatus] += src
|
||||
|
||||
Reference in New Issue
Block a user