comparison gamelib/tests/test_scene_interactions_cryo.py @ 792:bdaffaa8b6bf pyntnclick

Loading and saving! (Plus a bunch of other stuff to make it possible.)
author Jeremy Thurgood <firxen@gmail.com>
date Sun, 27 Jan 2013 12:43:28 +0200
parents eca4d2fc11a4
children eed75a1d50c4
comparison
equal deleted inserted replaced
791:56ec01e51f3d 792:bdaffaa8b6bf
70 self.assert_current_scene('cryo') 70 self.assert_current_scene('cryo')
71 71
72 def test_cryo_unit_alpha_full_hand(self): 72 def test_cryo_unit_alpha_full_hand(self):
73 "The cryo unit has the leg in it and we touch it. We get the leg." 73 "The cryo unit has the leg in it and we touch it. We get the leg."
74 74
75 self.interact_thing('cryo.unit.1')
75 self.assert_game_data('contains_titanium_leg', True, 'cryo.unit.1') 76 self.assert_game_data('contains_titanium_leg', True, 'cryo.unit.1')
76 self.assert_inventory_item('titanium_leg', False) 77 self.assert_inventory_item('titanium_leg', False)
77 self.assert_detail_thing('cryo.titanium_leg', True) 78 self.assert_detail_thing('cryo.titanium_leg', True)
78 79
79 self.interact_thing('cryo.titanium_leg', detail='cryo_detail') 80 self.interact_thing('cryo.titanium_leg', detail='cryo_detail')