Beispiel #1
0
 def NPC_offers(self, camp):
     mylist = list()
     mylist.append(Offer(
         "[WE_MEET_AGAIN] Another day hard at work, eh [audience]?",
         context=ContextTag([context.ATTACK, ]), effect=self._start_conversation))
     mylist.append(Offer("I try to [objective_ep], you do whatever you're doing, and at the end of the day we both get paid!",
                         context=ContextTag([context.CHALLENGE, ])))
     return mylist
Beispiel #2
0
 def NPC_offers(self, camp):
     mylist = list()
     mylist.append(Offer(
         "[BATTLE_GREETING] I'm supposed to [objective_ep], so let's try to get this finished up as soon as possible.",
         context=ContextTag([context.ATTACK, ]), effect=self._start_conversation))
     mylist.append(Offer("Any time you're ready.",
                         context=ContextTag([context.CHALLENGE, ])))
     return mylist
Beispiel #3
0
 def NPC_offers(self, camp):
     mylist = list()
     mylist.append(Offer(
         "[BATTLE_GREETING] I've been practicing every day, and sometime I hope to be as good a pilot as you!",
         context=ContextTag([context.ATTACK, ]), effect=self._start_conversation))
     mylist.append(Offer("Time to see if my training has paid off...",
                         context=ContextTag([context.CHALLENGE, ])))
     return mylist
Beispiel #4
0
 def NPC_offers(self,camp):
     mylist = list()
     myclash = self.elements["NPC"].relationship.get_recent_memory([relationships.MEM_Clash])
     mylist.append(Offer("[WE_MEET_AGAIN] The last time we met in battle, {}.".format(myclash.npc_perspective),
                         context=ContextTag([context.ATTACK, ]), effect=self._start_conversation))
     mylist.append(Offer("[CHALLENGE]",
                         context=ContextTag([context.CHALLENGE, ])))
     return mylist
