Fix Silicon Examine Text

Move registration of human prefs signal to flavor_text/carbon subtype.
Remove human specific constraint from update_prefs_flavor_text.
Add flavor_text/silicon subtype.
This commit is contained in:
psq95
2023-07-07 23:34:48 +01:00
parent 3a02116785
commit 0ef3779196
4 changed files with 36 additions and 11 deletions
+2 -1
View File
@@ -57,7 +57,8 @@
/mob/living/silicon/ComponentInitialize()
. = ..()
AddElement(/datum/element/flavor_text, "", "Silicon Flavor Text", "", MAX_FLAVOR_LEN, FALSE, TRUE, "silicon_flavor_text")
// GS13: Silicon Examine Text
AddElement(/datum/element/flavor_text/silicon, "", "Silicon Flavor Text", "", MAX_FLAVOR_LEN, FALSE, TRUE, "silicon_flavor_text")
AddElement(/datum/element/flavor_text, "", "Temporary Flavor Text", "This should be used only for things pertaining to the current round!")
/mob/living/silicon/med_hud_set_health()
+3
View File
@@ -372,6 +372,9 @@
var/mob/living/silicon/robot/R = new /mob/living/silicon/robot(loc)
// GS13: Silicon Examine Text
SEND_SIGNAL(R, COMSIG_SILICON_PREFS_COPIED_TO, src)
R.gender = gender
R.invisibility = 0