]> git.smokeofanarchy.ru Git - space-station-14.git/commit
New event: Approaching unknown shuttle (#24490)
authorEd <96445749+TheShuEd@users.noreply.github.com>
Fri, 10 May 2024 11:35:59 +0000 (14:35 +0300)
committerGitHub <noreply@github.com>
Fri, 10 May 2024 11:35:59 +0000 (04:35 -0700)
commite522bbf90d8d18ee0909b3c2b708598eb50bec61
tree4fe25fbe89593674e7628e1b1c93c4b30b62b10c
parentd061aa437e18777e5163b6aedc0826835e3363f5
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>
30 files changed:
Content.IntegrationTests/PoolManager.Cvars.cs
Content.Server/GameTicking/Rules/Components/LoadMapRuleComponent.cs
Content.Server/GameTicking/Rules/LoadMapRuleSystem.cs
Content.Server/GridPreloader/GridPreloaderComponent.cs [new file with mode: 0644]
Content.Server/GridPreloader/GridPreloaderSystem.cs [new file with mode: 0644]
Content.Server/Station/Systems/StationSpawningSystem.cs
Content.Server/StationEvents/Components/StationEventComponent.cs
Content.Server/StationEvents/Events/StationEventSystem.cs
Content.Shared/CCVar/CCVars.cs
Content.Shared/Clothing/Components/LoadoutComponent.cs
Content.Shared/Clothing/LoadoutSystem.cs
Content.Shared/GridPreloader/Prototypes/PreloadedGridPrototype.cs [new file with mode: 0644]
Content.Shared/GridPreloader/Systems/SharedGridPreloaderSystem.cs [new file with mode: 0644]
Content.Shared/Station/SharedStationSpawningSystem.cs
Resources/ConfigPresets/Build/development.toml
Resources/Locale/en-US/ghost/roles/ghost-role-component.ftl
Resources/Locale/en-US/station-events/events/unknown-shuttle.ftl [new file with mode: 0644]
Resources/Maps/Shuttles/ShuttleEvent/disaster_evacpod.yml [new file with mode: 0644]
Resources/Maps/Shuttles/ShuttleEvent/honki.yml [new file with mode: 0644]
Resources/Maps/Shuttles/ShuttleEvent/lost_cargo.yml [new file with mode: 0644]
Resources/Maps/Shuttles/ShuttleEvent/striker.yml [moved from Resources/Maps/Shuttles/striker.yml with 100% similarity]
Resources/Maps/Shuttles/ShuttleEvent/syndie_evacpod.yml [new file with mode: 0644]
Resources/Maps/Shuttles/ShuttleEvent/traveling_china_cuisine.yml [new file with mode: 0644]
Resources/Prototypes/Entities/Markers/Spawners/mobs.yml
Resources/Prototypes/Entities/Mobs/Player/humanoid.yml
Resources/Prototypes/Entities/Stations/base.yml
Resources/Prototypes/GameRules/events.yml
Resources/Prototypes/GameRules/unknown_shuttles.yml [new file with mode: 0644]
Resources/Prototypes/Roles/Jobs/Fun/misc_startinggear.yml
Resources/Prototypes/Shuttles/shuttle_incoming_event.yml [new file with mode: 0644]