mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-08-31 00:49:06 +01:00
Ports the TG globals controller and converts globals. (#18057)
* SDQL2 update * fix that verb * cl * fix that * toworld * this is pointless * update info * siiiiick.. * vv edit update * fix that * fix editing vars * fix VV * Port the /TG/ globals controller. * part 1 * part 2 * oops * part 3 * Hollow Purple * sadas * bsbsdb * muda na agaki ta * ids 1-15 * 16-31 * 41-75 * bring me back to how things used to be before i lost it all * the strength of mayhem * final touches * cl * protect some vars * update sdql2 to use glob * stuff? * forgot that is not defined there * whoops * observ * but it never gets better * a --------- Co-authored-by: Matt Atlas <liermattia@gmail.com>
This commit is contained in:
@@ -91,10 +91,10 @@ INITIALIZE_IMMEDIATE(/obj/item/organ)
|
||||
max_damage = min_broken_damage * 2
|
||||
if(istype(holder))
|
||||
src.owner = holder
|
||||
species = all_species[SPECIES_HUMAN]
|
||||
species = GLOB.all_species[SPECIES_HUMAN]
|
||||
if(holder.dna)
|
||||
dna = holder.dna.Clone()
|
||||
species = all_species[dna.species]
|
||||
species = GLOB.all_species[dna.species]
|
||||
else
|
||||
LOG_DEBUG("[src] at [loc] spawned without a proper DNA.")
|
||||
var/mob/living/carbon/human/H = holder
|
||||
@@ -173,7 +173,7 @@ INITIALIZE_IMMEDIATE(/obj/item/organ)
|
||||
reagents.remove_reagent(/singleton/reagent/blood,0.1)
|
||||
if (isturf(loc))
|
||||
blood_splatter(src,src,TRUE)
|
||||
if(config.organs_decay) damage += rand(1,3)
|
||||
if(GLOB.config.organs_decay) damage += rand(1,3)
|
||||
if(damage >= max_damage)
|
||||
damage = max_damage
|
||||
germ_level += rand(2,6)
|
||||
|
||||
Reference in New Issue
Block a user