]> git.smokeofanarchy.ru Git - space-station-14.git/commit
Set pAI up with a static map the pAI can use (#23499)
authormr-bo-jangles <mr-bo-jangles@users.noreply.github.com>
Sat, 6 Jan 2024 07:31:20 +0000 (07:31 +0000)
committerGitHub <noreply@github.com>
Sat, 6 Jan 2024 07:31:20 +0000 (18:31 +1100)
commit412f3f470c92bf2d974b13bc4e5e1c964d3a5346
tree89b4a40be53c51f4278ee232f405a79482936ed5
parent46ea3b63e8670a5cae600e1ef5447ecfeeb3d06e
Set pAI up with a static map the pAI can use (#23499)

* Set pAI up with a trackless map

* Added a untracked map user interface class to support gps-less mapping
* Added to pAI by default, expect it to be  given to borgs as well in time.

As the personal AI is literally immobile as a ghost, it is useful to ensure that people carry one. With that idea in mind, it is worth giving the pAI a reason to be carried that doesn't depend on the player having a cracking selection of midi files on hand.

* Tried to use new ProtoId and have EntityUid on the client as commented by metalgearsloth

* Review

---------

Co-authored-by: metalgearsloth <comedian_vs_clown@hotmail.com>
Content.Client/Pinpointer/UI/NavMapBeaconBoundUserInterface.cs
Content.Client/Pinpointer/UI/UntrackedMapBoundUserInterface.cs [new file with mode: 0644]
Content.Shared/PAI/PAIComponent.cs
Content.Shared/PAI/SharedPAISystem.cs
Resources/Prototypes/Entities/Objects/Fun/pai.yml