예제 #1
0
 def on_gps(self, game: Game, player: int):
     pname = game.player_info[player].first_name
     diag = "Companion Pi position received. Please receive your results."
     roboy_interface.roboy_say(diag)
     self.set_priv_data(game, player, "ball_done", True)
     states.set_mission_done()
     states.set_ongoing_mission("Go back to GlaDOS")
     game.update_single(player)
예제 #2
0
    def on_init(self, game: Game, player: int):
        states.set_ongoing_mission(
            "Take the Companion Pi to the Food Processing Unit")

        def cback():
            self.on_gps(game, player)

        coors = (48.268707, 11.665083)
        gpsquest.set_quest(gpsquest.convertdec(coors[0]),
                           gpsquest.convertdec(coors[1]), cback, 0.02)
예제 #3
0
 def on_init(self, game: Game, player: int):
     roboy_interface.roboy_emotion(False)
     states.set_mission_done()
     states.set_ongoing_mission("Go back to the Khajiit")
     pass
예제 #4
0
 def on_init(self, game: Game, player: int):
     roboy_interface.roboy_emotion(True)
     states.set_ongoing_mission("Greet the Khajiit")
예제 #5
0
파일: navi.py 프로젝트: hbirler/NPCRoboy
	def on_init(self, game:Game, player:int):
		states.set_ongoing_mission("Hold the sword in the air and jump!")
예제 #6
0
파일: navi.py 프로젝트: hbirler/NPCRoboy
	def on_init(self, game:Game, player:int):
		self.set_priv_data(game, player, "not_count", 0)
		self.set_priv_data(game, player, "said_not", False)
		
		states.set_ongoing_mission("Greet the fairy")
예제 #7
0
 def on_init(self, game: Game, player: int):
     states.set_ongoing_mission("Get your test results.")
예제 #8
0
 def on_init(self, game: Game, player: int):
     states.set_ongoing_mission("Greet the robot!")