Rushwind13 / JMoria

My from-scratch implementation of a Roguelike game that will be an homage to IMoria
4 stars 4 forks source link

Use commands get Inv filtered by type #111

Open Rushwind13 opened 1 day ago

Rushwind13 commented 1 day ago

Rather than “you can’t quaff that”, the list displayed should only include quaffables.

Inventory is indexed by md.m-dwindex so just needs helper function to filter for a given index