mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2025-12-22 08:01:06 +00:00
These crystals can be inserted into active uplinks, making it possible to trade them. Variant of https://github.com/ParadiseSS13/Paradise/pull/3174/files. The uplink now always shows the description to avoid annoying button shifting.
32 lines
849 B
Plaintext
32 lines
849 B
Plaintext
/***************
|
|
* Telecrystals *
|
|
***************/
|
|
/datum/uplink_item/item/telecrystal
|
|
category = /datum/uplink_category/telecrystals
|
|
desc = "Acquire the uplink crystals in pure form."
|
|
|
|
/datum/uplink_item/item/telecrystal/get_goods(var/obj/item/device/uplink/U, var/loc)
|
|
return new /obj/item/stack/telecrystal(loc, cost(U.uses))
|
|
|
|
/datum/uplink_item/item/telecrystal/one
|
|
name = "Telecrystal - 01"
|
|
item_cost = 1
|
|
|
|
/datum/uplink_item/item/telecrystal/five
|
|
name = "Telecrystals - 05"
|
|
item_cost = 5
|
|
|
|
/datum/uplink_item/item/telecrystal/ten
|
|
name = "Telecrystals - 10"
|
|
item_cost = 10
|
|
|
|
/datum/uplink_item/item/telecrystal/twentyfive
|
|
name = "Telecrystals - 25"
|
|
item_cost = 25
|
|
|
|
/datum/uplink_item/item/telecrystal/all
|
|
name = "Telecrystals - Empty Uplink"
|
|
|
|
/datum/uplink_item/item/telecrystal/all/cost(var/telecrystals)
|
|
return max(1, telecrystals)
|