XaiJu
NoxiousGames
NoxiousGames

patreon


MGG: Food Bugging Monsters out fixed

I've found the issues surrounding food which has been causing Monsters to bug out. When I changed how Monsters searched for food, I also added a ton of items which were not able to be eaten automatically, but I forgot to make sure they all had handle cases in the code where the Monster actually consumes the item.

When Monsters would target one of these (several seeds and Holstaur Milk are a few notable examples) they would try to eat it, but get stopped by the item code. Then they would enter a loop where they just kept trying to eat the same item over and over again, but failing.

This has been fixed in the new version.

Edit: Many of these items were seeds, which were removed from the item handle cases a long time ago because they were not considered Food at one point. This was to stop Monsters from eating seeds the Player was trying to plant. I'll be adding a bit of code which stops Monsters from targeting food under your cursor, if you have the Hoe equipped.


More Creators