Added stats, items and magic to menu
Justin Armstrong justinmeister@gmail.com
Tue, 01 Apr 2014 17:25:05 -0700
5 files changed,
211 insertions(+),
80 deletions(-)
M
data/states/house/house.py
→
data/states/house/house.py
@@ -20,5 +20,5 @@ def set_sprite_dialogue(self):
"""Sets unique dialogue for each sprite""" for sprite in self.sprites: if sprite.location == [14, 6]: - sprite.dialogue = ["There are evil forces encroaching on our town.", - "Trust no one and you may leave these lands alive."] + sprite.dialogue = ["There are evil forces surrounding our town.", + "Do not leave if you value your life."]
M
data/states/level_state.py
→
data/states/level_state.py
@@ -25,7 +25,6 @@
def startup(self, current_time, game_data): """Called when the State object is created""" self.game_data = game_data - print(game_data['player inventory']) self.current_time = current_time self.state = 'normal' self.allow_input = False
M
data/states/shop.py
→
data/states/shop.py
@@ -231,17 +231,17 @@ """Make list of items to be chosen"""
fire_dialogue = 'Fire Blast (150 gold)' cure_dialogue = 'Cure (150 gold)' - item = {'type': 'Fire Spell', - 'price': 150, - 'quantity': 1, - 'dialogue': fire_dialogue} - - item2 = {'type': 'Cure Spell', + item1 = {'type': 'Cure', 'price': 150, 'quantity': 1, 'dialogue': cure_dialogue} - return [item, item2] + item2 = {'type': 'Fire Blast', + 'price': 150, + 'quantity': 1, + 'dialogue': fire_dialogue} + + return [item1, item2] class PotionShop(Shop):