Skip to content

Commit

Permalink
Small fix
Browse files Browse the repository at this point in the history
  • Loading branch information
dvir001 committed Dec 28, 2024
1 parent 6825d15 commit 3fe4006
Show file tree
Hide file tree
Showing 83 changed files with 334 additions and 17 deletions.
10 changes: 0 additions & 10 deletions Content.Server/Shipyard/Systems/ShipyardSystem.Consoles.cs
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@
using Content.Server.StationRecords.Systems;
using Content.Shared.Database;
using Content.Shared.Preferences;
using Content.Shared.Shuttles.Components;
using static Content.Shared.Shipyard.Components.ShuttleDeedComponent;
using Content.Server.Shuttles.Components;
using Content.Server.Station.Components;
Expand All @@ -38,7 +37,6 @@
using Content.Shared.UserInterface;
using Robust.Shared.Audio.Systems;
using Content.Shared.Access;
using Content.Shared.Tiles;
using Content.Server._NF.Smuggling.Components;
using Content.Shared._NF.ShuttleRecords;
using Content.Server.StationEvents.Components;
Expand Down Expand Up @@ -203,14 +201,6 @@ private void OnPurchaseMessage(EntityUid shipyardConsoleUid, ShipyardConsoleComp
shuttleStation = _station.InitializeNewStation(stationProto.Stations[vessel.ID], gridUids);
var metaData = MetaData((EntityUid)shuttleStation);
name = metaData.EntityName;
_shuttle.SetIFFColor(shuttleUid, new Color
{
R = 10,
G = 50,
B = 100,
A = 100
});
_shuttle.AddIFFFlag(shuttleUid, IFFFlags.IsPlayerShuttle);
}

if (TryComp<AccessComponent>(targetId, out var newCap))
Expand Down
4 changes: 4 additions & 0 deletions Resources/Prototypes/_NF/Shipyard/Expedition/ambition.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,10 @@
- Atmospherics
engine:
- AME
addComponents:
- type: IFF
color: '#FFFFFFFF'
flags: [IsPlayerShuttle]

- type: gameMap
id: Ambition
Expand Down
4 changes: 4 additions & 0 deletions Resources/Prototypes/_NF/Shipyard/Expedition/anchor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,10 @@
- Civilian
engine:
- AME
addComponents:
- type: IFF
color: '#FFFFFFFF'
flags: [IsPlayerShuttle]

- type: gameMap
id: Anchor
Expand Down
4 changes: 4 additions & 0 deletions Resources/Prototypes/_NF/Shipyard/Expedition/brigand.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,10 @@
- Expedition
engine:
- AME
addComponents:
- type: IFF
color: '#FFFFFFFF'
flags: [IsPlayerShuttle]

- type: gameMap
id: Brigand
Expand Down
6 changes: 5 additions & 1 deletion Resources/Prototypes/_NF/Shipyard/Expedition/charon.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,11 @@
guidebookPage: ShipyardCharon
class:
- Expedition

addComponents:
- type: IFF
color: '#FFFFFFFF'
flags: [IsPlayerShuttle]

- type: gameMap
id: Charon
mapName: 'Charon'
Expand Down
4 changes: 4 additions & 0 deletions Resources/Prototypes/_NF/Shipyard/Expedition/decadedove.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,10 @@
- Expedition
engine:
- AME
addComponents:
- type: IFF
color: '#FFFFFFFF'
flags: [IsPlayerShuttle]

- type: gameMap
id: DecadeDove
Expand Down
4 changes: 4 additions & 0 deletions Resources/Prototypes/_NF/Shipyard/Expedition/dragonfly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,10 @@
- Expedition
engine:
- AME
addComponents:
- type: IFF
color: '#FFFFFFFF'
flags: [IsPlayerShuttle]

- type: gameMap
id: Dragonfly
Expand Down
4 changes: 4 additions & 0 deletions Resources/Prototypes/_NF/Shipyard/Expedition/gasbender.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,10 @@
- Atmospherics
engine:
- AME
addComponents:
- type: IFF
color: '#FFFFFFFF'
flags: [IsPlayerShuttle]

- type: gameMap
id: Gasbender
Expand Down
4 changes: 4 additions & 0 deletions Resources/Prototypes/_NF/Shipyard/Expedition/gourd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,10 @@
- Civilian
engine:
- AME
addComponents:
- type: IFF
color: '#FFFFFFFF'
flags: [IsPlayerShuttle]

