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

Adds improvisation traits #3836

Closed
wants to merge 4 commits into from
Closed

Adds improvisation traits #3836

wants to merge 4 commits into from

Conversation

Katskan
Copy link
Contributor

@Katskan Katskan commented Jul 7, 2023

About the pull request

Adds a new skill for survivor doctor/synthetic roles, surgical improvisation. The skill removes penalty for using improvised/substitute tools and can reduce penalty for working on poor surfaces at mastery.

Explain why it's good for the game

Helps improve some of the gameplay experience of the survivor synthetic, and also adds a reason to take survivor doctor instead of researcher, since without this the researcher is simply better. Also, FORECON support tech gets the skill because it is soulful that a recon marine, who is expected to be more motivated/skilled, can do IB repair a little faster in the middle of nowhere.

Testing Photographs and Procedure

Tested on a private lobby to make sure it runs without breaking things and works as intended. Tested by spawning a survivor synthetic and a CMO, and having them do ribcage opening/closing/sawing on an OR table and rollerbed, and comparing times vs the expected times in code.

Changelog

🆑
add: New trait, surgical improvisation
/:cl:

@github-actions
Copy link
Contributor

github-actions bot commented Jul 7, 2023

You currently have a negative Fix/Feature pull request delta of -15. Maintainers may close this PR at will. Fixing issues or improving the codebase will improve this score.

@github-actions github-actions bot added the Feature Feature coder badge label Jul 7, 2023
@Katskan Katskan marked this pull request as ready for review July 7, 2023 21:47
@Katskan Katskan requested a review from morrowwolf as a code owner July 7, 2023 21:47
@cm13-github cm13-github added the Merge Conflict PR can't be merged because it touched too much code label Jul 13, 2023
@cm13-github cm13-github removed the Merge Conflict PR can't be merged because it touched too much code label Jul 17, 2023
@@ -111,8 +112,8 @@ affected_limb, or location vars. Also, in that case there may be a wait between
for(var/obj/surface in get_turf(target)) //Otherwise, get the lowest surface modifier of objects on their turf.
if(surface_modifier > surface.surgery_duration_multiplier)
surface_modifier = surface.surgery_duration_multiplier

step_duration *= surface_modifier
if(!(HAS_TRAIT(user, TRAIT_FASTLEARNER)))
Copy link
Member

Choose a reason for hiding this comment

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

No go for fast learner

@@ -102,7 +102,8 @@ affected_limb, or location vars. Also, in that case there may be a wait between

if(ispath(tool_type)) //Tool speed modifier. This means hand & any item are 100% efficient as surgical tools.
tool_modifier = tools[tool_type]
step_duration *= tool_modifier
if(!(HAS_TRAIT(user, TRAIT_IMPROVISER)))
step_duration *= tool_modifier
Copy link
Member

Choose a reason for hiding this comment

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

Just half the malus rather than completely remove it, regular tools should still be better

@morrowwolf morrowwolf marked this pull request as draft July 19, 2023 06:35
@Katskan
Copy link
Contributor Author

Katskan commented Jul 19, 2023

Renegged on agreed end-result prior to starting work.

@Katskan Katskan closed this Jul 19, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature Feature coder badge
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants