mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-07-12 00:27:31 +01:00
Merge master
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