mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2026-08-27 07:08:55 +01:00
[MIRROR] Gripper fixes (#12714)
Co-authored-by: Cameron Lennox <killer65311@gmail.com>
This commit is contained in:
co-authored by
Cameron Lennox
parent
62d4e50a7f
commit
afcea67115
@@ -1,9 +1,9 @@
|
||||
/obj/item/stack/material/attack(mob/living/M as mob, mob/living/user as mob)
|
||||
/obj/item/stack/material/attack(mob/living/M, mob/living/user, target_zone, attack_modifier)
|
||||
if(M.handle_eat_minerals(src, user))
|
||||
return
|
||||
return ITEM_INTERACT_SUCCESS
|
||||
..()
|
||||
|
||||
/obj/item/stack/material/attack_generic(var/mob/living/user) //Allow adminbussed mobs to eat ore if they click it while NOT on help intent.
|
||||
if(user.handle_eat_minerals(src))
|
||||
return
|
||||
return ITEM_INTERACT_SUCCESS
|
||||
..()
|
||||
|
||||
Reference in New Issue
Block a user