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)
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)
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
def on_init(self, game: Game, player: int): roboy_interface.roboy_emotion(True) states.set_ongoing_mission("Greet the Khajiit")
def on_init(self, game:Game, player:int): states.set_ongoing_mission("Hold the sword in the air and jump!")
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")
def on_init(self, game: Game, player: int): states.set_ongoing_mission("Get your test results.")
def on_init(self, game: Game, player: int): states.set_ongoing_mission("Greet the robot!")