forked from MarseyWorld/MarseyWorld
show the real base price for house awards when ur founder
parent
8229425598
commit
2806634199
|
@ -33,6 +33,8 @@ def shop(v):
|
|||
|
||||
for val in AWARDS.values():
|
||||
val["baseprice"] = int(val["price"])
|
||||
if val["kind"].endswith('Founder'):
|
||||
val["baseprice"] = int(val["baseprice"] / 0.75)
|
||||
val["price"] = int(val["price"] * v.discount)
|
||||
|
||||
sales = g.db.query(func.sum(User.coins_spent)).scalar()
|
||||
|
|
Loading…
Reference in New Issue