def get_view(self, game: Game, player: int): mv = states.get_missions_view() gpsdone = self.get_priv_data(game, player, "ball_done") if not gpsdone: return View(mv, [[("speak", "*Speak*")], [("opt_isdone", "I'm done.")], [("opt_refusedo", "I don't wanna do it.*")]]) else: return View( mv, [[("speak", "*Speak*")], [("opt_isdone", "Receive Results.")]])
def get_view(self, game: Game, player: int): mv = states.get_missions_view() whatbut = [] whobut = [] pname = game.player_info[player].first_name if not self.get_priv_data(game, player, "who_done"): whobut = [[("opt_who", "I am {pname} the Adventurer!".format(pname=pname))]] if not self.get_priv_data(game, player, "what_done"): whatbut = [[("opt_what", "I am looking for an invisible sword.")]] if self.get_priv_data(game, player, "who_disabled"): whobut = [] return View(mv, [[("speak", "*Speak*")]] + whatbut + whobut)
def get_view(self, game: Game, player: int): mv = states.get_missions_view() + "\n\nTHE END" return View(mv, [[("opt_ok", "*Ok*")]])
def get_view(self, game: Game, player: int): mv = states.get_missions_view() return View(mv, [[("speak", "*Speak*")], [("opt_diag1", "No, I haven't seen anything.")], [("opt_diag2", "Yes I actually...")]])
def get_view(self, game: Game, player: int): mv = states.get_missions_view() return View(mv, [[("speak", "*Speak*")], [("opt_diag1", "Why do you seem so upset?")]])
def get_view(self, game: Game, player: int): mv = states.get_missions_view() return View(mv, [[("speak", "*Speak*")], [("opt_hello", "Hello!")], [("opt_greetings", "Greetings Master Khajiit.")]])
def get_view(self, game: Game, player: int): mv = states.get_missions_view() diag1 = "Not interested." diag2 = "Yes, I have. But I have to bring it later." return View(mv, [[("speak", "*Speak*")], [("opt_diag1", diag1)], [("opt_diag2", diag2)]])
def get_view(self, game: Game, player: int): mv = states.get_missions_view() diag1 = "It is your turn to tell me about you." diag2 = "What kind of an adventurer were you?" return View(mv, [[("speak", "*Speak*")], [("opt_diag1", diag1)], [("opt_diag2", diag2)]])
def get_view(self, game:Game, player:int): mv = states.get_missions_view() return View(mv, [[("speak", "*Speak*")], [("opt_leaveme","Leave me alone!")], [("opt_imdone","I'm done.")]])
def get_view(self, game:Game, player:int): mv = states.get_missions_view() yes_option = "Yes Navi?" if not self.get_priv_data(game, player, "said_not") else "Ugh ok." not_option = "Not now" + "!" * self.get_priv_data(game, player, "not_count") return View(mv, [[("speak", "*Speak*")], [("opt_yes", yes_option)], [("opt_not", not_option)]])
def get_view(self, game: Game, player: int): mv = states.get_missions_view() return View(mv, [[("speak", "*Speak*")], [("opt_fun1", "Please Repeat")], [("opt_fun2", "No thank you")]])
def get_view(self, game: Game, player: int): mv = states.get_missions_view() return View(mv, [[("speak", "*Speak*")], [("opt_yes", "I am ready")], [("opt_no", "What test?")]])
def get_view(self, game: Game, player: int): mv = states.get_missions_view() pname = game.player_info[player].first_name diag = "Hello I am {pname}.".format(pname=pname) return View(mv, [[("speak", "*Speak*")], [("opt_hi", diag)]])
def get_view(self, game: Game, player: int): mv = states.get_missions_view() return View( mv, [[("speak", "*Speak*")], [("opt_fun1", "Where is the Cake?")], [("opt_fun2", "Anything else?")]])