mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-07-11 08:06:33 +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:
@@ -244,9 +244,9 @@
|
||||
|
||||
return FALSE
|
||||
|
||||
/obj/machinery/bouldertech/item_interaction(mob/living/user, obj/item/tool, list/modifiers, is_right_clicking)
|
||||
/obj/machinery/bouldertech/item_interaction(mob/living/user, obj/item/tool, list/modifiers)
|
||||
if(panel_open || user.combat_mode)
|
||||
return ..()
|
||||
return NONE
|
||||
|
||||
if(istype(tool, /obj/item/boulder))
|
||||
var/obj/item/boulder/my_boulder = tool
|
||||
@@ -276,7 +276,7 @@
|
||||
to_chat(user, span_notice("You claim [amount] mining points from \the [src] to [id_card]."))
|
||||
return ITEM_INTERACT_SUCCESS
|
||||
|
||||
return ..()
|
||||
return NONE
|
||||
|
||||
/obj/machinery/bouldertech/wrench_act(mob/living/user, obj/item/tool)
|
||||
. = ITEM_INTERACT_BLOCKING
|
||||
|
||||
Reference in New Issue
Block a user