Beispiel #5
0
    def NPC_offers(self, camp: gears.GearHeadCampaign):
        mylist = list()

        if not self.elements["CHALLENGE"].active:
            mylist.append(
                Offer(
                    "[HELLO] I've been investigating {MYSTERY}, but so far I've only found a few leads."
                    .format(**self.elements),
                    ContextTag([
                        context.HELLO,
                    ]),
                ))

            mylist.append(
                Offer(
                    "Here, I'll share my notes with you. So far I have a list of suspects, some possible motives... not much.",
                    ContextTag([
                        context.CUSTOM,
                    ]),
                    subject=str(self.elements["MYSTERY"]),
                    data={"reply": "Maybe I could help you with that."},
                    effect=self._start_challenge,
                    dead_end=True))
        else:
            mylist.append(
                Offer(
                    "[HELLO] Have you learned anything about {MYSTERY}?".
                    format(**self.elements),
                    ContextTag([
                        context.HELLO,
                    ]),
                ))

            if self.elements["CHALLENGE"].is_won():
                mylist.append(
                    Offer(
                        "[GOOD_JOB] {CULPRIT} will be going away for a long time... Here's your share of the reward."
                        .format(**self.elements),
                        ContextTag([
                            context.CUSTOM,
                        ]),
                        data={
                            "reply":
                            "I have. {MYSTERY.solution_text}".format(
                                **self.elements)
                        },
                        effect=self._win_challenge))

            mylist.append(
                Offer("Great. Please let me know if you discover any leads.".
                      format(**self.elements),
                      ContextTag([
                          context.CUSTOM,
                      ]),
                      data={"reply": "[STILL_WORKING_ON_IT]"}))

        return mylist
 def _commander_offers(self,camp):
     mylist = list()
     mylist.append(Offer("This area is under the control of {}. Leave now or we'll [threat].".format(str(self.elements["_eteam"].faction)),
         context=ContextTag([context.ATTACK,])))
     mylist.append(Offer("[CHALLENGE]",
         context=ContextTag([context.CHALLENGE,]),  ))
     mylist.append(Offer("[WITHDRAW]",
         context=ContextTag([context.WITHDRAW,]), effect=self._withdraw ))
     return mylist
 def _commander_offers(self,camp):
     mylist = list()
     myfac = self.elements["ALLIED_FACTION"]
     mylist.append(Offer("Hold your fire- I'm not an enemy! You were sent by {}, weren't you?! I know about their secret agenda, and they're trying to keep the word from getting out...".format(myfac),
         context=ContextTag([context.ATTACK,])))
     mylist.append(Offer("Very well, you've made it clear what side you're on. [CHALLENGE]",
         context=ContextTag([context.CHALLENGE,])))
     mylist.append(Offer("They've been taken over by extremists; {} is no longer taking orders from {}. I was ordered to attack a village, but refused... now they're after me. Be careful, they're going to come after you too.".format(myfac,myfac.parent_faction.name),
         context=ContextTag([context.COMBAT_INFO,]), data={"subject":"Secret Agenda"}, effect=self._get_info))
     return mylist
 def NPC_offers(self,camp):
     mylist = list()
     if self.eteam_defeated:
         mylist.append(Offer("[THANKS_FOR_MECHA_COMBAT_HELP] It would be a pleasure to fight at your side again someday.",dead_end=True,context=ContextTag([ghdialogue.context.HELLO,]),
                             effect=self.pilot_leaves_combat))
     else:
         myoffer = Offer(
             "[HELP_ME_VS_MECHA_COMBAT] I've been tracking weapons smugglers in the L5 region, and have traced their wares to {}.".format(self.elements["ENEMY_FACTION"]),
             dead_end=True, context=ContextTag([ghdialogue.context.HELLO,]))
         mylist.append(myoffer)
     return mylist
 def _commander_offers(self, camp):
     mylist = list()
     mylist.append(
         Offer("[WHATAREYOUDOINGHERE] This cargo is ours.",
               context=ContextTag([
                   context.ATTACK,
               ])))
     mylist.append(
         Offer("[CHALLENGE]", context=ContextTag([
             context.CHALLENGE,
         ])))
     return mylist
 def NPC_offers(self, camp):
     mylist = list()
     npc = self.elements["NPC"]
     if gears.relationships.RT_LANCEMATE not in npc.relationship.tags:
         if camp.can_add_lancemate():
             mylist.append(
                 Offer("I can't believe you asked me... [LETSGO]",
                       context=ContextTag((context.JOIN, )),
                       effect=self._join_lance))
         mylist.append(
             Offer("[HELLO] Some day I want to become a cavalier like you.",
                   context=ContextTag((context.HELLO, ))))
     return mylist
    def SHOPKEEPER_offers(self, camp):
        mylist = list()

        mylist.append(Offer("[HELLO] This is {}; remember, anything you buy here, you didn't get it from me.".format(self.shopname),
                            context=ContextTag([context.HELLO]),
                            ))

        mylist.append(Offer("[OPENSHOP]",
                            context=ContextTag([context.OPEN_SHOP]), effect=self.shop,
                            data={"shop_name": self.shopname, "wares": "gear"},
                            ))

        return mylist
 def NPC_offers(self, camp):
     mylist = list()
     npc = self.elements["NPC"]
     if gears.relationships.RT_LANCEMATE not in npc.relationship.tags:
         if camp.can_add_lancemate() and npc.get_reaction_score(
                 camp.pc, camp) > 0:
             mylist.append(
                 Offer("[THANKS_FOR_CHOOSING_ME] [LETSGO]",
                       context=ContextTag((context.JOIN, )),
                       effect=self._join_lance))
         mylist.append(
             Offer("[HELLO] [WAITINGFORMISSION]",
                   context=ContextTag((context.HELLO, ))))
     return mylist
 def _get_generic_offers(self, npc, camp):
     """Get any offers that could apply to non-element NPCs."""
     goffs = list()
     if npc in self.party_npcs:
         if self.countdown > 0 and self.party_lines:
             goffs.append(Offer(
                 "[HELLO] {}".format(self.party_lines.pop()),
                 ContextTag((context.HELLO,)), effect=self._say_party_line
             ))
         else:
             goffs.append(Offer(
                 "[HELLO] You know, you're the one who really did the hard work to help get our power back. I say you should give a speech!",
                 ContextTag((context.HELLO,)), effect=self._give_speech, dead_end=True
             ))
     return goffs
    def NPC_offers(self, camp):
        mylist = list()
        npc = self.elements["NPC"]
        if gears.relationships.RT_LANCEMATE not in npc.relationship.tags:
            if camp.can_add_lancemate() and npc.get_reaction_score(camp.pc, camp) > 0:
                mylist.append(Offer("And there's my way out of {METROSCENE}! [LETSGO]".format(**self.elements),
                                    context=ContextTag((context.JOIN,)),
                                    effect=self._join_lance
                                    ))
            mylist.append(Offer(
                "[HELLO] This town is boring... if I had a way out, I'd take it in a second.", context=ContextTag((context.HELLO,))
            ))
        mylist.append(LMSkillsSelfIntro(npc))

        return mylist
