Skip to content

Commit

Permalink
Work on issue #13
Browse files Browse the repository at this point in the history
  • Loading branch information
flags committed Dec 16, 2012
1 parent a3f97fc commit f0e4bb1
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions life.py
Original file line number Diff line number Diff line change
Expand Up @@ -253,9 +253,7 @@ def perform_action(life):
direct_add_item_to_inventory(_action['life'],_action['item'],container=_action['container'])
life['actions'].remove({'action':_action,'score':_score,'delay':_delay})

if life.has_key('player'):
gfx.message('You pick up a %s.' % _action['item']['name'])

if life.has_key('player'):
if _action.has_key('container'):
gfx.message('You store the %s in your %s.'
% (_action['item']['name'],_action['container']['name']))
Expand Down

0 comments on commit f0e4bb1

Please sign in to comment.