New event: Approaching unknown shuttle (#24490)
* setup codebase * Add first shuttle * tak * sync striker * sync 2 * pipipi * Preloaded roundstart shuttles! * Make it abstract "PreloaderGrid" not "PreloaderShuttle" * to do * added china cuisin shuttle * fixes * add disaster evacpod * remove enemy * final shuttles * weight 5 -> 10 * move data to component * remove autotrailer touching * doc, respath * fix frozen positioning * fixes + cvar * finally * fix evacpod * remove blacklistrules * remove `UnknownShuttleSpawnRule`, refactor `LoadMapRule` to support preloaded grids * use tryload * cleanup * fixes * use preloadedgrid for loneops * weight unknown shuttles differently (preliminal) * leftover * cleanup and raffling * partial review * singleton gridpreloader no station coupling * fix grid atmoses * `roleLoadout` support for `LoadoutComponent`, fix missing gear * weighting changes * init logic fix --------- Co-authored-by: Kara <lunarautomaton6@gmail.com>
This commit is contained in:
@@ -404,7 +404,7 @@
|
||||
minimumPlayers: 20
|
||||
duration: 1
|
||||
- type: LoadMapRule
|
||||
mapPath: /Maps/Shuttles/striker.yml
|
||||
preloadedGrid: ShuttleStriker
|
||||
- type: NukeopsRule
|
||||
roundEndBehavior: Nothing
|
||||
- type: AntagSelection
|
||||
|
||||
74
Resources/Prototypes/GameRules/unknown_shuttles.yml
Normal file
74
Resources/Prototypes/GameRules/unknown_shuttles.yml
Normal file
@@ -0,0 +1,74 @@
|
||||
- type: entity
|
||||
id: UnknownShuttleCargoLost
|
||||
parent: BaseGameRule
|
||||
noSpawn: true
|
||||
components:
|
||||
- type: StationEvent
|
||||
startAnnouncement: station-event-unknown-shuttle-incoming
|
||||
startAudio:
|
||||
path: /Audio/Announcements/attention.ogg
|
||||
weight: 5
|
||||
reoccurrenceDelay: 30
|
||||
duration: 1
|
||||
- type: LoadMapRule
|
||||
preloadedGrid: ShuttleCargoLost
|
||||
|
||||
- type: entity
|
||||
id: UnknownShuttleTravelingCuisine
|
||||
parent: BaseGameRule
|
||||
noSpawn: true
|
||||
components:
|
||||
- type: StationEvent
|
||||
startAnnouncement: station-event-unknown-shuttle-incoming
|
||||
startAudio:
|
||||
path: /Audio/Announcements/attention.ogg
|
||||
weight: 5
|
||||
reoccurrenceDelay: 30
|
||||
duration: 1
|
||||
- type: LoadMapRule
|
||||
preloadedGrid: TravelingCuisine
|
||||
|
||||
- type: entity
|
||||
id: UnknownShuttleDisasterEvacPod
|
||||
parent: BaseGameRule
|
||||
noSpawn: true
|
||||
components:
|
||||
- type: StationEvent
|
||||
startAnnouncement: station-event-unknown-shuttle-incoming
|
||||
startAudio:
|
||||
path: /Audio/Announcements/attention.ogg
|
||||
weight: 5
|
||||
reoccurrenceDelay: 30
|
||||
duration: 1
|
||||
- type: LoadMapRule
|
||||
preloadedGrid: DisasterEvacPod
|
||||
|
||||
- type: entity
|
||||
id: UnknownShuttleHonki
|
||||
parent: BaseGameRule
|
||||
noSpawn: true
|
||||
components:
|
||||
- type: StationEvent
|
||||
startAnnouncement: station-event-unknown-shuttle-incoming
|
||||
startAudio:
|
||||
path: /Audio/Announcements/attention.ogg
|
||||
weight: 2
|
||||
reoccurrenceDelay: 30
|
||||
duration: 1
|
||||
- type: LoadMapRule
|
||||
preloadedGrid: Honki
|
||||
|
||||
- type: entity
|
||||
id: UnknownShuttleSyndieEvacPod
|
||||
parent: BaseGameRule
|
||||
noSpawn: true
|
||||
components:
|
||||
- type: StationEvent
|
||||
startAnnouncement: station-event-unknown-shuttle-incoming
|
||||
startAudio:
|
||||
path: /Audio/Announcements/attention.ogg
|
||||
weight: 2
|
||||
reoccurrenceDelay: 30
|
||||
duration: 1
|
||||
- type: LoadMapRule
|
||||
preloadedGrid: SyndieEvacPod
|
||||
Reference in New Issue
Block a user