Beispiel #15
0
    def TDF_CONTACT_offers(self, camp):
        mylist = list()
        mylist.append(
            Offer(
                "[HELLO] We are unable to track its exact position, but Cetus appears to be moving towards {METROSCENE}. Our battlecarrier The Voice of Iijima stands ready to fire on the biomonster as soon as we have a clear shot."
                .format(**self.elements),
                context=(context.HELLO, ),
            ))
        if not camp.campdata.get(DZDCVAR_YES_TO_TDF):
            mylist.append(
                Offer(
                    "{METROSCENE} is being evacuated as we speak. Mecha scale weapons are clearly not powerful enough to counteract Cetus's regeneration factor. We must stop it now, before it reaches the cities of the green zone. In a worst case scenario we're talking about the difference between hundreds of dead and millions. Are you going to help us or not?"
                    .format(**self.elements),
                    context=(context.CUSTOM, ),
                    subject=self,
                    subject_start=True,
                    data={
                        "reply":
                        "You can't seriously be going to use your nuclears this close to a town?!"
                    }))

            mylist.append(
                Offer(
                    "Cetus appears to have active sensor blocking capability, similar to the experimental Anubis mecha. It's been moving in a series of short, high velocity flights. Every time it jumps we lose it and have to start looking again, but the hope is that after each jump it needs to recharge before jumping again. Will you help us defeat this monster?"
                    .format(**self.elements),
                    context=(context.CUSTOM, ),
                    subject=self,
                    subject_start=True,
                    data={"reply": "Why can't you track its position?"}))

            mylist.append(
                Offer(
                    "As I said, Cetus is approaching {METROSCENE}. If you can get it to expend some of its energy, just enough to prevent it from making a quick rocket jump, then we can hit it with everything we have."
                    .format(**self.elements),
                    context=(context.CUSTOMREPLY, ),
                    subject=self,
                    data={"reply": "Alright, I'll help you."},
                    effect=self._say_yes))

            mylist.append(
                Offer(
                    "In that case I suggest you get out of here. This area is going to be dangerous."
                    .format(**self.elements),
                    context=(context.CUSTOMREPLY, ),
                    subject=self,
                    data={"reply": "No, there must be another way."}))

        return mylist
Beispiel #16
0
 def build_offer(self):
     return Offer(msg=self.message,
                  context=ContextTag((context.INFO, )),
                  effect=self.blast_that_info,
                  subject=self.subject,
                  data={"subject": self.subject_text},
                  no_repeats=True)
 def LMNPC_offers(self, camp):
     mylist = list()
     mylist.append(
         Offer("[CHALLENGE]", context=ContextTag([
             context.CHALLENGE,
         ])))
     return mylist
Beispiel #18
0
 def NPC_offers(self, camp):
     mylist = list()
     if not self.mission_seed:
         mylist.append(Offer(
             "I have a {BUILDING_NAME} that's been taken over by bandits; I could use your help to clear them out.".format(**self.elements),
             context=ContextTag([context.MISSION, ]), subject=self, subject_start=True,
         ))
         mylist.append(Offer(
             "[IWillSendMissionDetails]. [GOODLUCK]",
             context=ContextTag([context.ACCEPT, ]), effect=self.register_adventure, subject=self,
         ))
         mylist.append(Offer(
             "[GOODBYE]",
             context=ContextTag([context.DENY, ]), subject=self,
         ))
     return mylist
