1
0

add items also on the telegram bot

This commit is contained in:
andrea
2025-11-15 18:40:34 +01:00
parent 445c51eec7
commit d40c7addfb
5 changed files with 18 additions and 7 deletions

View File

@@ -25,9 +25,9 @@ class BrSimArena():
def init_items(self, items):
if not items: return
for item in items:
for itype, quantity in item.items():
for i in range(quantity): self.items.append(_items.BrSimItem(wrype))
for item_id in items:
I= _items.BrSimItem(item_id)
self.items.append(I)
def next_day(self):
self.day+= 1