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’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Modular Computer System #1556

Merged
merged 16 commits into from
Jan 17, 2025
Merged

Conversation

Erisfiregamer1
Copy link
Contributor

Description

Ports the Modular Computer system from Arcadis. I'll document it more later, for now just look to the provided .yml for reference.


TODO

  • Disk Burner (for creating program disks)
  • Some way to make a modular computer

(Not) Media

No.


Changelog

🆑 Eris

  • add: The Modular Computer system has been ported. Expect cool stuff to come soon.

@Erisfiregamer1 Erisfiregamer1 marked this pull request as ready for review January 15, 2025 21:35
@github-actions github-actions bot added Changes: C# Changes any cs files Changes: YML Changes any yml files Changes: Audio Changes any ogg files labels Jan 15, 2025
Content.Shared/_Arcadis/Computer/ModularComputerSystem.cs Outdated Show resolved Hide resolved
Content.Shared/_Arcadis/Computer/ModularComputerSystem.cs Outdated Show resolved Hide resolved
Content.Shared/_Arcadis/Computer/ModularComputerSystem.cs Outdated Show resolved Hide resolved
Content.Shared/_Arcadis/Computer/ModularComputerSystem.cs Outdated Show resolved Hide resolved
Content.Shared/_Arcadis/Computer/ModularComputerSystem.cs Outdated Show resolved Hide resolved
Content.Shared/_Arcadis/Computer/ModularComputerSystem.cs Outdated Show resolved Hide resolved
Content.Shared/_Arcadis/Computer/ModularComputerSystem.cs Outdated Show resolved Hide resolved
if (args.Container.ID != component.DiskSlot)
return;

UpdateComputer(new Entity<ModularComputerComponent>(uid, component));
Copy link
Contributor

Choose a reason for hiding this comment

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

You end up doing the same checks for UpdateComputer as you do below. You could easily remove those by putting this later.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Wait, that works? If the function encounters a check like that, returning would exit out of InsertDisk?

Copy link
Contributor

Choose a reason for hiding this comment

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

Yeah, but you do the same checks for InsertDisk as you do for UpdateComputer, just remove the checks on UpdateComputer and put this lower.

@Erisfiregamer1
Copy link
Contributor Author

D:

^ The face of someone who is afraid of localizations

@github-actions github-actions bot added the Changes: Localization Changes any ftl files label Jan 17, 2025
@github-actions github-actions bot added the Status: Needs Review Someone please review this label Jan 17, 2025
Signed-off-by: sleepyyapril <[email protected]>
@Erisfiregamer1
Copy link
Contributor Author

Should be good now. I hope. Probably.

Erisfiregamer1 and others added 2 commits January 16, 2025 21:34
Co-authored-by: VMSolidus <[email protected]>
Signed-off-by: Eris <[email protected]>
@VMSolidus VMSolidus merged commit 08154a9 into Simple-Station:master Jan 17, 2025
10 of 11 checks passed
SimpleStation14 added a commit that referenced this pull request Jan 17, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Changes: Audio Changes any ogg files Changes: C# Changes any cs files Changes: Localization Changes any ftl files Changes: YML Changes any yml files Status: Needs Review Someone please review this
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants