mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-07-20 19:44:09 +01:00
unfucks modlink linkage (#29113)
This commit is contained in:
@@ -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)
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user