mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-31 00:58:26 +01:00
Makes it EVEN EASIER to work with atom item interactions ft. "Leaf and Branch" & "Death to Chains" (#82625)
This commit is contained in:
@@ -80,14 +80,11 @@
|
||||
diode = null
|
||||
return TRUE
|
||||
|
||||
/obj/item/laser_pointer/item_interaction(mob/living/user, obj/item/tool, list/modifiers, is_right_clicking)
|
||||
. = ..()
|
||||
if(. & ITEM_INTERACT_ANY_BLOCKER)
|
||||
return .
|
||||
/obj/item/laser_pointer/item_interaction(mob/living/user, obj/item/tool, list/modifiers)
|
||||
if(isnull(crystal_lens))
|
||||
return .
|
||||
return NONE
|
||||
if(tool_behaviour != TOOL_WIRECUTTER && tool_behaviour != TOOL_HEMOSTAT)
|
||||
return .
|
||||
return NONE
|
||||
tool.play_tool_sound(src)
|
||||
balloon_alert(user, "removed crystal lens")
|
||||
crystal_lens.forceMove(drop_location())
|
||||
|
||||
Reference in New Issue
Block a user