Skip to content

Commit

Permalink
Adds color customization and talk sounds to the roach mutantrace (goo…
Browse files Browse the repository at this point in the history
…nstation#4426)

* wip roach color customization

* roach color customization, roach talk sounds

* lowers pitch of roach talk sounds

* makes roach skin tone be based on skin tone
  • Loading branch information
Lythine authored Apr 24, 2021
1 parent 744797d commit ed83f19
Show file tree
Hide file tree
Showing 10 changed files with 10 additions and 1 deletion.
4 changes: 3 additions & 1 deletion code/datums/mutantraces.dm
Original file line number Diff line number Diff line change
Expand Up @@ -1682,6 +1682,7 @@
name = "roach"
icon_state = "roach"
override_attack = 0
voice_override = "roach"
race_mutation = /datum/bioEffect/mutantrace/roach
mutant_organs = list("tail" = /obj/item/organ/tail/roach)
mutant_folder = 'icons/mob/roach.dmi'
Expand All @@ -1690,7 +1691,8 @@
l_limb_arm_type_mutantrace = /obj/item/parts/human_parts/arm/mutant/roach/left
r_limb_leg_type_mutantrace = /obj/item/parts/human_parts/leg/mutant/roach/right
l_limb_leg_type_mutantrace = /obj/item/parts/human_parts/leg/mutant/roach/left
mutant_appearance_flags = (NOT_DIMORPHIC | HAS_NO_SKINTONE | HAS_NO_EYES | BUILT_FROM_PIECES | HEAD_HAS_OWN_COLORS | WEARS_UNDERPANTS)
mutant_appearance_flags = (NOT_DIMORPHIC | HAS_HUMAN_EYES | BUILT_FROM_PIECES | FIX_COLORS | HAS_SPECIAL_HAIR | TORSO_HAS_SKINTONE | WEARS_UNDERPANTS)
eye_state = "eyes_roach"
typevulns = list("blunt" = 1.66, "crush" = 1.66)

New(mob/living/carbon/human/M)
Expand Down
1 change: 1 addition & 0 deletions code/modules/sound/sound.dm
Original file line number Diff line number Diff line change
Expand Up @@ -601,6 +601,7 @@ var/global/list/default_channel_volumes = list(1, 1, 0.1, 0.5, 0.5, 1, 1)
"skelly" = sound('sound/misc/talk/skelly.ogg'), "skelly!" = sound('sound/misc/talk/skelly_exclaim.ogg'),"skelly?" = sound('sound/misc/talk/skelly_ask.ogg'), \
"blub" = sound('sound/misc/talk/blub.ogg'), "blub!" = sound('sound/misc/talk/blub_exclaim.ogg'),"blub?" = sound('sound/misc/talk/blub_ask.ogg'), \
"cow" = sound('sound/misc/talk/cow.ogg'), "cow!" = sound('sound/misc/talk/cow_exclaim.ogg'),"cow?" = sound('sound/misc/talk/cow_ask.ogg'), \
"roach" = sound('sound/misc/talk/roach.ogg'), "roach!" = sound('sound/misc/talk/roach_exclaim.ogg'),"roach?" = sound('sound/misc/talk/roach_ask.ogg'), \
"radio" = sound('sound/misc/talk/radio.ogg')\
)

Expand Down
3 changes: 3 additions & 0 deletions code/modules/sound/soundCache.dm
Original file line number Diff line number Diff line change
Expand Up @@ -919,6 +919,9 @@ var/global/list/soundCache = list(
"sound/misc/talk/lizard.ogg" = 'sound/misc/talk/lizard.ogg',\
"sound/misc/talk/lizard_ask.ogg" = 'sound/misc/talk/lizard_ask.ogg',\
"sound/misc/talk/lizard_exclaim.ogg" = 'sound/misc/talk/lizard_exclaim.ogg',\
"sound/misc/talk/roach.ogg" = 'sound/misc/talk/roach.ogg',\
"sound/misc/talk/roach_ask.ogg" = 'sound/misc/talk/roach_ask.ogg',\
"sound/misc/talk/roach_exclaim.ogg" = 'sound/misc/talk/roach_exclaim.ogg',\
"sound/misc/talk/radio.ogg" = 'sound/misc/talk/radio.ogg',\
"sound/misc/talk/radio2.ogg" = 'sound/misc/talk/radio2.ogg',\
"sound/misc/talk/radio_ai.ogg" = 'sound/misc/talk/radio_ai.ogg',\
Expand Down
2 changes: 2 additions & 0 deletions code/obj/item/mob_parts/human_parts.dm
Original file line number Diff line number Diff line change
Expand Up @@ -1492,10 +1492,12 @@
/obj/item/parts/human_parts/arm/mutant/roach
icon = 'icons/mob/roach.dmi'
partIcon = 'icons/mob/roach.dmi'
skintoned = 1

/obj/item/parts/human_parts/leg/mutant/roach
icon = 'icons/mob/roach.dmi'
partIcon = 'icons/mob/roach.dmi'
skintoned = 1

////// ACTUAL ROACH LIMBS //////
/obj/item/parts/human_parts/arm/mutant/roach/left
Expand Down
1 change: 1 addition & 0 deletions code/obj/item/organs/tail.dm
Original file line number Diff line number Diff line change
Expand Up @@ -266,3 +266,4 @@
organ_image_under_suit_1 = "roach_under_suit"
organ_image_under_suit_2 = null
organ_image_over_suit = "roach_over_suit"
colorful = 1
Binary file modified icons/mob/human_hair.dmi
Binary file not shown.
Binary file modified icons/mob/roach.dmi
Binary file not shown.
Binary file added sound/misc/talk/roach.ogg
Binary file not shown.
Binary file added sound/misc/talk/roach_ask.ogg
Binary file not shown.
Binary file added sound/misc/talk/roach_exclaim.ogg
Binary file not shown.

0 comments on commit ed83f19

Please sign in to comment.