]> git.smokeofanarchy.ru Git - space-station-14.git/commit
Improve Gas Yaml Serialization (#40070)
authorNemanja <98561806+EmoGarbage404@users.noreply.github.com>
Thu, 4 Sep 2025 18:48:46 +0000 (14:48 -0400)
committerGitHub <noreply@github.com>
Thu, 4 Sep 2025 18:48:46 +0000 (20:48 +0200)
commit7dbe1b219c5105030aa53beba77a5a8e8280571e
tree669494189f300be6e70c04eba7a5210603375122
parentd33478e41ff3d406cf39601df85a548bb72561a5
Improve Gas Yaml Serialization (#40070)

* Make yaml gas serialization cleaner

* fix exception

* fix validation code

* rudimentary test & permissive loading

* change it a bit

* Test fixes and adjustments
13 files changed:
Content.IntegrationTests/Tests/Atmos/GasArrayTest.cs [new file with mode: 0644]
Content.Server/Atmos/EntitySystems/AtmosphereSystem.Gases.cs
Content.Server/Atmos/Reactions/GasReactionPrototype.cs
Content.Shared/Atmos/GasArraySerializer.cs [new file with mode: 0644]
Content.Shared/Atmos/GasMixture.cs
Resources/Prototypes/Atmospherics/reactions.yml
Resources/Prototypes/Catalog/Fills/Items/gas_tanks.yml
Resources/Prototypes/Entities/Clothing/Shoes/magboots.yml
Resources/Prototypes/Entities/Mobs/Player/mothershipcore.yml
Resources/Prototypes/Entities/Objects/Tools/jetpacks.yml
Resources/Prototypes/Entities/Objects/Weapons/Throwable/grenades.yml
Resources/Prototypes/Entities/Structures/Power/substation.yml
Resources/Prototypes/Entities/Structures/Storage/Canisters/gas_canisters.yml