nskins / goby

Command-line role-playing game framework
MIT License
122 stars 56 forks source link

Prevent Player from dropping/selling certain Items #68

Closed nskins closed 7 years ago

nskins commented 7 years ago

Certain Items will be essential to the adventure, so we don't want the Player to sell/drop those. Perhaps this means we should add a boolean 'disposable' attribute to Item. When 'disposable' is false, the Player won't be able to drop or sell that Item.