Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [ScriptEntry(Entry = 130033)]
- public static void SouthGeneral(Player player, byte option) //1353 788 545
- {
- switch (option)
- {
- case 0:
- {
- Dialog.SendDialog(player, "If you have a SoulToken, I can teleport you to the fourth level of the labyrinth. ");
- Dialog.SendDialog(player, "Also, if you'd like to go back to TwinCity I can send you free of charge.");
- Dialog.SendOption(player, "I'd like to advance into the labyrinth.", 1);
- Dialog.SendOption(player, "I'd like to go back to TwinCity.", 2);
- Dialog.SendOption(player, "Just passing by.", 255);
- Dialog.Finish(player);
- break;
- }
- case 1:
- {
- if (player.Inventory.ContainsById(721539, out tokenAmount) || tokenAmount < 1)
- {
- Dialog.SendDialog(player, "You don't have a SoulToken.");
- Dialog.SendOption(player, "Oh.", 255);
- Dialog.Finish(player);
- break;
- }
- player.Inventory.RemoveByCount(721539, 1); //SoulToken
- player.Teleport(1354, 9, 290);
- break;
- }
- case 2:
- {
- player.Teleport(1002, 431, 379);
- break;
- }
- }
- }
Add Comment
Please, Sign In to add comment