mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-23 13:10:02 +01:00
[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:  After:  <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:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user