Rama #938

Merged
EchoOfNothing merged 3 commits from :species/shadowkin/rama into master 2026-09-20 15:40:34 +00:00
Member

Short description

Re-added the rama feature to shadowkins from EE.

It just makes them fall asleep, nothing else.

Why we need to add this

It's funny when a kin hits the fall asleep button.

Help

There's a million different ways to add an action, so please tell me if this is the "correct" way of doing it.

Media (Video/Screenshots)

Checklist

Ingame Changelog

🆑 Quill

  • add: Shadowkins can now Rama.
<!-- Link definitions, do not edit --> [guidelines]: https://docs.spacestation14.com/en/general-development/codebase-info/pull-request-guidelines.html [ruleset]: https://rules.byrdstation.space/#h.vigrxrnffwji ## Short description Re-added the rama feature to shadowkins from EE. It just makes them fall asleep, nothing else. ## Why we need to add this It's funny when a kin hits the fall asleep button. ## Help There's a million different ways to add an action, so please tell me if this is the "correct" way of doing it. ## Media (Video/Screenshots) <video src="/attachments/4b45efbb-7abd-44cf-aecf-950ac7b9b36a" title="Screencast_20260918_233135" controls></video> ## Checklist <!-- Check boxes for faster reviewing of your PR --> - [x] I do not require assistance to complete the PR. - [x] I have verified that the changes work before posting/requesting review of my PR. - [x] I have added screenshots/videos of the changes, or this PR does not change in-game mechanics. - [x] I have read the [Pull Request and Changelog Guidelines][guidelines] and [Byrd Station's Contributor Ruleset][ruleset]. ### Ingame Changelog :cl: Quill - add: Shadowkins can now Rama.
Added a rama action to all shadowkins
Some checks failed
Close PRs on master / run (pull_request_target) Has been skipped
Labels: Size / size-label (pull_request_target) Failing after 4s
Labels: PR / labeler (pull_request_target) Successful in 4s
CRLF Check / CRLF Check (pull_request) Successful in 53s
RSI Validator / Validate RSIs (pull_request) Successful in 1m7s
RGA schema validator / YAML RGA schema validator (pull_request) Successful in 1m13s
Map file schema validator / YAML map schema validator (pull_request) Successful in 7m49s
YAML Linter / YAML Linter (pull_request) Failing after 7m39s
Test Packaging / Test Packaging (pull_request) Successful in 16m32s
6fdc1ee285
@ -0,0 +19,4 @@
private void OnComponentInit(EntityUid uid, RamaComponent component, ComponentInit args)
{
if (component.RamaAction == null)
Author
Member

Pretty confident that this check is uselss, but some components did it so 🤷

Pretty confident that this check is uselss, but some components did it so 🤷
Owner

Yeah, it does nothing. I don't like code that does nothing so I prefer if it was removed.

Yeah, it does nothing. I don't like code that does nothing so I prefer if it was removed.
QuillTheCreature marked this conversation as resolved
@ -0,0 +13,4 @@
{
base.Initialize();
SubscribeLocalEvent<RamaComponent, ComponentInit>(OnComponentInit);
Author
Member

Some do it on MapInit instead, I'm confused why that would be better.

Some do it on MapInit instead, I'm confused why that would be better.
Owner

MapInit is only run once which is good for an action that won't change/update. ComponentInit can be called more than once in a component's lifetime and at any moment.

`MapInit` is only run once which is good for an action that won't change/update. `ComponentInit` can be called more than once in a component's lifetime and at any moment.
QuillTheCreature marked this conversation as resolved
EchoOfNothing requested changes 2026-09-20 11:57:58 +00:00
Dismissed
@ -0,0 +4,4 @@
public sealed partial class RamaComponent : Component
{
[DataField]
public EntityUid? RamaAction;
Owner

For consistency, this should be RamaActionActionEntity and RamaActionId should be moved here from RamaSystem. You can check GhostComponent for reference.

For consistency, this should be `RamaActionActionEntity` and `RamaActionId` should be moved here from `RamaSystem`. You can check `GhostComponent` for reference.
QuillTheCreature marked this conversation as resolved
Updated the rama system to move the action id over to the component and renamed the entity uid
Some checks failed
Labels: PR / labeler (pull_request_target) Successful in 4s
Labels: Size / size-label (pull_request_target) Successful in 3s
CRLF Check / CRLF Check (pull_request) Successful in 46s
RGA schema validator / YAML RGA schema validator (pull_request) Successful in 1m12s
RSI Validator / Validate RSIs (pull_request) Successful in 1m16s
Map file schema validator / YAML map schema validator (pull_request) Successful in 8m37s
YAML Linter / YAML Linter (pull_request) Failing after 9m0s
Test Packaging / Test Packaging (pull_request) Successful in 19m52s
PR Changelogs / changelog (pull_request_target) Successful in 38s
afad607952
EchoOfNothing left a comment

LGTM. Thank you for your contribution!

LGTM. Thank you for your contribution!
EchoOfNothing referenced this pull request from a commit 2026-09-20 15:40:35 +00:00
byrdbot referenced this pull request from a commit 2026-09-20 15:41:12 +00:00
orangeAlligator referenced this pull request from a commit 2026-09-27 18:41:58 +00:00
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
Byrd-Station/Byrd!938
No description provided.