From e1245025b2c2c305988baf738e1b6c6b34bd8e0e Mon Sep 17 00:00:00 2001 From: Arokha Sieyes Date: Sat, 29 Sep 2018 18:35:00 -0400 Subject: [PATCH] Fixes protean brain icons Was supposed to have a special sprite --- code/modules/organs/subtypes/nano.dm | 40 +++++++++++++++++++++++++++- 1 file changed, 39 insertions(+), 1 deletion(-) diff --git a/code/modules/organs/subtypes/nano.dm b/code/modules/organs/subtypes/nano.dm index 9c60bf9d08a..39398f5909a 100644 --- a/code/modules/organs/subtypes/nano.dm +++ b/code/modules/organs/subtypes/nano.dm @@ -131,9 +131,47 @@ icon_state = "posi" parent_organ = BP_TORSO + brain_type = /obj/item/device/mmi/digital/posibrain/nano + +/obj/item/organ/internal/mmi_holder/posibrain/nano/robotize() + . = ..() + icon_state = "posi1" + +/obj/item/organ/internal/mmi_holder/posibrain/nano/mechassist() + . = ..() + icon_state = "posi1" + /obj/item/organ/internal/mmi_holder/posibrain/nano/update_from_mmi() - ..() + . = ..() icon = initial(icon) icon_state = "posi1" + stored_mmi.icon_state = "posi1" stored_mmi.brainmob.languages = owner.languages + +// The 'out on the ground' object, not the organ holder +/obj/item/device/mmi/digital/posibrain/nano + name = "protean posibrain" + desc = "A more advanced version of the standard posibrain, typically found in protean bodies." + icon = 'icons/mob/species/protean/protean.dmi' + icon_state = "posi" + +/obj/item/device/mmi/digital/posibrain/nano/initialize() + . = ..() + icon_state = "posi" + +/obj/item/device/mmi/digital/posibrain/nano/request_player() + icon_state = initial(icon_state) + return //We don't do this stuff + +/obj/item/device/mmi/digital/posibrain/nano/reset_search() + icon_state = initial(icon_state) + return //Don't do this either because of the above + +/obj/item/device/mmi/digital/posibrain/nano/transfer_personality() + . = ..() + icon_state = "posi1" + +/obj/item/device/mmi/digital/posibrain/nano/transfer_identity() + . = ..() + icon_state = "posi1"