nickm980 / smallville

Generative Agents for video games. Based on Generative Agents: Interactive Simulacra of Human Behavior
https://nickm980.github.io/smallville/
MIT License
636 stars 50 forks source link

Change display of locations #24

Closed nickm980 closed 1 year ago

nickm980 commented 1 year ago

It's possible for an object to be null and instead just be given a root location

For example, with a location path of Forest: Campfire it's possible for agents to choose not to interact with the campfire but instead perform an activity in the forest. In such a case, Forest: null will be the resulting path.

Currently game locations show up as null but should only show the root location.

The location from the attached image should display

Location: Forest

instead of

Location: Forest: null

Image