codingteam / Keter

A roguelike game in the SCP setting.
https://codingteam.github.io/Keter/
MIT License
15 stars 5 forks source link

Character cannot have two equal items #49

Open ForNeVeR opened 9 years ago

ForNeVeR commented 9 years ago

Consider the following:

val i = ru.org.codingteam.keter.game.objects.Inventory(Set(), Set(Knife), Set(Knife))
i.allEquipment // Set(Knife)

It should have two knives instead.