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:
@@ -28,6 +28,7 @@ namespace Content.Shared.PDA
|
||||
|
||||
ItemSlotsSystem.AddItemSlot(uid, PdaComponent.PdaIdSlotId, pda.IdSlot);
|
||||
ItemSlotsSystem.AddItemSlot(uid, PdaComponent.PdaPenSlotId, pda.PenSlot);
|
||||
ItemSlotsSystem.AddItemSlot(uid, PdaComponent.PdaPaiSlotId, pda.PaiSlot);
|
||||
|
||||
UpdatePdaAppearance(uid, pda);
|
||||
}
|
||||
@@ -36,6 +37,7 @@ namespace Content.Shared.PDA
|
||||
{
|
||||
ItemSlotsSystem.RemoveItemSlot(uid, pda.IdSlot);
|
||||
ItemSlotsSystem.RemoveItemSlot(uid, pda.PenSlot);
|
||||
ItemSlotsSystem.RemoveItemSlot(uid, pda.PaiSlot);
|
||||
}
|
||||
|
||||
protected virtual void OnItemInserted(EntityUid uid, PdaComponent pda, EntInsertedIntoContainerMessage args)
|
||||
|
||||
Reference in New Issue
Block a user