Rama #938
No reviewers
Labels
No labels
Area/Accessibility
Area/Admin Tooling
Area/Art
Area/Atmospherics
Area/Cargo
Area/Character / Species
Area/Chat
Area/Combat
Area/Command
Area/Database
Area/Engineering
Area/Graphics
Area/Guidebook
Area/Mapping
Area/Medical
Area/Preferences / Options
Area/Roleplay / Lore
Area/Roundflow / Antag
Area/Rules
Area/Salvage
Area/Science
Area/Security
Area/Service
Area/Silicons
bug
Changes: Audio
Changes: Map
Changes: No C#
Changes: Sprites
Changes: UI
documentation
DON'T MERGE
duplicate
good first issue
help wanted
holding to vote
Note/Port
Note/Upstream
Priority
Critical
Priority
High
Priority
Low
Priority
Normal
size/L
size/M
size/S
size/XL
size/XS
State/Approved
State/invalid
State/Merge Conflict
State/Needs Changes
State/Needs Discussion
State/Untriaged
Type/Balance Change
Type/Bugfix
Type/Documentation
Type/Enhancement
Type/Feature
Type/Question
wontfix
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
Byrd-Station/Byrd!938
Loading…
Reference in a new issue
No description provided.
Delete branch ":species/shadowkin/rama"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
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
@ -0,0 +19,4 @@private void OnComponentInit(EntityUid uid, RamaComponent component, ComponentInit args){if (component.RamaAction == null)Pretty confident that this check is uselss, but some components did it so 🤷
Yeah, it does nothing. I don't like code that does nothing so I prefer if it was removed.
@ -0,0 +13,4 @@{base.Initialize();SubscribeLocalEvent<RamaComponent, ComponentInit>(OnComponentInit);Some do it on MapInit instead, I'm confused why that would be better.
MapInitis only run once which is good for an action that won't change/update.ComponentInitcan be called more than once in a component's lifetime and at any moment.@ -0,0 +4,4 @@public sealed partial class RamaComponent : Component{[DataField]public EntityUid? RamaAction;For consistency, this should be
RamaActionActionEntityandRamaActionIdshould be moved here fromRamaSystem. You can checkGhostComponentfor reference.LGTM. Thank you for your contribution!