mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2026-08-18 02:37:23 +01:00
10 lines
377 B
Plaintext
10 lines
377 B
Plaintext
/obj/item/stack/material/attack(mob/living/M, mob/living/user, target_zone, attack_modifier)
|
|
if(M.handle_eat_minerals(src, user))
|
|
return ITEM_INTERACT_SUCCESS
|
|
..()
|
|
|
|
/obj/item/stack/material/attack_generic(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 ITEM_INTERACT_SUCCESS
|
|
..()
|