@@ -332,8 +332,8 @@ def make_game(settings: Mapping[str, str], options: Optional[GameOptions] = None
332332 gm .set_player (starting_room )
333333
334334 else :
335- # gm.set_player(us_lab)
336- gm .set_player (sleep_station )
335+ gm .set_player (us_lab )
336+ # gm.set_player(sleep_station)
337337
338338 key_7 = gm .new (type = 'k' , name = "hearty key" )
339339 key_7 .infos .desc = "This key is shaped like a heart, not a normal key for a spaceship, ha ha ha..."
@@ -356,10 +356,10 @@ def make_game(settings: Mapping[str, str], options: Optional[GameOptions] = None
356356 from maker import test_commands
357357 test_commands (gm , [
358358 # 'look',
359- # 'open door A',
360- # 'go north',
361- 'check laptop for email' ,
362- # 'go south'
359+ 'open door A' ,
360+ 'go north' ,
361+ # 'check laptop for email',
362+ 'go south'
363363 ])
364364
365365 return game
@@ -374,10 +374,16 @@ def quest_design_medium(game):
374374
375375 # 1. Is the Player in the Sleeping Station
376376 win_quest = Event (conditions = {
377- game .new_fact ("at" , game ._entities ['P' ], game ._entities ['r_0' ]),
378- game .new_fact ("read/e" , game ._entities ['cpu_0' ]),
377+ game .new_fact ("at" , game ._entities ['P' ], game ._entities ['r_0' ])
379378 })
380- quests .append (Quest (win_events = [], fail_events = [win_quest ]))
379+ quests .append (Quest (win_events = [win_quest ], fail_events = [], reward = 0 ))
380+
381+ fail_quest = Event (conditions = {
382+ game .new_fact ("event" , game ._entities ['P' ], game ._entities ['r_0' ]),
383+ game .new_fact ("at" , game ._entities ['P' ], game ._entities ['r_1' ]),
384+ game .new_fact ("open" , game ._entities ['d_0' ]),
385+ })
386+ quests .append (Quest (win_events = [], fail_events = [fail_quest ]))
381387
382388 game .quests = quests
383389
0 commit comments