Beispiel #19
0
    def SHERIFF_offers(self,camp):
        mylist = list()

        if camp.scene is self.elements["LOCALE"]:

            mylist.append(Offer(
                "Alright. When we get to the field, I'll give you a brief tutorial. You can get in your mecha by using the boarding chute over there.",
                dead_end=True, effect=self._activate_tutorial,
                context=ContextTag([context.CUSTOMREPLY]), subject="TUTORIAL",
                data={"reply": "[YESPLEASE]"}
            ))
            mylist.append(Offer(
                "Understood. You can get in your mecha by using the boarding chute over there.",
                dead_end=True, effect=self._deactivate_tutorial,
                context=ContextTag([context.CUSTOMREPLY]), subject="TUTORIAL",
                data={"reply": "[NOTHANKYOU]"}
            ))

            if not self._did_first_reply:
                mylist.append(Offer(
                        "Guess what? The power station is under attack again! The local bandits must really covet our huge supplies of copper wire. All ready to suit up and roll out?".format(**self.elements),
                        context=ContextTag([context.HELLO]), allow_generics=False
                ))

                mylist.append(Offer(
                    "[GOOD] I'm really glad you've been here to help us out. One more question: Do you want me to walk you through the new mecha control upgrade?".format(
                        self.elements["DZ_TOWN_NAME"]),
                    context=ContextTag([context.CUSTOM]), effect=self._choose_friendly_reply,
                    data={"reply": "[IWOULDLOVETO]"}, subject="TUTORIAL", subject_start=True,
                ))

                mylist.append(Offer(
                    "You know, I really owe you one for helping me defend {DZ_TOWN_NAME}. One question before we go: Do you want me to walk you through the new mecha control upgrade?".format(**self.elements),
                    context=ContextTag([context.CUSTOM]), effect=self._choose_professional_reply,
                    data={"reply": "[LETS_START_MECHA_MISSION]"}, subject="TUTORIAL", subject_start=True,
                ))

            else:
                mylist.append(Offer(
                    "Time to go defend the power station. Do you want me to walk you through the new mecha control upgrade when we get there?",
                    context=ContextTag([context.HELLO]), allow_generics=False,
                ))
                mylist.append(Offer(
                    "Alright. When we get to the field, I'll give you a brief tutorial. You can get in your mecha by using the boarding chute over there.",
                    dead_end=True, effect=self._activate_tutorial,
                    context=ContextTag([context.CUSTOM]),
                    data={"reply": "[YESPLEASE]"}
                ))
                mylist.append(Offer(
                    "Understood. You can get in your mecha by using the boarding chute over there.",
                    dead_end=True, effect=self._deactivate_tutorial,
                    context=ContextTag([context.CUSTOM]),
                    data={"reply": "[NOTHANKYOU]"}
                ))

        return mylist
Beispiel #20
0
    def NPC_offers(self, camp):
        mylist = list()
        if not self.mission_active:
            mylist.append(
                Offer("[HELLO] [LOOKING_FOR_CAVALIER]",
                      ContextTag([context.HELLO, context.MISSION]),
                      data={"faction": str(self.elements["ENEMY_FACTION"])}))

            mylist.append(
                Offer("[MechaMissionVsEnemyFaction]; [THEYARETHIEVES]",
                      ContextTag([
                          context.MISSION,
                      ]),
                      data={
                          "enemy_faction": str(self.elements["ENEMY_FACTION"]),
                          "they": str(self.elements["ENEMY_FACTION"])
                      },
                      subject=self,
                      subject_start=True))

            mylist.append(
                Offer("[GOODLUCK] [IWillSendMissionDetails].",
                      ContextTag([
                          context.ACCEPT,
                      ]),
                      data={"faction": str(self.elements["ENEMY_FACTION"])},
                      effect=self._accept_mission,
                      subject=self))

            mylist.append(
                Offer("[UNDERSTOOD]",
                      ContextTag([
                          context.DENY,
                      ]),
                      data={"faction": str(self.elements["ENEMY_FACTION"])},
                      effect=self._deny_misssion,
                      subject=self))

            mylist.append(
                Offer("You've got no business being here.",
                      ContextTag([
                          context.UNFAVORABLE_HELLO,
                      ]),
                      data={"faction": str(self.elements["ENEMY_FACTION"])},
                      effect=self._deny_misssion))
        return mylist
    def LEADER_offers(self, camp):
        mylist = list()
        mylist.append(
            Offer(
                "[HELLO] You are in {}.".format(str(self.elements["LOCALE"])),
                context=ContextTag([context.HELLO]),
            ))

        if self.town_origin_ready:
            mylist.append(
                Offer(" ".join(self.elements["BACKSTORY"].results["text"]),
                      context=ContextTag([context.INFO]),
                      effect=self._tell_town_origin,
                      data={"subject": "this place"},
                      no_repeats=True))

        return mylist
