commit entity-modify-player-inventory

This commit is contained in:
2026-01-29 22:05:56 +01:00
parent 7b5c411c8d
commit fc5076d054
4 changed files with 56 additions and 14 deletions

View File

@@ -9,6 +9,9 @@ class Inventory(Serializable):
def current_capacity(self):
return len(self.items)
def is_full(self):
return self.current_capacity() >= self.max_capacity
def list_items(self):
s_items = ''