]> git.smokeofanarchy.ru Git - space-station-14.git/commit
Ice anomaly spawns ice underneath it (#21227)
authorKISS <59531932+YuriyKiss@users.noreply.github.com>
Mon, 6 Nov 2023 02:41:42 +0000 (04:41 +0200)
committerGitHub <noreply@github.com>
Mon, 6 Nov 2023 02:41:42 +0000 (19:41 -0700)
commit4cacb7b9e3220e44e94d27c5d8c3b83c4d93b1a0
tree0bed66f460d72b8d97a796ac84449d57ff2a8a55
parentb1f39ad2ad6ff6933c4c3612f7a9f9fadec09b69
Ice anomaly spawns ice underneath it (#21227)

* added TileAnomalySystem to AnomalyIce

* added FloorIce for station

* created ice crust entity to spawn under ice anomaly

* update draw depth for ice crust

* uh oh, added ice-sliding but at what cost

* resolved mispredicts

* updated sprite alpha, removed appearance component (not used)

* fixed function not reflecting event name, left datafield attributes blank, added one comment about saving data (?)

---------

Co-authored-by: Yurii Kis <yurii.kis@smartteksas.com>
Content.Server/Anomaly/Effects/EntityAnomalySystem.cs
Content.Shared/Anomaly/Effects/Components/EntitySpawnAnomalyComponent.cs
Content.Shared/Movement/Components/FrictionContactsComponent.cs [new file with mode: 0644]
Content.Shared/Movement/Components/MovementSpeedModifierComponent.cs
Content.Shared/Movement/Systems/FrictionContactsSystem.cs [new file with mode: 0644]
Content.Shared/Movement/Systems/MovementSpeedModifierSystem.cs
Resources/Prototypes/Entities/Objects/Misc/ice_crust.yml [new file with mode: 0644]
Resources/Prototypes/Entities/Structures/Specific/Anomaly/anomalies.yml
Resources/Textures/Objects/Misc/ice_crust.rsi/ice.png [new file with mode: 0644]
Resources/Textures/Objects/Misc/ice_crust.rsi/meta.json [new file with mode: 0644]