mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-23 03:57:13 +01:00
shuffle wire interact + add warning when calling without a freq (#29362)
This commit is contained in:
@@ -317,6 +317,11 @@
|
||||
. = TRUE
|
||||
if(!I.use_tool(src, user, 0, volume = I.tool_volume))
|
||||
return
|
||||
if(open)
|
||||
if(seconds_electrified && get_charge() && shock(user))
|
||||
return TRUE
|
||||
wires.Interact(user)
|
||||
return TRUE
|
||||
if(!I.multitool_check_buffer(user))
|
||||
return
|
||||
var/obj/item/multitool/M = I
|
||||
@@ -429,11 +434,6 @@
|
||||
attacking_core.install(src)
|
||||
update_charge_alert()
|
||||
return TRUE
|
||||
else if(istype(attacking_item, /obj/item/multitool) && open)
|
||||
if(seconds_electrified && get_charge() && shock(user))
|
||||
return TRUE
|
||||
wires.Interact(user)
|
||||
return TRUE
|
||||
else if(open && attacking_item.GetID())
|
||||
update_access(user, attacking_item.GetID())
|
||||
return TRUE
|
||||
|
||||
@@ -499,6 +499,7 @@
|
||||
|
||||
/proc/call_link(mob/user, datum/mod_link/calling_link)
|
||||
if(!calling_link.frequency)
|
||||
to_chat(user, "<span class='warning'>The frequency isn't set!</span>")
|
||||
return
|
||||
var/list/callers = list()
|
||||
for(var/id in GLOB.mod_link_ids)
|
||||
|
||||
Reference in New Issue
Block a user