this shit is it

This commit is contained in:
2023-07-04 09:08:25 +02:00
parent 1ca6b3d036
commit 7d506625bd
15 changed files with 45 additions and 32 deletions
+2
View File
@@ -60,6 +60,8 @@ class Base_Distribution_Agent(BaseAgent,ABC):
# Get exchange
cx=self.exchanges[cx_id]
#if amount>=self.max_batch_qty:
# amount=self.max_batch_qty
if not self.business.inventory[self.resource]>=amount:
return False # we dont have enough balance