Beispiel #22
0
 def NPC_offers(self, camp):
     mylist = list()
     mylist.append(
         Offer("[INFO_PERSONAL]",
               context=ContextTag([context.PERSONAL]),
               no_repeats=True,
               effect=self.end_plot))
     return mylist
    def SCOUT_offers(self,camp):
        mylist = list()
        mylist.append(
            Offer(
                "[HELLO] The battlecarrier Voice of Iijima has followed Cetus to {}.".format(camp.campdata[DZDCVAR_CETUS_TOWN]),
                context=(context.HELLO,),
            )
        )

        mylist.append(
            Offer(
                "Go to {} and make contact with {}; {} will know what to do.".format(camp.campdata[DZDCVAR_CETUS_TOWN], self.elements["TDF_CONTACT"], self.elements["TDF_CONTACT"].gender.subject_pronoun),
                context=(context.CUSTOM,), data={"reply": "What can we do to help?"}
            )
        )

        return mylist
Beispiel #24
0
 def REFUGEE1_offers(self, camp):
     mylist = list()
     mylist.append(
         Offer(
             "We lost everything. One minute we were just sitting at home, the next there was a war happening right outside our window.",
             context=(context.HELLO, ),
         ))
     return mylist
 def REFUGEE3_offers(self, camp):
     mylist = list()
     mylist.append(
         Offer(
             "I was there when they discovered the egg... We thought it was part of a PreZero ruin, but then someone cracked the surface and it started screaming...".format(**self.elements),
             context=(context.HELLO,),
         )
     )
     return mylist
 def REFUGEE2_offers(self, camp):
     mylist = list()
     mylist.append(
         Offer(
             "I got separated from my family during the evacuation... I hope they made it out of {DOOMED_VILLAGE}.".format(**self.elements),
             context=(context.HELLO,),
         )
     )
     return mylist
    def LEADER_offers(self, camp):
        mylist = list()
        mylist.append(
            Offer(
                "[HELLO] Welcome to {}.".format(str(self.elements["LOCALE"])),
                context=ContextTag([context.HELLO]),
            ))

        return mylist
    def DOCTOR_offers(self, camp):
        mylist = list()

        mylist.append(
            Offer(
                "[HELLO] How are you feeling today?",
                context=ContextTag([context.HELLO]),
            ))

        mylist.append(
            Offer("[OPENSHOP]",
                  context=ContextTag([context.OPEN_SHOP]),
                  effect=self.shop,
                  data={
                      "shop_name": self.myname,
                      "wares": "medicine"
                  }))

        return mylist
Beispiel #29
0
    def NPC_offers(self, camp):
        mylist = list()
        mylist.append(
            Offer(
                msg=
                "[HELLO] During my last trip into town I saw something really strange out there...",
                context=ContextTag((context.HELLO, )),
            ))
        mylist.append(
            Offer(
                msg=
                "I was driving through {LOCALE}, like I usually do. {INTERESTING_POINT}"
                .format(**self.elements),
                context=ContextTag((context.INFO, )),
                effect=self._get_info,
                data={"subject": "what you saw outside of town"},
                no_repeats=True))

        return mylist
    def NPC_offers(self, camp):
        mylist = list()

        subject = random.choice(
            self.elements["CHALLENGE"].data["challenge_statements"])

        mylist.append(
            Offer("[HELLO] [CONTROVERSIAL_OPINION]",
                  ContextTag([
                      context.HELLO,
                  ]),
                  data={"opinion": subject}))

        ghdialogue.SkillBasedPartyReply(
            Offer(
                "[MAYBE_YOU_ARE_RIGHT_ABOUT_OPINION] [I_MUST_CONSIDER_MY_NEXT_STEP]",
                ContextTag([
                    context.CUSTOM,
                ]),
                effect=self._win_the_mission,
                data={
                    "reply":
                    "[HAVE_YOU_CONSIDERED]",
                    "consider_this":
                    random.choice(
                        self.elements["CHALLENGE"].data["pc_rebuttals"]),
                    "opinion":
                    random.choice(
                        self.elements["CHALLENGE"].data["npc_agreement"])
                },
                subject=subject), camp, mylist, gears.stats.Charm,
            gears.stats.Negotiation, self.rank, gears.stats.DIFFICULTY_AVERAGE)

        mylist.append(
            Offer("{}. [GOODBYE]".format(
                random.choice(
                    self.elements["CHALLENGE"].data["npc_disagreement"])),
                  ContextTag([context.CUSTOM]),
                  effect=self.end_plot,
                  data={"reply": "[YOU_COULD_BE_RIGHT]"},
                  subject=subject))

        return mylist