Moving PDA to ECS (#4538)
* Moved pen slot to separate component * Moved it all to more generic item slot class * Add sounds * Item slots now supports many slots * Some clean-up * Refactored slots a bit * Moving ID card out * Moving pda to system * Moving PDA owner to ECS * Moved PDA flashlight to separate component * Toggle lights work through events * Fixing UI * Moving uplink to separate component * Continue moving uplink to separate component * More cleaning * Removing pda shared * Nuked shared pda component * Fixed flashlight * Pen slot now showed in UI * Light toggle now shows correctly in UI * Small refactoring of item slots * Added contained entity * Fixed tests * Finished with PDA * Moving PDA uplink to separate window * Adding-removing uplink should show new button * Working on a better debug * Debug command to add uplink * Uplink send state to UI * Almost working UI * Uplink correcty updates when you buy-sell items * Ups * Moved localization to separate file * Minor fixes * Removed item slots methods events * Removed PDA owner name * Removed one uplink event * Deleted all uplink events * Removed flashlight events * Update Content.Shared/Traitor/Uplink/UplinkVisuals.cs Co-authored-by: metalgearsloth <31366439+metalgearsloth@users.noreply.github.com> * Update Content.Server/Containers/ItemSlot/ItemSlotsSystem.cs Co-authored-by: metalgearsloth <31366439+metalgearsloth@users.noreply.github.com> * Update Content.Server/Containers/ItemSlot/ItemSlotsSystem.cs Co-authored-by: metalgearsloth <31366439+metalgearsloth@users.noreply.github.com> * Update Content.Server/GameTicking/Presets/PresetTraitorDeathMatch.cs Co-authored-by: metalgearsloth <31366439+metalgearsloth@users.noreply.github.com> * Item slots system review * Flashlight review * PDA to XAML * Move UplinkMenu to seperate class, fix WeightedColors methods * Move UI to XAML * Moved events to entity id * Address review * Removed uplink extensions * Minor fix * Moved item slots to shared * My bad Robust... * Fixed pda sound * Fixed pda tests * Fixed pda test again Co-authored-by: Alexander Evgrashin <evgrashin.adl@gmail.com> Co-authored-by: metalgearsloth <31366439+metalgearsloth@users.noreply.github.com> Co-authored-by: Visne <vincefvanwijk@gmail.com>
This commit is contained in:
@@ -1,9 +1,6 @@
|
||||
|
||||
### UI
|
||||
|
||||
comp-pda-ui-try-insert-id-card-no-hands = You have no hands.
|
||||
comp-pda-ui-try-insert-pen-no-hands = You have no hands.
|
||||
|
||||
# For the PDA screen
|
||||
comp-pda-ui = ID: [color=white]{$Owner}[/color], [color=yellow]{$JobTitle}[/color]
|
||||
|
||||
@@ -11,10 +8,6 @@ comp-pda-ui-blank = ID:
|
||||
|
||||
comp-pda-ui-owner = Owner: [color=white]{$ActualOwnerName}[/color]
|
||||
|
||||
pda-bound-user-interface-insufficient-funds-popup = Insufficient funds!
|
||||
|
||||
pda-bound-user-interface-tc-balance-popup = TC Balance: [color={$weightedColor}]{$balance}[/color]
|
||||
|
||||
pda-bound-user-interface-main-menu-tab-title = Main Menu
|
||||
|
||||
pda-bound-user-interface-uplink-tab-title = Uplink
|
||||
@@ -26,12 +19,3 @@ comp-pda-ui-eject-id-button = Eject ID
|
||||
comp-pda-ui-eject-pen-button = Eject Pen
|
||||
|
||||
comp-pda-ui-toggle-flashlight-button = Toggle Flashlight
|
||||
|
||||
# EjectIDVerb
|
||||
eject-id-verb-get-data-text = Eject ID
|
||||
|
||||
# EjectPenVerb
|
||||
eject-pen-verb-get-data-text = Eject Pen
|
||||
|
||||
# ToggleFlashlightVerb
|
||||
toggle-flashlight-verb-get-data-text = Toggle flashlight
|
||||
Reference in New Issue
Block a user