]> git.smokeofanarchy.ru Git - space-station-14.git/commit
Several Ninja Suit power cell upgrade fixes. (#32902)
authorBramvanZijp <56019239+BramvanZijp@users.noreply.github.com>
Tue, 22 Oct 2024 23:36:51 +0000 (01:36 +0200)
committerGitHub <noreply@github.com>
Tue, 22 Oct 2024 23:36:51 +0000 (10:36 +1100)
commitee8dedea9cd3e430a6c890cb12c343775f9b801d
tree2fbf4689bb654f7866ada8e819c092dd7ee49007
parent8f52a3448eb02b94704f04b8641ce90361452b91
Several Ninja Suit power cell upgrade fixes. (#32902)

* Fix several jank issues with space ninja cell upgrades.

* Rework the code to comply with maintainer request.

* Fix some naming convention & formatting errors.

* Change from a custom check to an item whitelist to avoid power cages from fitting.

* Make the EntityUid of GetCellScore non nullable.

* Remove a line from a previous solution to the above problem I forgot to remove.

* Fix the magic number issue.
Content.Server/Ninja/Systems/NinjaSuitSystem.cs
Resources/Locale/en-US/ninja/ninja-actions.ftl
Resources/Prototypes/Entities/Clothing/OuterClothing/suits.yml