Description for Uplink UI (and preset uplinks) (#4870)

* testing decription textlabel

* Move uplink listing to a new menu

* Add search bar

* Added description

* Added radio uplink

* Added preset uplinks

* Minor fix

* Fixed comma
This commit is contained in:
Alex Evgrashin
2021-10-15 13:49:59 +03:00
committed by GitHub
parent 278f878d73
commit ce0b73ef62
12 changed files with 167 additions and 86 deletions

View File

@@ -1,3 +1,7 @@
uplink-bound-user-interface-insufficient-funds-popup = Insufficient funds!
uplink-bound-user-interface-tc-balance-popup = TC Balance: [color={$weightedColor}]{$balance}[/color]
uplink-bound-user-interface-tc-balance-popup = TC Balance: [color={$weightedColor}]{$balance}[/color]
uplink-user-interface-title = Uplink
uplink-user-interface-search-label = Search

View File

@@ -2,7 +2,7 @@
name: telecrystal
parent: BaseItem
id: Telecrystal
suffix: Twenty
suffix: 20 TC
description: It seems to be pulsing with suspiciously enticing energies.
components:
- type: Sprite
@@ -20,7 +20,7 @@
- type: entity
parent: Telecrystal
id: Telecrystal1
suffix: Single
suffix: 1 TC
components:
- type: Stack
count: 1
@@ -28,7 +28,7 @@
- type: entity
parent: Telecrystal
id: Telecrystal5
suffix: Five
suffix: 5 TC
components:
- type: Stack
count: 5
@@ -36,7 +36,48 @@
- type: entity
parent: Telecrystal
id: Telecrystal10
suffix: Ten
suffix: 10 TC
components:
- type: Stack
count: 10
# Uplinks
- type: entity
parent: BaseItem
id: BaseUplinkRadio
name: syndicate uplink
description: Suspiciously looking old radio...
suffix: Empty
components:
- type: Sprite
sprite: Objects/Devices/communication.rsi
layers:
- state: old-radio
netsync: false
- type: Item
sprite: Objects/Devices/communication.rsi
HeldPrefix: old-radio
- type: UserInterface
interfaces:
- key: enum.UplinkUiKey.Key
type: UplinkBoundUserInterface
- type: Uplink
activatesInHands: true
- type: entity
parent: BaseUplinkRadio
id: BaseUplinkRadio20TC
suffix: 20 TC
components:
- type: Uplink
presetInfo:
balance: 20
- type: entity
parent: BaseUplinkRadio
id: BaseUplinkRadioDebug
suffix: Debug
components:
- type: Uplink
presetInfo:
balance: 9999

View File

@@ -65,6 +65,17 @@
{
"name": "off-walkietalkie-inhand-left",
"directions": 4
},
{
"name": "old-radio"
},
{
"name": "old-radio-inhand-left",
"directions": 4
},
{
"name": "old-radio-inhand-right",
"directions": 4
}
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 215 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 243 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 401 B