Skip to content

refactor: Replace throwing and rebounding vars with traits#12635

Open
boskoramen wants to merge 1 commit into
cmss13-devs:masterfrom
boskoramen:launched-rebounding-trait
Open

refactor: Replace throwing and rebounding vars with traits#12635
boskoramen wants to merge 1 commit into
cmss13-devs:masterfrom
boskoramen:launched-rebounding-trait

Conversation

@boskoramen

@boskoramen boskoramen commented Jul 12, 2026

Copy link
Copy Markdown
Contributor

About the pull request

Change extracted from launching refactor PR: https://github.com/cmss13-devs/cmss13/pull/7110/changes

Replaces throwing and rebounding state variables with traits

Explain why it's good for the game

Reduces vars on movable atoms that are only used for tracking state on a specific system (launching movement system)

Testing Photographs and Procedure

I just tested throwing for a few use cases: crusher charger, runner pounce, catching smart discs for preds, and rebounding by throwing items at walls.

Think it'd be more constructive to test this in TM.

Changelog

🆑 TheDonkified
refactor: Replace throwing and rebounding datum-level vars with traits
/:cl:

@github-project-automation github-project-automation Bot moved this to Awaiting Review in Review Backlog Jul 12, 2026
@cmss13-ci cmss13-ci Bot added Refactor Make the code harder to read size/M Denotes a PR that changes 50-199 lines, ignoring generated files. labels Jul 12, 2026
@boskoramen
boskoramen force-pushed the launched-rebounding-trait branch from f46b0e6 to cc83088 Compare July 13, 2026 00:38

@fira fira left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

LGTM, maybe TM worth

@github-project-automation github-project-automation Bot moved this from Awaiting Review to Partially Approved / Mergeable in Review Backlog Jul 14, 2026
@fira fira added the Testmerge Candidate we'll test this while you're asleep and the server has 10 players label Jul 17, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Refactor Make the code harder to read size/M Denotes a PR that changes 50-199 lines, ignoring generated files. Testmerge Candidate we'll test this while you're asleep and the server has 10 players

Projects

Status: Partially Approved / Mergeable

Development

Successfully merging this pull request may close these issues.

2 participants