static public void SetOptions_Intimidate(Dialogue_Prompt obj) { obj.AddFollowUp(Dialogue_Option.GetOptionByName("dialogue_option_intimidate_2_imply")); obj.AddFollowUp(Dialogue_Option.GetOptionByName("dialogue_option_intimidate_2_threaten")); obj.AddFollowUp(Dialogue_Option.GetOptionByName("dialogue_option_intimidate_2_act")); obj.AddFollowUp(Dialogue_Option.GetOptionByName("dialogue_option_neverMind")); }
static public void SetOptions_Intimidate_Action(Dialogue_Prompt obj) { obj.AddFollowUp(Dialogue_Option.GetOptionByName("dialogue_option_intimidate_3_informBoss")); obj.AddFollowUp(Dialogue_Option.GetOptionByName("dialogue_option_intimidate_3_breakMerchandise")); obj.AddFollowUp(Dialogue_Option.GetOptionByName("dialogue_option_intimidate_3_attackShopkeeper")); obj.AddFollowUp(Dialogue_Option.GetOptionByName("dialogue_option_intimidate_3_burnShopDown")); obj.AddFollowUp(Dialogue_Option.GetOptionByName("dialogue_option_neverMind")); }
static public void SetOptions_ShopInventory(Dialogue_Prompt obj) { obj.AddFollowUp(Dialogue_Option.GetOptionByName("dialogue_option_shopProduct")); obj.AddFollowUp(Dialogue_Option.GetOptionByName("dialogue_option_shopProduct")); obj.AddFollowUp(Dialogue_Option.GetOptionByName("dialogue_option_shopProduct")); obj.AddFollowUp(Dialogue_Option.GetOptionByName("dialogue_option_shopProduct")); obj.AddFollowUp(Dialogue_Option.GetOptionByName("dialogue_option_neverMind")); }
static public void SetOptions_AssaultSecondary(Dialogue_Prompt obj) { obj.AddFollowUp(Dialogue_Option.GetOptionByName("dialogue_option_placate")); obj.AddFollowUp(Dialogue_Option.GetOptionByName("dialogue_option_getDetails")); obj.AddFollowUp(Dialogue_Option.GetOptionByName("dialogue_option_ignore")); obj.AddFollowUp(Dialogue_Option.GetOptionByName("dialogue_option_placate")); obj.AddFollowUp(Dialogue_Option.GetOptionByName("dialogue_option_getDetails")); obj.AddFollowUp(Dialogue_Option.GetOptionByName("dialogue_option_ignore")); }
static public void SetOptions_Root(Dialogue_Prompt obj) { obj.AddFollowUp(Dialogue_Option.GetOptionByName("dialogue_option_requestPayment")); obj.AddFollowUp(Dialogue_Option.GetOptionByName("dialogue_option_earlyPayment")); obj.AddFollowUp(Dialogue_Option.GetOptionByName("dialogue_option_renegotiate")); obj.AddFollowUp(Dialogue_Option.GetOptionByName("dialogue_option_offerProtection")); obj.AddFollowUp(Dialogue_Option.GetOptionByName("dialogue_option_intimidate")); obj.AddFollowUp(Dialogue_Option.GetOptionByName("dialogue_option_goShopping")); obj.AddFollowUp(Dialogue_Option.GetOptionByName("dialogue_option_chitChat")); obj.AddFollowUp(Dialogue_Option.GetOptionByName("dialogue_option_exitShop")); }
private void SetOptions() { UnityEngine.Events.UnityAction[] actions = GetButtonActionFromDict((Dialogue_Prompt_Logic.FilterKeys(currentDialoguePrompt, shopkeeperRef)).ToArray()); for (int i = 0; i < actions.Length; ++i) { SetBtnActions(i + 1, actions [i]); } List <string> buttonKeys = Dialogue_Prompt_Logic.FilterKeys(currentDialoguePrompt, shopkeeperRef); string[] choicesString = new string[6]; for (int i = 0; i < buttonKeys.Count; ++i) { string buttonTextKey = Dialogue_Option.GetOptionByName(buttonKeys[i]).buttonTextKey; List <string> parameters = new List <string>(); switch (buttonKeys[i]) { case "dialogue_option_shopProduct": { if (i < shopkeeperRef.home.inventory.items.Count && shopkeeperRef.home.inventory.items[i] != null) { string parameter = Localization.LocalizeText(shopkeeperRef.home.inventory.items[i].id); parameters.Add(parameter); choicesString[i] = Localization.LocalizeText(buttonTextKey, parameters); } else { choicesString[i] = "DISABLE ME!"; } break; } //case "dialogue_option_confirmPurchase": { //parameters.Add (); //break; } default: { choicesString[i] = Localization.LocalizeText(buttonTextKey); break; } } } choicesText.Clear(); choicesText = choicesString.ToList(); SetChoices(choicesString); }
static public void SetOptions_OutsideShop(Dialogue_Prompt obj) { obj.AddFollowUp(Dialogue_Option.GetOptionByName("dialogue_option_enterShop")); }
static public void SetOptions_OfferAccepted(Dialogue_Prompt obj) { obj.AddFollowUp(Dialogue_Option.GetOptionByName("dialogue_option_acknowledge")); }
static public void SetOptions_OfferRefused(Dialogue_Prompt obj) { obj.AddFollowUp(Dialogue_Option.GetOptionByName("dialogue_option_intimidate")); obj.AddFollowUp(Dialogue_Option.GetOptionByName("dialogue_option_tryAnotherOffer")); obj.AddFollowUp(Dialogue_Option.GetOptionByName("dialogue_option_neverMind")); }
static public void SetOptions_AidingBusiness(Dialogue_Prompt obj) { obj.AddFollowUp(Dialogue_Option.GetOptionByName("dialogue_option_donate")); obj.AddFollowUp(Dialogue_Option.GetOptionByName("dialogue_option_cutProtectionCost")); obj.AddFollowUp(Dialogue_Option.GetOptionByName("dialogue_option_neverMind")); }
static public void SetOptions_IntimidatedUnaffected(Dialogue_Prompt obj) { // TODO: follow ups for intimidate obj.AddFollowUp(Dialogue_Option.GetOptionByName("dialogue_option_exitShop")); }
static public void SetOptions_ProblemWithPayment(Dialogue_Prompt obj) { obj.AddFollowUp(Dialogue_Option.GetOptionByName("dialogue_option_hearProposition")); obj.AddFollowUp(Dialogue_Option.GetOptionByName("dialogue_option_offerToAidBusiness")); }
static public void SetOptions_PaymentNone(Dialogue_Prompt obj) { obj.AddFollowUp(Dialogue_Option.GetOptionByName("dialogue_option_intimidate")); obj.AddFollowUp(Dialogue_Option.GetOptionByName("dialogue_option_checkTheRegister")); obj.AddFollowUp(Dialogue_Option.GetOptionByName("dialogue_option_accept")); }
static public void SetOptions_GiveDetails(Dialogue_Prompt obj) { obj.AddFollowUp(Dialogue_Option.GetOptionByName("dialogue_option_acknowledge")); }
static public void SetOptions_Greeting(Dialogue_Prompt obj) { obj.AddFollowUp(Dialogue_Option.GetOptionByName("dialogue_option_returnGreeting")); }
static public void SetOptions_PaymentFull(Dialogue_Prompt obj) { obj.AddFollowUp(Dialogue_Option.GetOptionByName("dialogue_option_accept")); }
static public void SetOptions_ConfirmPurchase(Dialogue_Prompt obj) { obj.AddFollowUp(Dialogue_Option.GetOptionByName("dialogue_option_confirmPurchase")); obj.AddFollowUp(Dialogue_Option.GetOptionByName("dialogue_option_neverMind")); }
static public void SetOptions_RegisterTakeOrLeaveMoney(Dialogue_Prompt obj) { obj.AddFollowUp(Dialogue_Option.GetOptionByName("dialogue_option_accept")); obj.AddFollowUp(Dialogue_Option.GetOptionByName("dialogue_option_intimidate")); }
static public void SetOptions_RegisterHiddenMoney(Dialogue_Prompt obj) { obj.AddFollowUp(Dialogue_Option.GetOptionByName("dialogue_option_accept")); obj.AddFollowUp(Dialogue_Option.GetOptionByName("dialogue_option_takeRegisterMoney")); }
static public void SetOptions_RegisterEmpty(Dialogue_Prompt obj) { obj.AddFollowUp(Dialogue_Option.GetOptionByName("dialogue_option_accept")); obj.AddFollowUp(Dialogue_Option.GetOptionByName("dialogue_option_offerToAidBusiness")); obj.AddFollowUp(Dialogue_Option.GetOptionByName("dialogue_option_exitShop")); }
static public void SetOptions_AskToLowerPayment(Dialogue_Prompt obj) { obj.AddFollowUp(Dialogue_Option.GetOptionByName("dialogue_option_accept")); obj.AddFollowUp(Dialogue_Option.GetOptionByName("dialogue_option_reject")); }
static public void SetOptions_PurchaseSuccessful(Dialogue_Prompt obj) { obj.AddFollowUp(Dialogue_Option.GetOptionByName("dialogue_option_neverMind")); obj.AddFollowUp(Dialogue_Option.GetOptionByName("dialogue_option_exitShop")); }