[MIRROR] Convert species, organ_data, and rlimb_data to TG (#12570)

This commit is contained in:
CHOMPStation2StaffMirrorBot
2026-03-21 14:19:04 +01:00
committed by GitHub
parent 30f5891bfa
commit 80fcaab9dc
32 changed files with 343 additions and 193 deletions
@@ -394,10 +394,11 @@
var/from_slot = ""
from_slot = "You'll hatch using your current appearance"
if(reload_slot == "From Slot" && client)
if(client.prefs.species == SPECIES_PROTEAN) // Exploit protection
if(client.prefs.read_preference(/datum/preference/choiced/species) == SPECIES_PROTEAN) // Exploit protection
to_chat(src,span_warning("You cannot copy nanoform prosthetic limbs from this species. Please try another character."))
return
var/slot_is_synth = ((O_BRAIN in client.prefs.organ_data) && client.prefs.organ_data[O_BRAIN])
var/list/organ_data = client.prefs.read_preference(/datum/preference/organ_data)
var/slot_is_synth = (organ_data && (O_BRAIN in organ_data) && organ_data[O_BRAIN])
if(slot_is_synth && !isSynthetic()) // Prevents some pretty weird situations
to_chat(src,span_warning("Cannot apply character appearance. [slot_is_synth ? "The slot's character is synthetic." : "The slot's character is organic."] Slot must match the current body's synthetic state. Please try another character."))
return