mirror of
https://github.com/VOREStation/VOREStation.git
synced 2026-07-17 10:05:27 +01:00
Increases the Potential of Ore Eater & Adds Adminbus
It can now be effectively granted to non-humans, who can now eat ore if they click it while NOT on help intent. Additionally, you can now feed ore to mobs that can eat it.
This commit is contained in:
@@ -125,10 +125,12 @@
|
||||
|
||||
//VOREStation Add
|
||||
/obj/item/weapon/ore/attack(mob/living/M as mob, mob/living/user as mob)
|
||||
if(ishuman(M))
|
||||
var/mob/living/carbon/human/H = M
|
||||
if(H.species.eat_ore == 1)
|
||||
H.handle_eat_ore(src)
|
||||
return
|
||||
if(M.handle_eat_ore(src, user))
|
||||
return
|
||||
..()
|
||||
|
||||
/obj/item/weapon/ore/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_ore(src))
|
||||
return
|
||||
..()
|
||||
//VOREStation Add End
|
||||
|
||||
Reference in New Issue
Block a user