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

Reaction fixes, refactoring, and flash powder retune #7654

Merged
merged 6 commits into from
Nov 24, 2024

Conversation

Drulikar
Copy link
Contributor

@Drulikar Drulikar commented Nov 22, 2024

About the pull request

This PR refactors a bit of chemistry code (var cleanup, removal of required_other, rework required_container to do path checking), disables mob reaction for several reactions, and retunes the flash power effect.

Flash powder now creates a chemical light in the contents of its reagent holder (allowing it to be destroyed), has some additional logging, and has had its duration, range, and power retuned:
image

Explain why it's good for the game

This hopefully gives a bit of experimentation to using this reaction, tones down how excessive it can be, and introduces a bit of counterplay now that it is now destroyable.

Testing Photographs and Procedure

Screenshots & Videos

https://youtu.be/HSCVT3V1saQ

Changelog

🆑 Drathek
balance: emp_pulse, flash_powder, and foam reactions are no longer possible in mobs
balance: flash_powder has been reworked to attach to its holder (so it can be destroyed), and values retuned/capped.
refactor: Refactored the metabolize proc for chemistry reactors (removed required_other and changed required_container to use a path check instead)
/:cl:

…ad (still only used by any reaction)

Remove required other reaction parameter
Autodoc comments
…, cannot react in mobs, causes logging, and has 3 different ramping values for duration, range, and power
@Drulikar Drulikar added the Balance Approved This PR has had its balance and gameplay-affecting aspects approved. Cry to the Head-maint about it. label Nov 22, 2024
@cmss13-ci cmss13-ci bot added Balance You need to be a professional veteran game maintainer to comprehend what is being done here. Refactor Make the code harder to read labels Nov 22, 2024
Copy link
Member

@harryob harryob left a comment

Choose a reason for hiding this comment

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

1 nit

code/modules/reagents/chemistry_reactions/other.dm Outdated Show resolved Hide resolved
@harryob harryob added this pull request to the merge queue Nov 24, 2024
Merged via the queue into cmss13-devs:master with commit 54ccd98 Nov 24, 2024
27 checks passed
cmss13-ci bot added a commit that referenced this pull request Nov 24, 2024
@Drulikar Drulikar deleted the Reaction_Fixes branch November 24, 2024 18:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Balance Approved This PR has had its balance and gameplay-affecting aspects approved. Cry to the Head-maint about it. Balance You need to be a professional veteran game maintainer to comprehend what is being done here. Refactor Make the code harder to read
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants