jlechem / TextAdventure

A text adventure API framework
3 stars 0 forks source link

Implement Item sizing #20

Open jlechem opened 6 years ago

jlechem commented 6 years ago

Right now if an item can contain other items we just allow it. We need a size check so that you can't put something large in something small. Also right now it's just a straight one to one capacity. Each item should have a size of some kind, i.e. a sword has a width and length and takes up X total space. A bag can hold up to X total space.