Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Hazmat Joe voicelines round 2 #4106

Closed

Conversation

Mister-moon1
Copy link
Contributor

@Mister-moon1 Mister-moon1 commented Aug 4, 2023

About the pull request

Adds custom voicelines to the hazmat joe variant of the working joe as well as some minor tweaks to their durability

Explain why it's good for the game

Increases soul as the hazmat variant joes were quite literally built different, they are more durable and have a different voice box, both of which are emulated here

Testing Photographs and Procedure

Screenshots & Videos

Put screenshots and videos here with an empty line between the screenshots and the <details> tags.

Changelog

🆑

soundadd: New hazmat joe voicelines
balance: Hazmat joe has a minor increase to durability and burn resistance in return for being a bit slower

/:cl:

@github-actions github-actions bot added Sound Blast 5 minutes of bass boosted music to our players Balance You need to be a professional veteran game maintainer to comprehend what is being done here. labels Aug 4, 2023
usr.emote(initial(path.key))
return TRUE

/datum/species/synthetic/colonial/engi_joe
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Really don't like how the hazard joe is a seperate species from working joe, it should at least be a subtype since it copies all of the stats except for small adjustments. This also likely needs to be accounted for in isworkingjoe define since it wouldnt be caught.

path = text2path(params["emotePath"])
slowdown = 0.6 // a bit slower in return for the buffs
total_health = 225 // a bit more beefy
mob_inherent_traits = list(TRAIT_SUPER_STRONG, TRAIT_INTENT_EYES, TRAIT_EMOTE_CD_EXEMPT, TRAIT_CANNOT_EAT, TRAIT_ENGI_JOE)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It really shouldn't be done as a trait. One thing you can do is making it a subtype, and add a variable to the working joe as to what kind of joe it is.

Comment on lines 200 to 211
/datum/species/synthetic/colonial/engi_joe/engi/handle_post_spawn(mob/living/carbon/human/joe)
. = ..()
give_action(joe, /datum/action/joe_emote_panel)

if(!(path in subtypesof(/datum/emote/living/carbon/human/synthetic/working_joe)))
return
/datum/species/synthetic/colonial/engi_joe/handle_death(mob/living/carbon/human/dying_joe, gibbed)
if(!gibbed)
playsound(dying_joe.loc, pick_weight(list('sound/voice/joe/death_normal.ogg' = 75, 'sound/voice/joe/death_silence.ogg' = 10, 'sound/voice/joe/death_tomorrow.ogg' = 10,'sound/voice/joe/death_dream.ogg' = 5)), 25, FALSE)
return ..()

COOLDOWN_START(src, panel_emote_cooldown, 2.5 SECONDS)
usr.emote(initial(path.key))
return TRUE
/datum/species/synthetic/colonial/engi_joe/open_emote_panel()
var/datum/joe_emote_panel/ui = new(usr)
ui.ui_interact(usr)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Stuff like this is why it needs to be a subtype. so much repeated code... Perhaps you can have the engi_joe overright open_emote_panel and give it a argument that tells it to give it hazard joe voicelines?

@github-actions
Copy link
Contributor

This PR has been inactive for long enough to be automatically marked as stale. This means it is at risk of being auto closed in ~ 7 days, please address any outstanding review items and ensure your PR is finished, if these are all true and you are auto-staled anyway, you need to actively ask maintainers if your PR will be merged. Once you have done any of the previous actions then you should request a maintainer remove the stale label on your PR, to reset the stale timer. If you feel no maintainer will respond in that time, you may wish to close this PR youself, while you seek maintainer comment, as you will then be able to reopen the PR yourself

@github-actions github-actions bot added the Stale beg a maintainer to review your PR label Aug 12, 2023
@github-actions github-actions bot closed this Aug 20, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Balance You need to be a professional veteran game maintainer to comprehend what is being done here. Sound Blast 5 minutes of bass boosted music to our players Stale beg a maintainer to review your PR
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants