Clean-up and README

This commit is contained in:
KuMiShi
2026-01-30 16:31:38 +01:00
parent 351f676611
commit f2f8af3aec
11 changed files with 38 additions and 22 deletions

18
utils/item.py Normal file
View File

@@ -0,0 +1,18 @@
# Game imports
from serializable import Serializable
# Native imports
import uuid
class Item(Serializable):
def __init__(self,name:str, description:str, stat_modifier:dict[str, int]):
super().__init__()
self.id = str(uuid.uuid4())
self.name = name
self.description = description
self.stat_modifier = stat_modifier
def __str__(self):
return f"{self.name}: {self.description}"