mirror of
https://github.com/WWhiteDreamProject/wwdpublic.git
synced 2026-04-18 05:59:03 +03:00
# 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 --- <details><summary><h1>(Not) Media</h1></summary> <p> No. </p> </details> --- # Changelog 🆑 Eris - add: The Modular Computer system has been ported. Expect cool stuff to come soon. --------- Signed-off-by: sleepyyapril <123355664+sleepyyapril@users.noreply.github.com> Signed-off-by: Eris <erisfiregamer1@gmail.com> Co-authored-by: sleepyyapril <123355664+sleepyyapril@users.noreply.github.com> Co-authored-by: VMSolidus <evilexecutive@gmail.com> (cherry picked from commit 08154a9f8ffa5e9dcdbc9abc14b94d2ac202248b)
21 lines
602 B
C#
21 lines
602 B
C#
using Content.Shared.Containers.ItemSlots;
|
|
using Robust.Shared.Audio;
|
|
using Robust.Shared.GameStates;
|
|
using Robust.Shared.Prototypes;
|
|
|
|
namespace Content.Shared._Arcadis.Computer;
|
|
|
|
/// <summary>
|
|
/// Main component for the ComputerDisk system
|
|
/// </summary>
|
|
[RegisterComponent, NetworkedComponent]
|
|
//[Access(typeof(ComputerDiskSystem))]
|
|
public sealed partial class ModularComputerComponent : Component
|
|
{
|
|
[DataField]
|
|
public string DiskSlot = "modularComputerDiskSlot";
|
|
|
|
[DataField]
|
|
public SoundSpecifier? DiskInsertSound = new SoundPathSpecifier("/Audio/_Arcadis/computer_startup.ogg");
|
|
}
|