NeuralMMO / baselines

Baselines for Neural MMO -- new users should treat this repo as a starter project

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[Potentially a Bug] Scripted Agents won't purchase poultices or rations

mickelliu opened this issue · comments

I found a potential faulty implementation in the buy action. I implemented my agents based on this script and found out that my agents aren't buying any supplies from the market despite them being readily available on the market at affordable prices.

It seems that purchase isn't being used anywhere and because rations and poultices aren't in the buy_upgrade, it is likely that the itm got skipped and the buy action is never updated. This is given that the agents haven't put poultices or rations into the wishlist, but from my understanding, the wishlist and supplies are meant to be separated.

I am willing to work on a small PR if you are busy doing something else.