]> git.smokeofanarchy.ru Git - space-station-14.git/commit
Action, Action Container, and Action Upgrade changes (#24005)
authorkeronshb <54602815+keronshb@users.noreply.github.com>
Mon, 15 Jan 2024 06:37:38 +0000 (01:37 -0500)
committerGitHub <noreply@github.com>
Mon, 15 Jan 2024 06:37:38 +0000 (23:37 -0700)
commitc8466055ef34f9a5cbd987546c7865889a54f5ed
tree0471ca2c983995aaeb6ea497d9297d4b896b9891
parentff3fe2e79b3072f15a6c5546eae39bf78fe04ed3
Action, Action Container, and Action Upgrade changes (#24005)

* Added TransferActionWithNewAttached and TransferAllActionsWithNewAttached and OnActionAdded event method to ActionContainerSystem. These are needed where the action needs to have a different attached entity for usage.  Fixed a bug with not being able to upgrade actions between levels.  Added a way to grant and remove a singular action.

* adds an action container component to mind on action added to fix tests

* Swaps trycomp for hascomp

* Maybe this will fix the thests

* Grants action container to performer as well

* Wait that makes no sense, removing that

* fixes mind action grant logic

* Changes ent check back to netent check

* Reverts unintended container changes
Content.Server/Commands/ActionCommands.cs
Content.Shared/Actions/ActionContainerSystem.cs
Content.Shared/Actions/ActionUpgradeComponent.cs
Content.Shared/Actions/ActionUpgradeSystem.cs
Content.Shared/Actions/SharedActionsSystem.cs