Amalleus Posted June 18, 2015 Share Posted June 18, 2015 Hello. Is there a way to unlearn some mobs to eat some food? f.e. pigs eat "veggie" and "meat". And I have a custom food of "veggie" type which I want pigs to unlearn to eat it. Is there any way to unlearn without changing food type? maybe don't eat something because it has Tag="NoEat"Upd: Or can you tell me how to make custom type of food and let specific custom character eat that type of food? Next thing not workingtable.insert(inst.components.eater.foodprefs, "foodfood") --where inst is character, posted it to character lua file....inst:AddComponent("edible") --this is the custom food (posted in it too)inst.components.edible.foodtype = "foodfood"--ingame, i got only "Inspectable" action on this food and no "Eat" Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.
Please be aware that the content of this thread may be outdated and no longer applicable.