Skip to content

Commit

Permalink
Спавн колизея
Browse files Browse the repository at this point in the history
  • Loading branch information
FireFoxPhoenix committed Dec 7, 2024
1 parent 4eb4b8f commit 3237c99
Show file tree
Hide file tree
Showing 4 changed files with 27 additions and 1 deletion.
20 changes: 20 additions & 0 deletions Content.Server/Shuttles/Components/StationColiseumComponent.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
using Robust.Shared.Map;
using Robust.Shared.Utility;

namespace Content.Server.Shuttles.Components;

[RegisterComponent]
public sealed partial class StationColiseumComponent : Component
{
[DataField]
public float ShuttleIndex;

[DataField]
public ResPath Map = new("/Maps/Corvax/POI/coliseum.yml");

[DataField]
public EntityUid? Entity;

[DataField]
public EntityUid? MapEntity;
}
5 changes: 5 additions & 0 deletions Resources/Prototypes/Corvax/Entities/Stations/base.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
- type: entity
id: BaseStationColiseum
abstract: true
components:
- type: StationColiseum
2 changes: 1 addition & 1 deletion Resources/Prototypes/Corvax/PointsOflnterest/Coliseum.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
stationProto: StandardFrontierOutpost
components:
- type: StationNameSetup
mapNameTemplate: 'Синдикатовcкий аванпост Чарли'
mapNameTemplate: 'Колизей'
- type: StationJobs
availableJobs: {}
- type: StationDeadDropHintExempt
1 change: 1 addition & 0 deletions Resources/Prototypes/_NF/Entities/Stations/nanotrasen.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
- BaseStationDampening
- BaseStationDeadDropHintExempt # No hints
- BaseStationRenameWarpPoints
- BaseStationColiseum # Corvax-Frontier
categories: [ HideSpawnMenu ]
components:
- type: Transform
Expand Down

0 comments on commit 3237c99

Please sign in to comment.