Skip to content

Refactor FabricateCandySystem Into Its Generic Equivalent#566

Merged
DangerRevolution merged 5 commits intoSimple-Station:masterfrom
Mnemotechnician:refactor/candy
Jul 23, 2024
Merged

Refactor FabricateCandySystem Into Its Generic Equivalent#566
DangerRevolution merged 5 commits intoSimple-Station:masterfrom
Mnemotechnician:refactor/candy

Conversation

@Mnemotechnician
Copy link
Copy Markdown
Contributor

Description

Refactors the nyano shitcode responsible for allowing borgs to dispense candies into a more generic variant, that allows to define what action dispenses what entity, and allowing an arbitrary number of such actions on an entity.

Requested by @DangerRevolution

Media

8mb.video-XtD-Kj7NIrga.mp4

Changelog

No cl no fun

@github-actions github-actions bot added Changes: C# Changes any cs files Changes: YML Changes any yml files labels Jul 19, 2024
@SimpleStation14 SimpleStation14 changed the title Refactor FabricateCandySystem into its generic equivalent Refactor FabricateCandySystem Into Its Generic Equivalent Jul 19, 2024
Copy link
Copy Markdown
Member

@DEATHB4DEFEAT DEATHB4DEFEAT left a comment

Choose a reason for hiding this comment

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

Move the namespace from Nyano.

@DEATHB4DEFEAT DEATHB4DEFEAT added Priority: 4-Low Should be resolved at some point Size: 4-Small For small issues/PRs Type: Cleanup Like Rework but small labels Jul 19, 2024
@github-actions github-actions bot added the Status: Needs Review Someone please review this label Jul 19, 2024
Copy link
Copy Markdown
Contributor

@DangerRevolution DangerRevolution left a comment

Choose a reason for hiding this comment

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

W rizZ

Copy link
Copy Markdown
Member

@VMSolidus VMSolidus left a comment

Choose a reason for hiding this comment

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

I'll approve this once the two borg actions are moved out of Nyano. :)


namespace Content.Shared.Actions.Events;

public sealed partial class FabricateActionEvent : InstantActionEvent
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.

Suggested change
public sealed partial class FabricateActionEvent : InstantActionEvent
public sealed class FabricateActionEvent : InstantActionEvent

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

It's a DataDefinition so it needs to be partial

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Fuck, I accidentally applied the suggestion too... well, fuck me.

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.

webedit™️

@DangerRevolution DangerRevolution dismissed VMSolidus’s stale review July 23, 2024 09:04

moved from Nyano namespaces; review is STALE!!

@DangerRevolution

This comment was marked as outdated.

Mnemotechnician and others added 2 commits July 23, 2024 12:05
Co-authored-by: DEATHB4DEFEAT <[email protected]>
Signed-off-by: Mnemotechnican <[email protected]>
@DangerRevolution
Copy link
Copy Markdown
Contributor

going to re-run this until no more unrelated test fails

@DangerRevolution DangerRevolution merged commit cf0498e into Simple-Station:master Jul 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Changes: C# Changes any cs files Changes: YML Changes any yml files Priority: 4-Low Should be resolved at some point Size: 4-Small For small issues/PRs Status: Needs Review Someone please review this Type: Cleanup Like Rework but small

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants