Adding PAI Slot to PDA (#21086)
* Adding PAI Slot to PDA * Update PdaComponent.cs * Update pda.yml * Update tags.yml Sorting it alphabetically * Adding PDA UI Elements. * Addressing reviews * Update PdaComponent.cs * Update Content.Shared/PDA/SharedPdaSystem.cs Co-authored-by: faint <46868845+ficcialfaint@users.noreply.github.com> * Update Content.Shared/PDA/SharedPdaSystem.cs Co-authored-by: faint <46868845+ficcialfaint@users.noreply.github.com> * Update Resources/Prototypes/Entities/Objects/Devices/pda.yml Co-authored-by: faint <46868845+ficcialfaint@users.noreply.github.com> * Update PdaComponent.cs * Update PdaComponent.cs --------- Co-authored-by: faint <46868845+ficcialfaint@users.noreply.github.com>
This commit is contained in:
@@ -64,7 +64,7 @@ namespace Content.Server.PDA
|
||||
|
||||
protected override void OnItemRemoved(EntityUid uid, PdaComponent pda, EntRemovedFromContainerMessage args)
|
||||
{
|
||||
if (args.Container.ID != pda.IdSlot.ID && args.Container.ID != pda.PenSlot.ID)
|
||||
if (args.Container.ID != pda.IdSlot.ID && args.Container.ID != pda.PenSlot.ID && args.Container.ID != pda.PaiSlot.ID)
|
||||
return;
|
||||
|
||||
// TODO: This is super cursed just use compstates please.
|
||||
@@ -137,6 +137,7 @@ namespace Content.Server.PDA
|
||||
GetNetEntity(loader.ActiveProgram),
|
||||
pda.FlashlightOn,
|
||||
pda.PenSlot.HasItem,
|
||||
pda.PaiSlot.HasItem,
|
||||
new PdaIdInfoText
|
||||
{
|
||||
ActualOwnerName = pda.OwnerName,
|
||||
|
||||
Reference in New Issue
Block a user