Added icons to item menu screen
Justin Armstrong justinmeister@gmail.com
Tue, 01 Apr 2014 22:15:37 -0700
4 files changed,
54 insertions(+),
16 deletions(-)
M
data/states/shop.py
→
data/states/shop.py
@@ -166,17 +166,17 @@ """Make list of items to be chosen"""
longsword_dialogue = 'Long Sword (100 gold)' rapier_dialogue = 'Rapier (50 gold)' - item = {'type': 'Long Sword', + item2 = {'type': 'Long Sword', 'price': 100, 'quantity': 1, 'dialogue': longsword_dialogue} - item2 = {'type': 'Rapier', + item1 = {'type': 'Rapier', 'price': 50, 'quantity': 1, 'dialogue': rapier_dialogue} - return [item, item2] + return [item1, item2] class ArmorShop(Shop):
M
data/tools.py
→
data/tools.py
@@ -152,7 +152,7 @@
def create_game_data_dict(): """Create a dictionary of persistant values the player carries between states""" - player_items = {'gold': 100} + player_items = {'gold': 600} player_health = {'current': 100, 'maximum': 100}