This commit is contained in:
Rendo 2025-10-17 18:22:49 +05:00
commit 074bb21ffd
18 changed files with 99 additions and 51 deletions

View file

@ -33,6 +33,9 @@ func take(item : Item,amount: int) -> Stack
@abstract
func find(item : Item) -> int
@abstract
func refresh() -> void
## Does inventory have certain item?
func has(item : Item) -> bool:
return find(item) != -1