Adds a Rocky Diet

Taking the ore eater trait, you only gain nutrition from ore.
The amount varies, mainly based on the rarity/quality of what you're eating.

5 raw diamonds or verdantium will feed you well, while it'll take a handful of hematite or carbon to do the job. Better stick to the good stuff - it's in your best interest!
This commit is contained in:
KasparoVy
2020-04-01 21:52:27 -04:00
parent 896c2bf6b8
commit bb756cbdc9
4 changed files with 75 additions and 2 deletions
+9 -1
View File
@@ -121,4 +121,12 @@
var/obj/item/device/core_sampler/C = W
C.sample_item(src, user)
else
return ..()
return ..()
/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.eat_ore(src)
return
..()