Convert species, organ_data, and rlimb_data to TG (#19277)

* First test batch bulk change

* remove desync'd old file

* Small change
This commit is contained in:
Aura Dusklight
2026-03-21 10:06:36 +02:00
committed by GitHub
parent c29f169011
commit c6f10bfeb3
32 changed files with 337 additions and 187 deletions
+2 -1
View File
@@ -332,7 +332,8 @@
if(owner)
handle_organ_mod_special()
if(!ignore_prosthetic_prefs && owner && owner.client && owner.client.prefs && owner.client.prefs.read_preference(/datum/preference/name/real_name) == owner.real_name)
var/status = owner.client.prefs.organ_data[organ_tag]
var/list/organ_data = owner.client.prefs.read_preference(/datum/preference/organ_data)
var/status = organ_data?[organ_tag]
if(status == FBP_ASSISTED)
mechassist()
else if(status == FBP_MECHANICAL)
+4 -2
View File
@@ -666,11 +666,13 @@ This function completely restores a damaged organ to perfect condition.
if(owner && !ignore_prosthetic_prefs)
if(owner.client && owner.client.prefs && owner.client.prefs.read_preference(/datum/preference/name/real_name) == owner.real_name)
var/status = owner.client.prefs.organ_data[organ_tag]
var/list/organ_data = owner.client.prefs.read_preference(/datum/preference/organ_data)
var/status = organ_data?[organ_tag]
if(status == "amputated")
remove_rejuv()
else if(status == "cyborg")
var/robodata = owner.client.prefs.rlimb_data[organ_tag]
var/list/rlimb_data = owner.client.prefs.read_preference(/datum/preference/rlimb_data)
var/robodata = rlimb_data?[organ_tag]
if(robodata)
robotize(robodata)
else