This is getting better and better
This commit is contained in:
@@ -14,13 +14,13 @@ class Price_Believe_Business(Business):
|
||||
self.expense_per_prod=-1
|
||||
self.income_per_unit = -1
|
||||
self.distribute = Price_Believe_Distribiute_Agent(
|
||||
simulation, self, production["name"], exchange, 0.5,production["amount"]*2, 20)
|
||||
simulation, self, production["name"], exchange, 0.08,production["amount"]*2, 6)
|
||||
self.craft = AutoProductionAgent(simulation, self)
|
||||
self.aquire = {}
|
||||
|
||||
for k, v in production["prod"].items():
|
||||
a = Price_Believe_Aquire_Agent(
|
||||
simulation, self, k, exchange, 0.2, 20)
|
||||
simulation, self, k, exchange, 0.02, 6)
|
||||
a.set_target(v*2)
|
||||
a.set_price_max(10)
|
||||
self.aquire[k] = a
|
||||
|
||||
Binary file not shown.
Reference in New Issue
Block a user