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

Ion storm refactor #33311

Merged
merged 43 commits into from
Nov 20, 2024
Merged

Conversation

ScarKy0
Copy link
Contributor

@ScarKy0 ScarKy0 commented Nov 14, 2024

About the PR

Taking the ion storm refactor out of #32499 to keep it on a seperate PR
Fixes #31485

Why / Balance

Technical details

Seperated the IonStormRule to use an IonStormSystem. Now those with silicon laws can be IonStormed without relying on the event.

Media

Nuh uh.

Requirements

Breaking changes

The logic handling Ion Storms has been moved out of IonStormRule into a new IonStormSystem. Any logic added downstream must be moved there as well.
Ion Storms affecting Silicons is now handled by the IonStormTarget function under the new system.
SiliconLawProvider now has a new subverted field that handles whether the silicon has non-default laws and the AntagonistRole field has been removed from EmaggedSiliconComponent.
EnsureEmaggedRole is now EnsureSubvertedSilicon role and uses the MindId instead of the Entity.

Changelog
🆑 ScarKy0, GoldenCan

  • fix: Ion stormed lawsets no longer persist between shifts.
  • tweak: Cyborgs are now notified when inserted into a chassis with modified laws.

ADMIN:

  • fix: Players that take over emagged/ion stormed borgs now correctly get assigned the antag role.

GoldenCan and others added 29 commits September 27, 2024 18:10
… which also uses IonStormSystem. Added StartIonStormedComponent. Changed stuff related to the Derelict Cyborg. Derelict Cyborg now spawns with a randomized lawset.
…ture Cyborgs and AI's, including those in subsequent rounds.
…screen. It still appears in the Player Manifest.
…relict Cyborg right now) not showing up as 'antag' in the admin player overlay.
@github-actions github-actions bot added the Changes: Sprites Changes: Might require knowledge of spriting or visual design. label Nov 14, 2024
@slarticodefast slarticodefast added A: Silicons Area: Relates to Silicon roles, including AI. T: Of Admin Interest Type: Affects administration work a lot, and might require admins to weigh in on P1: High Priority: Higher priority than other items, but isn't an emergency. and removed S: Untriaged Status: Indicates an item has not been triaged and doesn't have appropriate labels. labels Nov 15, 2024
@slarticodefast slarticodefast self-assigned this Nov 15, 2024
@SaphireLattice SaphireLattice added S: Needs Review Status: Requires additional reviews before being fully accepted and removed S: Needs Review Status: Requires additional reviews before being fully accepted labels Nov 15, 2024
@github-actions github-actions bot added S: Needs Review Status: Requires additional reviews before being fully accepted and removed S: Awaiting Changes Status: Changes are required before another review can happen labels Nov 16, 2024
@slarticodefast slarticodefast added S: Awaiting Changes Status: Changes are required before another review can happen and removed S: Needs Review Status: Requires additional reviews before being fully accepted labels Nov 17, 2024
@github-actions github-actions bot added S: Needs Review Status: Requires additional reviews before being fully accepted and removed S: Awaiting Changes Status: Changes are required before another review can happen labels Nov 17, 2024
Copy link
Member

@slarticodefast slarticodefast left a comment

Choose a reason for hiding this comment

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

Looks good to me. Thanks for the PR!

@slarticodefast slarticodefast added S: Approved Status: Reviewed and approved by at least one maintainer; a PR may require another approval. T: Bugfix Type: Bugs and/or bugfixes T: Refactor Type: Refactor of notable amount of codebase and removed S: Needs Review Status: Requires additional reviews before being fully accepted labels Nov 17, 2024
@Errant-4 Errant-4 mentioned this pull request Nov 19, 2024
2 tasks
@metalgearsloth metalgearsloth merged commit 98caf50 into space-wizards:master Nov 20, 2024
12 checks passed
@slarticodefast slarticodefast mentioned this pull request Nov 20, 2024
2 tasks
@ScarKy0 ScarKy0 deleted the ion-storm-refactor branch December 20, 2024 04:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A: Silicons Area: Relates to Silicon roles, including AI. Changes: Sprites Changes: Might require knowledge of spriting or visual design. P1: High Priority: Higher priority than other items, but isn't an emergency. S: Approved Status: Reviewed and approved by at least one maintainer; a PR may require another approval. size/L Denotes a PR that changes 1000-4999 lines. T: Bugfix Type: Bugs and/or bugfixes T: Of Admin Interest Type: Affects administration work a lot, and might require admins to weigh in on T: Refactor Type: Refactor of notable amount of codebase
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Ion Stormed law order change persists onto new borgs and between rounds
8 participants