]> git.smokeofanarchy.ru Git - space-station-14.git/commit
Migrate revenant and PAI shops to use ActionGrant instead of hardcoding them (#40475)
authorJessica M <jessica@jessicamaybe.com>
Thu, 9 Oct 2025 21:14:12 +0000 (14:14 -0700)
committerGitHub <noreply@github.com>
Thu, 9 Oct 2025 21:14:12 +0000 (21:14 +0000)
commit0d97699aaeec677736382b8a225414b193a9bf8a
tree5510f81ae8f2392352b58cba9e5451c4a4f6c6dd
parent5185df4072de98ff69d6690206297ccf12786e19
Migrate revenant and PAI shops to use ActionGrant instead of hardcoding them (#40475)

* add intrinsic store, replace revenant store with it.

* migrate PAI and also move to shared where possible

* fix typos and clean up... intrinisic

* oops, hopefully fixes test

* Move to StoreSystem and ActionGrant

* documentation and remove thing

* review

---------

Co-authored-by: Jessica M <jessica@maybe.sh>
Co-authored-by: slarticodefast <161409025+slarticodefast@users.noreply.github.com>
13 files changed:
Content.Client/PAI/PAISystem.cs [deleted file]
Content.Server/PAI/PAISystem.cs
Content.Server/Revenant/EntitySystems/RevenantSystem.cs
Content.Server/Store/Systems/StoreSystem.cs
Content.Shared/PAI/PAIComponent.cs
Content.Shared/PAI/SharedPAISystem.cs [deleted file]
Content.Shared/Revenant/Components/RevenantComponent.cs
Content.Shared/Revenant/SharedRevenant.cs
Content.Shared/Store/Events/IntrinsicStoreActionEvent.cs [new file with mode: 0644]
Resources/Prototypes/Actions/revenant.yml
Resources/Prototypes/Actions/types.yml
Resources/Prototypes/Entities/Mobs/NPCs/revenant.yml
Resources/Prototypes/Entities/Objects/Fun/pai.yml