- type: gameMap
id: Gourd
Expand Down
4 changes: 4 additions & 0 deletions Resources/Prototypes/_NF/Shipyard/Expedition/pathfinder.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,10 @@
- Expedition
engine:
- AME
addComponents:
- type: IFF
color: '#FFFFFFFF'
flags: [IsPlayerShuttle]

- type: gameMap
id: Pathfinder
Expand Down
4 changes: 4 additions & 0 deletions Resources/Prototypes/_NF/Shipyard/Expedition/sprinter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,10 @@
- Expedition
engine:
- AME
addComponents:
- type: IFF
color: '#FFFFFFFF'
flags: [IsPlayerShuttle]

- type: gameMap
id: Sprinter
Expand Down
4 changes: 4 additions & 0 deletions Resources/Prototypes/_NF/Shipyard/Nfsd/broadhead.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,10 @@
- Detective
engine:
- Uranium
addComponents:
- type: IFF
color: '#FFFFFFFF'
flags: [IsPlayerShuttle]

- type: gameMap
id: Broadhead
Expand Down
4 changes: 4 additions & 0 deletions Resources/Prototypes/_NF/Shipyard/Nfsd/cleric.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,10 @@
- Medical
engine:
- APU
addComponents:
- type: IFF
color: '#FFFFFFFF'
flags: [IsPlayerShuttle]

- type: gameMap
id: Cleric
Expand Down
15 changes: 9 additions & 6 deletions Resources/Prototypes/_NF/Shipyard/Nfsd/empress.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,14 @@
- Capital
engine:
- AME
addComponents:
- type: IFF
color: '#FFFFFFFF'
flags: [IsPlayerShuttle]
addComponents:
- type: IFF
color: '#FFFFFFFF'
flags: [IsPlayerShuttle]

- type: gameMap
id: Empress
Expand All @@ -28,9 +36,4 @@
!type:NanotrasenNameGenerator
prefixCreator: '14'
- type: StationJobs
availableJobs:
# PrisonGuard: [ 0, 0 ]
# SecurityOfficer: [ 0, 0 ]
# Warden: [ 0, 0 ]
# Brigmedic: [ 0, 0 ]
Chef: [ 0, 0 ]
availableJobs: {} # Removed the chef since we dont have a real loadout for it
4 changes: 4 additions & 0 deletions Resources/Prototypes/_NF/Shipyard/Nfsd/fighter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,10 @@
- Fighter
engine:
- APU
addComponents:
- type: IFF
color: '#FFFFFFFF'
flags: [IsPlayerShuttle]

- type: gameMap
id: Fighter
Expand Down
4 changes: 4 additions & 0 deletions Resources/Prototypes/_NF/Shipyard/Nfsd/hospitaller.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,10 @@
- Medical
engine:
- APU
addComponents:
- type: IFF
color: '#FFFFFFFF'
flags: [IsPlayerShuttle]

- type: gameMap
id: Hospitaller
Expand Down
4 changes: 4 additions & 0 deletions Resources/Prototypes/_NF/Shipyard/Nfsd/interceptor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,10 @@
- Detective
engine:
- Plasma
addComponents:
- type: IFF
color: '#FFFFFFFF'
flags: [IsPlayerShuttle]

- type: gameMap
id: Interceptor
Expand Down
4 changes: 4 additions & 0 deletions Resources/Prototypes/_NF/Shipyard/Nfsd/paladin.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,10 @@
guidebookPage: Null
class:
- Fighter
addComponents:
- type: IFF
color: '#FFFFFFFF'
flags: [IsPlayerShuttle]

- type: gameMap
id: Paladin
Expand Down
4 changes: 4 additions & 0 deletions Resources/Prototypes/_NF/Shipyard/Nfsd/prowler.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,10 @@
- Patrol
engine:
- AME
addComponents:
- type: IFF
color: '#FFFFFFFF'
flags: [IsPlayerShuttle]

- type: gameMap
id: Prowler
Expand Down
4 changes: 4 additions & 0 deletions Resources/Prototypes/_NF/Shipyard/Nfsd/rogue.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,10 @@
- Fighter
engine:
- APU
addComponents:
- type: IFF
color: '#FFFFFFFF'
flags: [IsPlayerShuttle]

