mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-11 18:53:06 +00:00
[MIRROR] fix bodyscanner (#9668)
Co-authored-by: Kashargul <144968721+Kashargul@users.noreply.github.com>
This commit is contained in:
committed by
GitHub
parent
e49000ca80
commit
9d288cdb28
@@ -8,7 +8,7 @@
|
||||
#define GAS_VOLATILE_FUEL "volatile_fuel"
|
||||
|
||||
// Gas Reagents
|
||||
#define REAGENT_CARBON_DIOXIDE "Nitrogen"
|
||||
#define REAGENT_CARBON_DIOXIDE "Carbon Dioxide"
|
||||
#define REAGENT_NITROGEN "Nitrogen"
|
||||
#define REAGENT_ID_NITROGEN "nitrogen"
|
||||
#define REAGENT_NITROUS_OXIDE "Nitrous Oxide"
|
||||
@@ -1245,7 +1245,7 @@
|
||||
#define REAGENT_ID_TOXIN "toxin"
|
||||
#define REAGENT_PACID "Polytrinic acid"
|
||||
#define REAGENT_ID_PACID "pacid"
|
||||
#define REAGEMT_PHORON "Phoron"
|
||||
#define REAGENT_PHORON "Phoron"
|
||||
#define REAGENT_ID_PHORON "phoron"
|
||||
#define REAGENT_SPIDERTOXIN "Spidertoxin"
|
||||
#define REAGENT_ID_SPIDERTOXIN "spidertoxin"
|
||||
|
||||
@@ -20,7 +20,7 @@
|
||||
|
||||
/decl/xgm_gas/phoron
|
||||
id = GAS_PHORON
|
||||
name = REAGENT_ID_PHORON
|
||||
name = REAGENT_PHORON
|
||||
|
||||
//Note that this has a significant impact on TTV yield.
|
||||
//Because it is so high, any leftover phoron soaks up a lot of heat and drops the yield pressure.
|
||||
|
||||
@@ -189,7 +189,7 @@
|
||||
occupantData["health"] = H.health
|
||||
occupantData["maxHealth"] = H.getMaxHealth()
|
||||
|
||||
occupantData["hasVirus"] = H.viruses.len
|
||||
occupantData["hasVirus"] = LAZYLEN(H.viruses)
|
||||
|
||||
occupantData["bruteLoss"] = H.getBruteLoss()
|
||||
occupantData["oxyLoss"] = H.getOxyLoss()
|
||||
@@ -379,7 +379,7 @@
|
||||
dat += (occupant.health > (occupant.getMaxHealth() / 2) ? span_blue(health_text) : span_red(health_text))
|
||||
dat += "<br>"
|
||||
|
||||
if(occupant.viruses.len)
|
||||
if(LAZYLEN(occupant.viruses))
|
||||
for(var/datum/disease/D in occupant.GetViruses())
|
||||
if(D.visibility_flags & HIDDEN_SCANNER)
|
||||
continue
|
||||
|
||||
@@ -139,7 +139,7 @@
|
||||
strength = 5
|
||||
|
||||
/datum/reagent/toxin/phoron
|
||||
name = REAGEMT_PHORON
|
||||
name = REAGENT_PHORON
|
||||
id = REAGENT_ID_PHORON
|
||||
description = "Phoron in its liquid form."
|
||||
taste_mult = 1.5
|
||||
|
||||
Reference in New Issue
Block a user