]> git.smokeofanarchy.ru Git - space-station-14.git/commit
Use conditions to store progress for Ninja objectives (#20254)
authorSlava0135 <40753025+Slava0135@users.noreply.github.com>
Tue, 10 Oct 2023 06:32:10 +0000 (09:32 +0300)
committerGitHub <noreply@github.com>
Tue, 10 Oct 2023 06:32:10 +0000 (09:32 +0300)
commit6f8c2b7e52d47678f54b3dc9f3ae13829bbd62ec
tree01739f2830a76d106df497f479f63cec02649b7a
parentc35a018cad95f967e26a269e22b16a6d0eb92737
Use conditions to store progress for Ninja objectives (#20254)

* TryGetObjectiveComp

* helper function to get objective

* store N of jacked doors in condition

* store called in threat bool in condition

* store techs in steal research condition

* fix access

* remove unused transform system

* use popup from shared system

* fix formatting

* condition => obj everywhere

* i fogror to remove downloaded nodes from role

* change signature

* use query

* View Variables

* spider charge detonated => condition
Content.Server/Ninja/Systems/NinjaGlovesSystem.cs
Content.Server/Ninja/Systems/SpaceNinjaSystem.cs
Content.Server/Ninja/Systems/SpiderChargeSystem.cs
Content.Server/Objectives/Components/DoorjackConditionComponent.cs
Content.Server/Objectives/Components/SpiderChargeConditionComponent.cs
Content.Server/Objectives/Components/StealResearchConditionComponent.cs
Content.Server/Objectives/Components/TerrorConditionComponent.cs
Content.Server/Objectives/Systems/NinjaConditionsSystem.cs
Content.Server/Roles/NinjaRoleComponent.cs
Content.Shared/Mind/SharedMindSystem.cs
Content.Shared/Ninja/Systems/SharedSpaceNinjaSystem.cs