public void OnMouseDown() { if (!DialogueManager.dialogueActive && player.cursor_value == 0 && GameObject.FindGameObjectWithTag("Room").name != "Memory(Clone)") { player.talking = true; rtalking = true; DialogueManager.ShowBox(dialogue, false, false, false, false, "", "Russet"); TopicChoice.ShowBoxes(Usable, "Russet"); } }
public void OnMouseDown() { if (!DialogueManager.dialogueActive && player.cursor_value == 0) { player.talking = true; ptalking = true; DialogueManager.ShowBox(dialogue, false, false, false, false, "", "Pygo"); TopicChoice.ShowBoxes(Usable, "Pygo"); } }
public void OnMouseDown() { if (!DialogueManager.dialogueActive) { player.talking = true; mtalking = true; // DialogueManager.ShowBox (dialogue, true, "Ana", "Manager"); DialogueManager.ShowBox(dialogue, false, false, false, false, "", "Manager"); TopicChoice.ShowBoxes(Usable, "Manager"); } }
void OnMouseDown() { if (!DialogueManager.dialogueActive && player.check_topic("GREET") && player.cursor_value == 0) { player.talking = true; ctalking = true; // DialogueManager.ShowBox (dialogue, false, "Cornelia", "Ana"); DialogueManager.ShowBox(dialogue, false, false, false, false, "", "Cornelia"); TopicChoice.ShowBoxes(Usable, "Cornelia"); } }
void OnMouseDown() { if (player.event8 && player.check_topic("RUSSETREADY") && player.check_topic("MONEY") && !player.talking) { DialogueManager.ShowBox(moneyready, moneyreadydirections, true, false, true, false, "", "Russet"); } if (player.event8 && player.check_topic("MONEY") && !player.check_topic("RUSSETREADY") && !player.talking) { DialogueManager.ShowBox(money, true, false, false, false, "", ""); } if (player.event8 && player.check_topic("RUSSETREADY") && !player.check_topic("MONEY") && !player.talking) { DialogueManager.ShowBox(ready, true, false, false, false, "", ""); } if (player.event8 && !player.check_topic("MONEY") && !player.check_topic("RUSSETREADY") && !player.talking) { DialogueManager.ShowBox(checkoutrusset, true, false, false, false, "", ""); } if ((player.event5 || player.event6 || player.event7) && !player.talking) { DialogueManager.ShowBox(GetComponent <Item>().flavortext, true, false, false, false, "", ""); } if (player.event3 && player.check_topic("CHECKOUT") && !loggedin && player.cursor_value == 0 && !player.event8 && !player.talking) { player.talking = true; DialogueManager.ShowBox(dialogue, true, false, false, false, "", ""); if (player.check_topic("MYDEATH")) { player.talking = true; TopicChoice.ShowBoxes(Usable, "Computer"); } else { DialogueManager.ShowBox(dialogue1, true, false, false, false, "", ""); // player.talking = false; } } else if (player.event3 && !loggedin && !player.check_topic("CHECKOUT") && player.cursor_value == 0 && !player.talking) { DialogueManager.ForceClose(); DialogueManager.ShowBox(beforepass, true, false, false, false, "", ""); } else if (loggedin && player.cursor_value == 0 && !player.talking) { if (player.event4) { DialogueManager.ShowBox(gameObject.GetComponent <Item>().flavortext1, true, false, false, false, "", ""); } else { DialogueManager.ForceClose(); DialogueManager.ShowBox(checkstatus, checkstatusdirections, true, false, true, false, "", "Russet"); if (!player.check_topic("RUSSET")) { player.add_topic("RUSSET"); } if (!player.check_topic("WALLET")) { player.add_topic("WALLET"); } } } }