- type: gameMap
id: Rogue
Expand Down
4 changes: 4 additions & 0 deletions Resources/Prototypes/_NF/Shipyard/Nfsd/templar.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,10 @@
- Pursuit
engine:
- APU
addComponents:
- type: IFF
color: '#FFFFFFFF'
flags: [IsPlayerShuttle]

- type: gameMap
id: Templar
Expand Down
4 changes: 4 additions & 0 deletions Resources/Prototypes/_NF/Shipyard/Nfsd/wasp.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,10 @@
- Expedition
engine:
- AME
addComponents:
- type: IFF
color: '#FFFFFFFF'
flags: [IsPlayerShuttle]

- type: gameMap
id: Wasp
Expand Down
4 changes: 4 additions & 0 deletions Resources/Prototypes/_NF/Shipyard/Nfsd/wendigo.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,10 @@
- Pursuit
engine:
- Uranium
addComponents:
- type: IFF
color: '#FFFFFFFF'
flags: [IsPlayerShuttle]

- type: gameMap
id: Wendigo
Expand Down
4 changes: 4 additions & 0 deletions Resources/Prototypes/_NF/Shipyard/Scrap/bison.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,10 @@
- Civilian
engine:
- Plasma
addComponents:
- type: IFF
color: '#FFFFFFFF'
flags: [IsPlayerShuttle]

- type: gameMap
id: Bison
Expand Down
4 changes: 4 additions & 0 deletions Resources/Prototypes/_NF/Shipyard/Scrap/canister.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,10 @@
- Civilian
engine:
- Plasma
addComponents:
- type: IFF
color: '#FFFFFFFF'
flags: [IsPlayerShuttle]

- type: gameMap
id: Canister
Expand Down
4 changes: 4 additions & 0 deletions Resources/Prototypes/_NF/Shipyard/Scrap/disciple.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,10 @@
- Civilian
engine:
- Plasma
addComponents:
- type: IFF
color: '#FFFFFFFF'
flags: [IsPlayerShuttle]

- type: gameMap
id: Disciple
Expand Down
4 changes: 4 additions & 0 deletions Resources/Prototypes/_NF/Shipyard/Scrap/nugget.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,10 @@
- Kitchen
engine:
- Plasma
addComponents:
- type: IFF
color: '#FFFFFFFF'
flags: [IsPlayerShuttle]

- type: gameMap
id: Nugget
Expand Down
4 changes: 4 additions & 0 deletions Resources/Prototypes/_NF/Shipyard/Scrap/orange.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,10 @@
- Salvage
engine:
- Uranium
addComponents:
- type: IFF
color: '#FFFFFFFF'
flags: [IsPlayerShuttle]

- type: gameMap
id: Orange
Expand Down
4 changes: 4 additions & 0 deletions Resources/Prototypes/_NF/Shipyard/Scrap/point.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,10 @@
- Science
engine:
- Plasma
addComponents:
- type: IFF
color: '#FFFFFFFF'
flags: [IsPlayerShuttle]

- type: gameMap
id: Point
Expand Down
4 changes: 4 additions & 0 deletions Resources/Prototypes/_NF/Shipyard/Scrap/tide.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,10 @@
- Civilian
engine:
- Plasma
addComponents:
- type: IFF
color: '#FFFFFFFF'
flags: [IsPlayerShuttle]

- type: gameMap
id: Tide
Expand Down
4 changes: 4 additions & 0 deletions Resources/Prototypes/_NF/Shipyard/Sr/bottleneck.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,10 @@
- Civilian
engine:
- Plasma
addComponents:
- type: IFF
color: '#FFFFFFFF'
flags: [IsPlayerShuttle]

- type: gameMap
id: Bottleneck
Expand Down
4 changes: 4 additions & 0 deletions Resources/Prototypes/_NF/Shipyard/Sr/broom.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,10 @@
- Civilian
engine:
- Plasma
addComponents:
- type: IFF
color: '#FFFFFFFF'
flags: [IsPlayerShuttle]

- type: gameMap
id: Broom
Expand Down
4 changes: 4 additions & 0 deletions Resources/Prototypes/_NF/Shipyard/Sr/chauffeur.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,10 @@
- Civilian
engine:
- Plasma
addComponents:
- type: IFF
color: '#FFFFFFFF'
flags: [IsPlayerShuttle]

- type: gameMap
id: Chauffeur
Expand Down
Loading

0 comments on commit 3fe4006

Please sign in to comment.