work!
This commit is contained in:
@@ -60,3 +60,7 @@ def buy(player, item, price):
|
||||
player.money -= price
|
||||
player.inventory[item] += 1
|
||||
return True
|
||||
|
||||
|
||||
def earn(player, amount):
|
||||
player.money += amount
|
||||
|
||||
Reference in New Issue
Block a user