facebookresearch/minihack

[FEATURE] Simpler user experience when placing items

Closed this issue ยท 1 comments

๐Ÿš€ Feature

A complete catalog of items that you can sample from, sorted by their type (e.g. weapon, edible...). This might be done by adapting the data from this issue.

Motivation

We can already find the meaning of all the commands and all placeable tiles, and a subset of edible items are also listed in the rewards manager file. But we don't yet have a catalog of all placeable items/edibles.

Pitch

This feature will make generation of map much easier and more complete. e.g, we might want to generate levels with different weapons and train agents to behave differently accordingly, or train them to behave identically regardless of what weapon is on the ground.

Alternatives

Additional context

I'm new to the package and I'm happy to learn more about it. I looked and didn't find a similar feature. If there has already been ways of implementing this, can you shed some light on how to do this? Thank you.

I took a look at the issue in question; after this PR one can produce names with Python code in NLE in the same way, e.g. like this: https://gist.github.com/c5117ed04851c50744779af81825c899