Jump to content

Recommended Posts

My character only "eats" blood and that is her only food preference. I notice that in the current updates she is suddenly an omnivore who eats only normal stuff.

 

Her foodprefs seem unaltered. I queried the component and it returned only "BLOOD" however.

[00:00:25]: BLOOD

 

Also, in her blood items:

inst:AddComponent("edible")    inst.components.edible.ismeat = true    inst.components.edible.foodtype = FOODTYPE.BLOOD

 

inst.components.eater:SetDiet({FOODGROUP.OMNI}, {FOODTYPE.BLOOD})

Thanks. Managed to stumble upon the right post, but that is indeed how I solved it.

 

well, except with "eater:SetDiet({FOODTYPE.BLOOD, FOODTYPE.MEAT})" It bugged out when {} where separated (played eating animation, but the face vanished and the item wasn't consumed). Really weird.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
  • Create New...