Beispiel #1
0
 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.")]])
Beispiel #2
0
    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)
Beispiel #3
0
 def get_view(self, game: Game, player: int):
     mv = states.get_missions_view() + "\n\nTHE END"
     return View(mv, [[("opt_ok", "*Ok*")]])
Beispiel #4
0
 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...")]])
Beispiel #5
0
 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?")]])
Beispiel #6
0
 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.")]])
Beispiel #7
0
 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)]])
Beispiel #8
0
 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)]])
Beispiel #9
0
	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.")]])
Beispiel #10
0
	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)]])
Beispiel #11
0
 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")]])
Beispiel #12
0
 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?")]])
Beispiel #13
0
 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)]])
Beispiel #14
0
 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?")]])