unfucks modlink linkage (#29113)

This commit is contained in:
Qwertytoforty
2025-04-26 10:23:40 -04:00
committed by GitHub
parent d67fab0c13
commit 6aa32ab99a
2 changed files with 10 additions and 10 deletions
+5 -5
View File
@@ -342,18 +342,18 @@
return TRUE
else
var/obj/item/clothing/neck/link_scryer/chosen_scryer = linked_thing
var/response = tgui_alert(user, "Would you like to copy or imprint the frequency?", "MODlink Frequency", list("Copy", "Imprint"))
var/response = tgui_alert(user, "Would you like to copy the frequency to the multitool or imprint the frequency to [src]?", "MODlink Frequency", list("Copy", "Imprint"))
if(!user.is_holding(I))
return FALSE
switch(response)
if("Copy")
mod_link.frequency = chosen_scryer.mod_link.frequency
to_chat(user, "<span class='notice'>You imprint the frequency to [src].</span>")
return TRUE
if("Imprint")
to_chat(user, "<span class='notice'>You save the frequency of [src] to the buffer.</span>")
M.buffer_uid = UID()
return TRUE
if("Imprint")
mod_link.frequency = chosen_scryer.mod_link.frequency
to_chat(user, "<span class='notice'>You imprint the frequency to [src].</span>")
return TRUE
/obj/item/mod/control/screwdriver_act(mob/living/user, obj/item/screwdriver)
+5 -5
View File
@@ -221,18 +221,18 @@
return TRUE
else
var/obj/item/clothing/neck/link_scryer/chosen_scryer = linked_thing
var/response = tgui_alert(user, "Would you like to copy or imprint the frequency?", "MODlink Frequency", list("Copy", "Imprint"))
var/response = tgui_alert(user, "Would you like to copy the frequency to the multitool or imprint the frequency to [src]?", "MODlink Frequency", list("Copy", "Imprint"))
if(!user.is_holding(I))
return FALSE
switch(response)
if("Copy")
mod_link.frequency = chosen_scryer.mod_link.frequency
to_chat(user, "<span class='notice'>You imprint the frequency to [src].</span>")
return TRUE
if("Imprint")
to_chat(user, "<span class='notice'>You save the frequency of [src] to the buffer.</span>")
M.buffer_uid = UID()
return TRUE
if("Imprint")
mod_link.frequency = chosen_scryer.mod_link.frequency
to_chat(user, "<span class='notice'>You imprint the frequency to [src].</span>")
return TRUE
/obj/item/clothing/neck/link_scryer/get_cell()
return cell