[MIRROR] New Uplink UI (#29196)

* New Uplink UI (#85455)

## About The Pull Request

Changes the layout of uplinks, mostly on the Market tab.

Made it more compact.

Before:

![image](https://github.com/user-attachments/assets/74449e97-ea68-4ae6-b8b9-661a9b40fdad)

After:

![image](https://github.com/user-attachments/assets/0babcafb-804f-449e-9777-5ec9ec615bbe)

<img width="100%" alt="ARnnJe7Oui"
src="https://github.com/user-attachments/assets/fdc846cd-9df8-4009-af3c-4129c161e1cb">

<img width="100%" alt="qKq0kM7YxV"
src="https://github.com/user-attachments/assets/e377a36f-4420-44cd-bb8f-34e16cfd804f">

## Why It's Good For The Game

Better UX

## Changelog

🆑
qol: new uplink UI
qol: made it possible to buy a custom amount of TC, instead of bundles
with fixed amounts
/🆑

* New Uplink UI

---------

Co-authored-by: Andrew <mt.forspam@gmail.com>
This commit is contained in:
SkyratBot
2024-08-04 21:12:32 +05:30
committed by GitHub
co-authored by Andrew
parent 5fbbb0aff0
commit 00ee2fc613
10 changed files with 308 additions and 179 deletions
@@ -18,10 +18,13 @@
for(var/datum/uplink_item/item_path as anything in subtypesof(/datum/uplink_item))
var/datum/uplink_item/item = new item_path()
var/atom/actual_item = item.item
if(item.item) {
items += list(list(
"id" = item_path,
"name" = item.name,
"icon" = actual_item.icon,
"icon_state" = actual_item.icon_state,
"cost" = item.cost,
"desc" = item.desc,
"category" = item.category ? initial(item.category.name) : null,