[MIRROR] Food Synthesizers (#12885)

Co-authored-by: Poojawa <Poojawa@users.noreply.github.com>
Co-authored-by: Kashargul <144968721+Kashargul@users.noreply.github.com>
This commit is contained in:
CHOMPStation2StaffMirrorBot
2026-07-09 22:11:41 +02:00
committed by GitHub
co-authored by Poojawa Kashargul
parent 3d332058f5
commit 725fac5bb3
31 changed files with 2382 additions and 62 deletions
+2 -3
View File
@@ -101,7 +101,7 @@
var/aflags
var/breath_type = GAS_O2
/datum/transhuman/body_record/New(copyfrom, add_to_db = 0, ckeylock = 0)
/datum/transhuman/body_record/New(copyfrom, add_to_db = FALSE, ckeylock = FALSE)
..()
if(istype(copyfrom, /datum/transhuman/body_record))
init_from_br(copyfrom)
@@ -118,7 +118,7 @@
..()
return QDEL_HINT_HARDDEL // For now at least there is no easy way to clear references to this in GLOB.machines etc.
/datum/transhuman/body_record/proc/init_from_mob(mob/living/carbon/human/M, add_to_db = 0, ckeylock = 0, database_key)
/datum/transhuman/body_record/proc/init_from_mob(mob/living/carbon/human/M, add_to_db = FALSE, ckeylock = FALSE, database_key)
ASSERT(!QDELETED(M))
ASSERT(istype(M))
@@ -212,7 +212,6 @@
for(var/datum/modifier/mod as anything in M.modifiers)
if(mod.flags & MODIFIER_GENETIC)
genetic_modifiers.Add(mod.type)
if(add_to_db)
SStranscore.add_body(src, database_key = database_key)