]> git.smokeofanarchy.ru Git - space-station-14.git/commit
Action stuff (#31305)
authormetalgearsloth <31366439+metalgearsloth@users.noreply.github.com>
Sun, 25 Aug 2024 12:43:31 +0000 (22:43 +1000)
committerGitHub <noreply@github.com>
Sun, 25 Aug 2024 12:43:31 +0000 (22:43 +1000)
commit2e029a7d5b51a557206f261da123c37d8b4dbd9a
treea53543df26e943ab9fc7bf2f44f4089bab0ed6f7
parentf96dddd9fb0cbce243e93b4538ed6349cba7b405
Action stuff (#31305)

* Action stuff

- Cleanup some event stuff
- Avoid dirtying entity unnecessarily
- Add ActionGrant as an easy way to apply / remove actions via compregistry.

* Fix merge
Content.Client/Actions/ActionsSystem.cs
Content.Client/UserInterface/Systems/Actions/ActionUIController.cs
Content.Server/Actions/ActionOnInteractSystem.cs
Content.Server/NPC/Systems/NPCUseActionOnTargetSystem.cs
Content.Shared/Actions/ActionEvents.cs
Content.Shared/Actions/ActionGrantComponent.cs [new file with mode: 0644]
Content.Shared/Actions/ActionGrantSystem.cs [new file with mode: 0644]
Content.Shared/Actions/Events/ActionComponentChangeEvent.cs [new file with mode: 0644]
Content.Shared/Actions/ItemActionGrantComponent.cs [new file with mode: 0644]
Content.Shared/Actions/SharedActionsSystem.cs