mirror of
https://github.com/vgstation-coders/vgstation13.git
synced 2025-12-09 16:14:13 +00:00
* Base of grues. * Few more updates to grues * Bit more work on grues. * Bit more work on grues, namely getting them to evolve and reproduce properly. * A few additions to gures and also to simple mobs to allow for delayed airlock forcing. Egg hatching and upgraded stats with every sentient being eaten. * Few additions to grues including a grue language and gruevision to see in the dark. * Several changes to grues, including adding their antag roles (still need to be tested/debugged). * Finalized the base of grues including a nicer-looking grue vision. Some stuff remains to be tested and debugged. * Removed obsolete file. * Updated vgstation.dme with grue additions * Update vgstation13.dme * Update grue.dm * modify .dme * typo * remove unneeded variable * Added gore globs from those eaten by grues that can be cloned or brain extracted. Also fixed some bugs preventing slime puddles from being put in a cloner. Had to generalize a bunch of code in various places to do this (eg. moving certain procs and variable definitions from /mob/living/carbon/ to just /mob/living/) * Removed gore globs after being eaten by a grue; a head remains by default so it's not needed. Also debugged slime puddle cloning. * -grue egglaying is set to a config option -few modifications to grue antag objectives * Added changelog and some UI tweaks. * Update misc_structures.dm * Update misc_structures.dm * Juvenile grues can force open doors as well. Also added some more descriptive text upon moulting. Fixed airlock code bug. * Update grue.dm * Delete nulllight.ogg * Fixed up grue sound effects. Renamed humanoid grue to umbra. * more grue/umbra split stuff * Update Hinaichigo.yml * Adult grues can force airlocks open instantly. * Changed role greet messages from 'danger' to 'warning'. Explitized empty lists in grue gamemode variables. * Update grue_egg.dm * Few fixes to grues. * Used defines for lifestage checks. Reverted organ changes and removed an unneeded(?) check from cloner code. * Migrated grue abilities into spells framework. Made umbras (humanoids formerly called grues) in the same faction as grues. * . * Grue spell icons * . * Custom blood and meat colors for mobs. Grue meat contains a certain substance. * Removed gore globs. * . * Meat coloring + related food unit test fixes. * Update icons.dm * Bugfix with custom meat colors. * . * Grue abilities panel+sprites. * . * Fixed up grue role/objectives. * . * Sprite tweak. * . * New sfx for moulting and burning in light. * . * fixed icon conflict * . * icon conflict fix * More descriptive variable names. A few tweaks to stats.
88 lines
3.9 KiB
Plaintext
88 lines
3.9 KiB
Plaintext
/mob/living
|
|
see_invisible = SEE_INVISIBLE_LIVING
|
|
|
|
//Health and life related vars
|
|
var/maxHealth = 100 //Maximum health that should be possible.
|
|
var/health = 100 //A mob's health
|
|
|
|
var/hud_updateflag = 0
|
|
|
|
size = SIZE_NORMAL
|
|
|
|
//Damage related vars, NOTE: THESE SHOULD ONLY BE MODIFIED BY PROCS
|
|
var/bruteloss = 0 //Brutal damage caused by brute force (punching, being clubbed by a toolbox ect... this also accounts for pressure damage)
|
|
var/oxyloss = 0 //Oxygen depravation damage (no air in lungs)
|
|
var/toxloss = 0 //Toxic damage caused by being poisoned or radiated
|
|
var/fireloss = 0 //Burn damage caused by being way too hot, too cold or burnt.
|
|
var/cloneloss = 0 //Damage caused by being cloned or ejected from the cloner early. slimes also deal cloneloss damage to victims
|
|
var/brainloss = 0 //'Retardation' damage caused by someone hitting you in the head with a bible or being infected with brainrot.
|
|
var/halloss = 0 //Hallucination damage. 'Fake' damage obtained through hallucinating or the holodeck. Sleeping should cause it to wear off.
|
|
|
|
var/hallucination = 0 //Directly affects how long a mob will hallucinate for
|
|
var/list/atom/hallucinations = list() //A list of hallucinated people that try to attack the mob. See /obj/effect/fake_attacker in hallucinations.dm
|
|
|
|
var/can_butcher = 1 //Whether it's possible to butcher this mob manually
|
|
var/meat_taken = 0 //How much meat has been taken from this mob by butchering
|
|
var/meat_amount = 0 //How much meat can you take from this mob. Default value (0) will change to be the mob's size
|
|
var/meat_type = /obj/item/weapon/reagent_containers/food/snacks/meat
|
|
var/being_butchered = 0 //To prevent butchering an animal almost instantly
|
|
var/list/butchering_drops //See code/datums/butchering.dm, stuff like skinning goes here
|
|
|
|
var/mob_property_flags
|
|
|
|
var/list/image/static_overlays
|
|
|
|
var/t_plasma = null
|
|
var/t_oxygen = null
|
|
var/t_sl_gas = null
|
|
var/t_n2 = null
|
|
|
|
var/now_pushing = null
|
|
var/mob_bump_flag = 0
|
|
var/mob_swap_flags = 0
|
|
var/mob_push_flags = 0
|
|
|
|
var/cameraFollow = null
|
|
|
|
var/tod = null // Time of death
|
|
var/update_slimes = 1
|
|
|
|
on_fire = 0 //The "Are we on fire?" var
|
|
var/fire_stacks = 0 //Tracks how many stacks of fire we have on, max is usually 20
|
|
|
|
var/specialsauce = 0 //Has this person consumed enough special sauce? IF so they're a ticking time bomb of death.
|
|
var/silent = null //Can't talk. Value goes down every life proc.
|
|
|
|
var/locked_to_z = 0 // Locked to a Z-level if nonzero.
|
|
|
|
// Fix ashifying in hot fires.
|
|
//autoignition_temperature=0
|
|
//fire_fuel=0
|
|
|
|
var/list/icon/pipes_shown = list()
|
|
var/last_played_vent
|
|
var/is_ventcrawling = 0
|
|
|
|
var/species_type
|
|
var/holder_type = /obj/item/weapon/holder/animal //When picked up, put us into a holder of this type. Dionae use /obj/item/weapon/holder/diona, others - the default one
|
|
//Set to null to prevent people from picking this mob up!
|
|
var/list/hud_list = list()
|
|
|
|
var/obj/abstract/screen/schematics_background
|
|
var/shown_schematics_background = 0
|
|
|
|
var/list/advanced_butchery //Includes a list of the tools used to butcher the mob, detectable via autopsy scanner rather than examine.
|
|
|
|
var/cap_calorie_burning_bodytemp = TRUE
|
|
var/calorie_burning_heat_multiplier = 1 //The heat generated from burning calories is multiplied by this value.
|
|
var/thermal_loss_multiplier = 1 //The heat the mob loses to the environment is multiplied by this value.
|
|
|
|
var/list/datum/disease2/disease/virus2 = list()
|
|
var/image/pathogen
|
|
var/datum/immune_system/immune_system
|
|
|
|
var/times_cloned = 0 //How many times this creature has been cloned
|
|
var/talkcount = 0 // How many times a creature has talked - used for determining who's been the "star" for the purposes of round end credits (may only work correctly for humans)
|
|
|
|
var/blood_color2 //color of this creature's blood for gibbing purposes (humanoids have their own species-defined values)
|
|
var/flesh_color2 //color of this creature's flesh for meat purposes (humanoids have their own species-defined values) |