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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adds extra signals for storage add/remove, + minor signal doc #83247

Merged
merged 6 commits into from
May 24, 2024

Conversation

nikothedude
Copy link
Contributor

@nikothedude nikothedude commented May 15, 2024

About The Pull Request

Title.

Converts TCG decks to use signals instead of a proc override, as is better practice.

Why It's Good For The Game

It's generally better practice to not snowflake behavior like this onto the storage itself, instead using signals/procs.
Also, its good to have parity between add/remove in signals.

Changelog

馃啈
code: New signals for atom storage remove and insert
/:cl:

@tgstation-server tgstation-server added the Code Improvement Code is now easier to copy paste. label May 15, 2024
nikothedude and others added 2 commits May 15, 2024 15:18
Co-authored-by: MrMelbert <51863163+MrMelbert@users.noreply.github.com>
@nikothedude nikothedude changed the title Adds a item removal signal to storage, converts TCG decks to use that signal + minor signal doc Adds extra procs/signals for storage add/remove, + minor signal doc May 15, 2024
@nikothedude nikothedude changed the title Adds extra procs/signals for storage add/remove, + minor signal doc Adds extra signals for storage add/remove, + minor signal doc May 15, 2024
code/game/atom/atom_storage.dm Outdated Show resolved Hide resolved
@ZephyrTFA ZephyrTFA marked this pull request as draft May 17, 2024 09:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Code Improvement Code is now easier to copy paste.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants