Skip to content

Commit

Permalink
Make shuttles dead drop hint exempt, parenting (new-frontiers-14#2061)
Browse files Browse the repository at this point in the history
  • Loading branch information
whatston3 authored Sep 25, 2024
1 parent f4d8386 commit c8f9631
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 14 deletions.
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
namespace Content.Server._NF.Smuggling.Components;

/// <summary>
/// A station that has this will not have hint spawn on it.
/// A station that has this will not have round-start dead drop hints spawn on it.
/// </summary>
[RegisterComponent]
public sealed partial class StationDeadDropHintExemptComponent : Component;
6 changes: 6 additions & 0 deletions Resources/Prototypes/_NF/Entities/Stations/base.yml
Original file line number Diff line number Diff line change
Expand Up @@ -108,3 +108,9 @@
components:
- type: StationDeadDrop
maxDeadDrops: 2 # A few to be stumbled upon.

- type: entity
id: BaseStationDeadDropHintExempt
abstract: true
components:
- type: StationDeadDropHintExempt
17 changes: 4 additions & 13 deletions Resources/Prototypes/_NF/Entities/Stations/nanotrasen.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,10 @@
- BaseStationMail # Mail
- BaseStationSectorServices # Hosts all sector-wide services
- BaseStationDampening
- BaseStationDeadDropHintExempt # No hints
categories: [ HideSpawnMenu ]
components:
- type: Transform
- type: StationDeadDropHintExempt

- type: entity
id: StandardFrontierOutpost
Expand Down Expand Up @@ -90,6 +90,7 @@
- BaseStationRenameFaxes
- BaseStationRenameWarpPoints
- BaseStationSiliconLawFrontierShips
- BaseStationDeadDropHintExempt # No hints on ship generation
categories: [ HideSpawnMenu ]
components:
- type: Transform
Expand All @@ -105,31 +106,21 @@
- BaseStationRenameFaxes
- BaseStationRenameWarpPoints
- BaseStationSiliconLawFrontierShips
- BaseStationDeadDropHintExempt # No hints on ship generation
categories: [ HideSpawnMenu ]
components:
- type: Transform

- type: entity
id: StandardFrontierSecurityExpeditionVessel
parent:
- BaseStation
- BaseStationJobsSpawning
- BaseStationRecords
- BaseStationAlertLevels
- BaseStationAllEventsEligible
- BaseStationRenameFaxes
- BaseStationRenameWarpPoints
- BaseStationSiliconLawFrontierShips
- StandardFrontierSecurityVessel
- BaseStationExpeditions
categories: [ HideSpawnMenu ]
components:
- type: Transform

- type: entity
id: StandardFrontierExpeditionVessel
parent:
- StandardFrontierVessel
- BaseStationExpeditions
categories: [ HideSpawnMenu ]
components:
- type: Transform

0 comments on commit c8f9631

Please sign in to comment.