From 293e88ac940fb7e2deb313c44744508014cd7c40 Mon Sep 17 00:00:00 2001 From: VigersRay Date: Fri, 12 Jul 2024 04:53:20 +0300 Subject: [PATCH] =?UTF-8?q?=D1=84=D0=B8=D0=BA=D1=81=D1=8B=20=D0=BB=D0=B8?= =?UTF-8?q?=D0=BD=D1=82=D0=B5=D1=80=D0=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../_Sunrise/Shuttles/CodeEquipmentComponent.cs | 12 ++++++------ .../Prototypes/_Sunrise/Entities/Stations/base.yml | 3 +++ Resources/Prototypes/tags.yml | 5 ++++- 3 files changed, 13 insertions(+), 7 deletions(-) diff --git a/Content.Server/_Sunrise/Shuttles/CodeEquipmentComponent.cs b/Content.Server/_Sunrise/Shuttles/CodeEquipmentComponent.cs index d7fe6d7f45..bff68cab9f 100644 --- a/Content.Server/_Sunrise/Shuttles/CodeEquipmentComponent.cs +++ b/Content.Server/_Sunrise/Shuttles/CodeEquipmentComponent.cs @@ -7,12 +7,12 @@ public sealed partial class CodeEquipmentComponent : Component { public List Shuttles = []; - [DataField("shuttlePath")] - public ResPath ShuttlePath = new("Maps/_Sunrise/Shuttles/gamma_armory.yml"); + [DataField(required: true)] + public ResPath ShuttlePath; - [DataField] - public string TargetCode = "gamma"; + [DataField(required: true)] + public string TargetCode; - [DataField] - public string PriorityTag = "DockGamma"; + [DataField(required: true)] + public string PriorityTag; } diff --git a/Resources/Prototypes/_Sunrise/Entities/Stations/base.yml b/Resources/Prototypes/_Sunrise/Entities/Stations/base.yml index f474307a7c..2285da2bfe 100644 --- a/Resources/Prototypes/_Sunrise/Entities/Stations/base.yml +++ b/Resources/Prototypes/_Sunrise/Entities/Stations/base.yml @@ -66,6 +66,9 @@ abstract: true components: - type: CodeEquipment + shuttlePath: /Maps/_Sunrise/Shuttles/gamma_armory.yml + targetCode: gamma + priorityTag: DockGamma - type: entity id: BasePrisonStationShuttles diff --git a/Resources/Prototypes/tags.yml b/Resources/Prototypes/tags.yml index d7a7f089b1..05ea501051 100644 --- a/Resources/Prototypes/tags.yml +++ b/Resources/Prototypes/tags.yml @@ -545,7 +545,7 @@ - type: Tag id: DrinkSpaceGlue -- type: Tag +- type: Tag id: Dropper - type: Tag @@ -1350,4 +1350,7 @@ - type: Tag id: WriteIgnoreStamps +- type: Tag + id: SolarAssemblyFlatpack + # ALPHABETICAL