diff --git a/code/datums/uplink_item.dm b/code/datums/uplink_item.dm index c8729b833b3..17015b1c2a7 100644 --- a/code/datums/uplink_item.dm +++ b/code/datums/uplink_item.dm @@ -820,6 +820,13 @@ var/list/uplink_items = list() item = /obj/item/device/multitool/ai_detect cost = 1 +/datum/uplink_item/device_tools/telecrystal + name = "Raw Telecrystal" + desc = "Telecrystal in its rawest and purest form; can be utilized on active uplinks to increase their telecrystal count." + reference = "RTC" + item = /obj/item/stack/telecrystal + cost = 1 + /datum/uplink_item/device_tools/teleporter name = "Teleporter Circuit Board" desc = "A printed circuit board that completes the teleporter onboard the mothership. Advise you test fire the teleporter before entering it, as malfunctions can occur." diff --git a/code/game/objects/items/stacks/telecrystal.dm b/code/game/objects/items/stacks/telecrystal.dm new file mode 100644 index 00000000000..689fe25015f --- /dev/null +++ b/code/game/objects/items/stacks/telecrystal.dm @@ -0,0 +1,19 @@ +/obj/item/stack/telecrystal + name = "telecrystal" + desc = "It seems to be pulsing with suspiciously enticing energies." + singular_name = "telecrystal" + icon = 'icons/obj/telescience.dmi' + icon_state = "telecrystal" + w_class = 1 + max_amount = 50 + flags = NOBLUDGEON + origin_tech = "materials=6;syndicate=1" + +/obj/item/stack/telecrystal/afterattack(var/obj/item/I as obj, mob/user as mob, proximity) + if(!proximity) + return + if(istype(I, /obj/item)) + if(I.hidden_uplink && I.hidden_uplink.active) //No metagaming by using this on every PDA around just to see if it gets used up. + I.hidden_uplink.uses +=1 + use(1) + user << "You slot the [src] into the [I] and charge its internal uplink." \ No newline at end of file diff --git a/html/changelogs/tradable-telecrystals-mccloud.yml b/html/changelogs/tradable-telecrystals-mccloud.yml new file mode 100644 index 00000000000..856785c87ba --- /dev/null +++ b/html/changelogs/tradable-telecrystals-mccloud.yml @@ -0,0 +1,7 @@ + +author: Fox McCloud + +delete-after: True + +changes: + - rscadd: "Adds in tradable telecrystals." \ No newline at end of file diff --git a/icons/obj/telescience.dmi b/icons/obj/telescience.dmi index 6cf0e25a30a..6b691557229 100644 Binary files a/icons/obj/telescience.dmi and b/icons/obj/telescience.dmi differ diff --git a/paradise.dme b/paradise.dme index 1ed8a8ef17d..4c040deec1d 100644 --- a/paradise.dme +++ b/paradise.dme @@ -684,6 +684,7 @@ #include "code\game\objects\items\stacks\nanopaste.dm" #include "code\game\objects\items\stacks\rods.dm" #include "code\game\objects\items\stacks\stack.dm" +#include "code\game\objects\items\stacks\telecrystal.dm" #include "code\game\objects\items\stacks\sheets\glass.dm" #include "code\game\objects\items\stacks\sheets\leather.dm" #include "code\game\objects\items\stacks\sheets\light.dm"