[MIRROR] fix bodyscanner (#9668)

Co-authored-by: Kashargul <144968721+Kashargul@users.noreply.github.com>
This commit is contained in:
CHOMPStation2StaffMirrorBot
2024-12-20 13:58:13 -07:00
committed by GitHub
parent e49000ca80
commit 9d288cdb28
4 changed files with 6 additions and 6 deletions

View File

@@ -8,7 +8,7 @@
#define GAS_VOLATILE_FUEL "volatile_fuel" #define GAS_VOLATILE_FUEL "volatile_fuel"
// Gas Reagents // Gas Reagents
#define REAGENT_CARBON_DIOXIDE "Nitrogen" #define REAGENT_CARBON_DIOXIDE "Carbon Dioxide"
#define REAGENT_NITROGEN "Nitrogen" #define REAGENT_NITROGEN "Nitrogen"
#define REAGENT_ID_NITROGEN "nitrogen" #define REAGENT_ID_NITROGEN "nitrogen"
#define REAGENT_NITROUS_OXIDE "Nitrous Oxide" #define REAGENT_NITROUS_OXIDE "Nitrous Oxide"
@@ -1245,7 +1245,7 @@
#define REAGENT_ID_TOXIN "toxin" #define REAGENT_ID_TOXIN "toxin"
#define REAGENT_PACID "Polytrinic acid" #define REAGENT_PACID "Polytrinic acid"
#define REAGENT_ID_PACID "pacid" #define REAGENT_ID_PACID "pacid"
#define REAGEMT_PHORON "Phoron" #define REAGENT_PHORON "Phoron"
#define REAGENT_ID_PHORON "phoron" #define REAGENT_ID_PHORON "phoron"
#define REAGENT_SPIDERTOXIN "Spidertoxin" #define REAGENT_SPIDERTOXIN "Spidertoxin"
#define REAGENT_ID_SPIDERTOXIN "spidertoxin" #define REAGENT_ID_SPIDERTOXIN "spidertoxin"

View File

@@ -20,7 +20,7 @@
/decl/xgm_gas/phoron /decl/xgm_gas/phoron
id = GAS_PHORON id = GAS_PHORON
name = REAGENT_ID_PHORON name = REAGENT_PHORON
//Note that this has a significant impact on TTV yield. //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. //Because it is so high, any leftover phoron soaks up a lot of heat and drops the yield pressure.

View File

@@ -189,7 +189,7 @@
occupantData["health"] = H.health occupantData["health"] = H.health
occupantData["maxHealth"] = H.getMaxHealth() occupantData["maxHealth"] = H.getMaxHealth()
occupantData["hasVirus"] = H.viruses.len occupantData["hasVirus"] = LAZYLEN(H.viruses)
occupantData["bruteLoss"] = H.getBruteLoss() occupantData["bruteLoss"] = H.getBruteLoss()
occupantData["oxyLoss"] = H.getOxyLoss() occupantData["oxyLoss"] = H.getOxyLoss()
@@ -379,7 +379,7 @@
dat += (occupant.health > (occupant.getMaxHealth() / 2) ? span_blue(health_text) : span_red(health_text)) dat += (occupant.health > (occupant.getMaxHealth() / 2) ? span_blue(health_text) : span_red(health_text))
dat += "<br>" dat += "<br>"
if(occupant.viruses.len) if(LAZYLEN(occupant.viruses))
for(var/datum/disease/D in occupant.GetViruses()) for(var/datum/disease/D in occupant.GetViruses())
if(D.visibility_flags & HIDDEN_SCANNER) if(D.visibility_flags & HIDDEN_SCANNER)
continue continue

View File

@@ -139,7 +139,7 @@
strength = 5 strength = 5
/datum/reagent/toxin/phoron /datum/reagent/toxin/phoron
name = REAGEMT_PHORON name = REAGENT_PHORON
id = REAGENT_ID_PHORON id = REAGENT_ID_PHORON
description = "Phoron in its liquid form." description = "Phoron in its liquid form."
taste_mult = 1.5 taste_mult = 1.5