mirror of
https://github.com/DeltaV-Station/Delta-v.git
synced 2026-09-30 16:17:27 +00:00
* Initial port of goobstation factorio, missing disposals integration and faxing. Also ports impstations modification for robotic arms to have static power draw. Also adds automation slots to silos and advanced microwave. * Ports goobstation factorio fax automation, adds to the guidebook entry info about gas canisters. * Ported Goob Disposals. Removed part about taking mats out of storage silo cuz it ain't implemented yet. Seems to work. * Adds constructor circuitboard to research cuz I forgor
24 lines
843 B
C#
24 lines
843 B
C#
// SPDX-FileCopyrightText: 2025 GoobBot <uristmchands@proton.me>
|
|
// SPDX-FileCopyrightText: 2025 deltanedas <@deltanedas:kde.org>
|
|
//
|
|
// SPDX-License-Identifier: AGPL-3.0-or-later
|
|
|
|
using Content.Shared._Goobstation.Factory.Slots;
|
|
using Robust.Shared.GameStates;
|
|
|
|
namespace Content.Shared._Goobstation.Factory;
|
|
|
|
/// <summary>
|
|
/// Adds slots to an entity that can be controlled by automation machines if it also has <see cref="AutomationComponent"/>.
|
|
/// Slots using <see cref="AutomationSlot"/> can provide or accept items.
|
|
/// </summary>
|
|
[RegisterComponent, NetworkedComponent, Access(typeof(AutomationSystem))]
|
|
public sealed partial class AutomationSlotsComponent : Component
|
|
{
|
|
/// <summary>
|
|
/// All input slots that can be automated.
|
|
/// </summary>
|
|
[DataField(required: true)]
|
|
public List<AutomationSlot> Slots = new();
|
|
}
|