comparison skaapsteker/sprites/items.py @ 417:e289a111c743

edited item text
author anna <annamalczyk@gmail.com>
date Sat, 09 Apr 2011 17:43:39 +0200
parents 8ac5b3d619fe
children e65f6783a9f7
comparison
equal deleted inserted replaced
416:3db2fc263d11 417:e289a111c743
139 139
140 140
141 def player_action(self, player): 141 def player_action(self, player):
142 if self._me.litness == 'set': 142 if self._me.litness == 'set':
143 if player.has_item('kindling'): 143 if player.has_item('kindling'):
144 notify('You put the kindling in the fire.') 144 notify("You put the kindling in the signal fire.")
145 elif player.has_item('oil'): 145 elif player.has_item('oil'):
146 notify('You pour the oil on the fire.') 146 notify("You pour the oil on the signal fire.")
147 else: 147 else:
148 return 148 return
149 player.discard_item() 149 player.discard_item()
150 self._me.litness = 'kindled' 150 self._me.litness = 'kindled'
151 elif self._me.litness == 'kindled': 151 elif self._me.litness == 'kindled':
152 if player.has_item('kindling'): 152 if player.has_item('kindling'):
153 notify('You put the kindling in the fire and light it.') 153 notify("You put the kindling on the signal fire and light it.")
154 elif player.has_item('oil'): 154 elif player.has_item('oil'):
155 notify('You pour the oil on the fire and light it.') 155 notify("You pour the oil on the signal fire and light it.")
156 else: 156 else:
157 return 157 return
158 player.discard_item() 158 player.discard_item()
159 self._me.litness = 'burning' 159 self._me.litness = 'burning'
160 self.world.missions.fire_started_on_road = True 160 self.world.missions.fire_started_on_road = True