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:
@@ -11,6 +11,7 @@ namespace Content.Shared.PDA
|
||||
{
|
||||
public const string PdaIdSlotId = "PDA-id";
|
||||
public const string PdaPenSlotId = "PDA-pen";
|
||||
public const string PdaPaiSlotId = "PDA-pai";
|
||||
|
||||
/// <summary>
|
||||
/// The base PDA sprite state, eg. "pda", "pda-clown"
|
||||
@@ -23,6 +24,8 @@ namespace Content.Shared.PDA
|
||||
|
||||
[DataField("penSlot")]
|
||||
public ItemSlot PenSlot = new();
|
||||
[DataField("paiSlot")]
|
||||
public ItemSlot PaiSlot = new();
|
||||
|
||||
// Really this should just be using ItemSlot.StartingItem. However, seeing as we have so many different starting
|
||||
// PDA's and no nice way to inherit the other fields from the ItemSlot data definition, this makes the yaml much
|
||||
|
||||
Reference in New Issue
Block a user