diff --git a/modular_chomp/code/modules/mob/living/carbon/human/species/station/protean/protean_powers.dm b/modular_chomp/code/modules/mob/living/carbon/human/species/station/protean/protean_powers.dm index ec6da8dd80..5bd0d1033c 100644 --- a/modular_chomp/code/modules/mob/living/carbon/human/species/station/protean/protean_powers.dm +++ b/modular_chomp/code/modules/mob/living/carbon/human/species/station/protean/protean_powers.dm @@ -705,3 +705,44 @@ to_call = /mob/living/carbon/human/proc/nano_copy_body #undef PER_LIMB_STEEL_COST + +/mob/living/carbon/human/proc/chest_transparency_toggle() + set name = "transparency toggle (chest only)" + set category = "Abilities.Protean" + if(stat || world.time < last_special) + return + last_special = world.time + 50 + for(var/obj/item/organ/external/proteanlimbs as anything in src.organs) + if(proteanlimbs.organ_tag != BP_TORSO) + continue + proteanlimbs.transparent = !proteanlimbs.transparent + visible_message("\The [src]'s internal composition seems to change.") + update_icons_body() + update_hair() + +/obj/effect/protean_ability/chest_transparency + ability_name = "transparency toggle (chest only)" + desc = "Makes your chest transparent." + icon = 'modular_chomp/icons/obj/slimeborg/slimecore.dmi' + icon_state = "core" + to_call = /mob/living/carbon/human/proc/chest_transparency_toggle + +/mob/living/carbon/human/proc/transparency_toggle() + set name = "Toggle Transparency" + set category = "Abilities.Protean" + if(stat || world.time < last_special) + return + last_special = world.time + 50 + for(var/obj/item/organ/external/proteanlimbs as anything in src.organs) + proteanlimbs.transparent = !proteanlimbs.transparent + + visible_message("\The [src]'s internal composition seems to change.") + update_icons_body() + update_hair() + +/obj/effect/protean_ability/transparency_for_entire_body + ability_name = "Toggle Transparency" + desc = "transparency toggle for your entire body" + icon = 'modular_chomp/icons/obj/slimeborg/slimecore.dmi' + icon_state = "core" + to_call = /mob/living/carbon/human/proc/transparency_toggle diff --git a/modular_chomp/icons/obj/slimeborg/slimecore.dmi b/modular_chomp/icons/obj/slimeborg/slimecore.dmi new file mode 100644 index 0000000000..761a44804c Binary files /dev/null and b/modular_chomp/icons/obj/slimeborg/slimecore.dmi differ