Skip to content
This repository was archived by the owner on May 22, 2025. It is now read-only.

Commit ced7ad4

Browse files
authored
Fixes ipc insurgents being invisible if swapping from any organic species (#22492)
* have it back * Update tongue.dm
1 parent 33edca1 commit ced7ad4

File tree

2 files changed

+6
-3
lines changed
  • code/modules

2 files changed

+6
-3
lines changed

code/modules/mob/living/carbon/human/species_types/IPC.dm

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -427,6 +427,8 @@ ipc martial arts stuff
427427
TRAIT_NODEFIB,
428428
TRAIT_NOHUNGER //nuclear powered or some shit, idk
429429
)
430+
mutant_bodyparts = list("ipc_antenna", "ipc_chassis") //no screen
431+
species_abilities = list() //no screen change
430432

431433
//infiltrators
432434
/datum/species/ipc/self/insurgent
@@ -514,9 +516,9 @@ ipc martial arts stuff
514516
fixed_mut_color = fake_species.fixed_mut_color
515517
H.bubble_icon = fake_species.bubble_icon
516518
yogs_draw_robot_hair = TRUE
517-
var/robotic = (fake_species.inherent_biotypes & MOB_ROBOTIC)
519+
518520
for(var/obj/item/bodypart/O in H.bodyparts)
519-
O.render_like_organic = robotic //make sure to copy limbs as normal
521+
O.render_like_organic = TRUE // Makes limbs render like organic limbs instead of augmented limbs, check bodyparts.dm
520522

521523
ADD_TRAIT(H, TRAIT_DISGUISED, type)
522524
H.update_body_parts()

code/modules/surgery/organs/tongue.dm

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -275,7 +275,8 @@
275275

276276
/obj/item/organ/tongue/robot/handle_speech(datum/source, list/speech_args)
277277
..()
278-
speech_args[SPEECH_SPANS] |= SPAN_ROBOT
278+
if(!HAS_TRAIT(source, TRAIT_DISGUISED)) //disguised voice font
279+
speech_args[SPEECH_SPANS] |= SPAN_ROBOT
279280

280281
/obj/item/organ/tongue/snail
281282
name = "snailtongue"

0 commit comments

Comments
 (0)