diff options
author | jesusalva <cpntb1@ymail.com> | 2018-02-22 21:48:12 -0300 |
---|---|---|
committer | jesusalva <cpntb1@ymail.com> | 2018-02-22 21:48:12 -0300 |
commit | 90f5a5b4d45114c3aaafa7ffb039802ada2d6d26 (patch) | |
tree | b2a112976e74aaaebe7b4866794ff451c7aec855 /npc/commands/debug-quest.txt | |
parent | a0712e6473747b5e63b9a717989282d984d176af (diff) | |
download | serverdata-90f5a5b4d45114c3aaafa7ffb039802ada2d6d26.tar.gz serverdata-90f5a5b4d45114c3aaafa7ffb039802ada2d6d26.tar.bz2 serverdata-90f5a5b4d45114c3aaafa7ffb039802ada2d6d26.tar.xz serverdata-90f5a5b4d45114c3aaafa7ffb039802ada2d6d26.zip |
Remove quest debug to make quest db cleanup
Diffstat (limited to 'npc/commands/debug-quest.txt')
-rw-r--r-- | npc/commands/debug-quest.txt | 104 |
1 files changed, 3 insertions, 101 deletions
diff --git a/npc/commands/debug-quest.txt b/npc/commands/debug-quest.txt index 6042dcf57..0da95f402 100644 --- a/npc/commands/debug-quest.txt +++ b/npc/commands/debug-quest.txt @@ -1,96 +1,6 @@ // TODO: This script must be auto-generated from db/quests.conf to be of any use function script GlobalQuestDebug { - function qDebugShip { - function qDebugGugli { - do - { - clear; - setnpcdialogtitle l("Quest debug") + " - " + l("Prologue") + " - Gugli"; - mes l("This menu gives access to quest debug menus for @@ quest subquests.", "Gugli"); - next; - mes l("Please select a quest:"); - - menuint - menuimage("actions/back", l("Go back")), -1, - l("Gugli (main quest)"), ShipQuests_Gugli, - "Ale", ShipQuests_Ale, - "Astapolos", ShipQuests_Astapolos, - "Gulukan", ShipQuests_Gulukan, - "Jalad", ShipQuests_Jalad, - "Q'Muller", ShipQuests_QMuller, - "Tibbo", ShipQuests_Tibbo; - - switch (@menuret) - { - case -1: return; - default: callfunc "QuestDebug" + @menuret; - } - } while (1); - } - - do - { - clear; - setnpcdialogtitle l("Quest debug") + " - " + l("Prologue"); - mes l("This menu gives access to quest debug menus for @@ quests.", l("Prologue")); - next; - mes l("Please select a quest:"); - - menuint - menuimage("actions/back", l("Go back")), -1, - "Julia", ShipQuests_Julia, - "Arpan", ShipQuests_Arpan, - "Alige", ShipQuests_Alige, - "Peter", ShipQuests_Peter, - "Nard", ShipQuests_Nard, - l("Knife"), ShipQuests_Knife, - l("Money"), ShipQuests_ArpanMoney, - l("Door"), ShipQuests_Door, - "Couwan", ShipQuests_Couwan, - l("Treasure Chest"), ShipQuests_TreasureChest, - "Gugli", ShipQuests_Gugli, - "Gado", ShipQuests_ChefGado; - - switch (@menuret) - { - case 16: qDebugGugli; break; - case -1: return; - default: callfunc "QuestDebug" + @menuret; - } - } while (1); - } - - function qDebugArtis { - do - { - clear; - setnpcdialogtitle l("Quest debug") + " - " + l("Artis"); - mes l("This menu gives access to quest debug menus for @@ quests.", "Artis"); - next; - mes l("Please select a quest:"); - - menuint - menuimage("actions/back", l("Go back")), -1, - l("Lazy Brother"), ArtisQuests_LazyBrother, - l("Urchin"), ArtisQuests_Urchin, - l("Catching a piou"), ArtisQuests_CatchPiou, - "Eugene (" + l("fisherman") + ")", ArtisQuests_Fishman, - "Q'Onan", ArtisQuests_QOnan, - "Enora", ArtisQuests_Enora, - "Fexil", ArtisQuests_Fexil, - "Lloyd", ArtisQuests_Lloyd, - l("Mona's dad"), ArtisQuests_MonaDad, - l("Artis legion progress"), Artis_Legion_Progress; - - switch (@menuret) - { - case -1: return; - default: callfunc "QuestDebug" + @menuret; - } - } while (1); - } - function qDebugGeneral { do { @@ -102,10 +12,6 @@ function script GlobalQuestDebug { menuint menuimage("actions/back", l("Go back")), -1, - rif(1==2, l("Cookies")), General_Cookies, - rif(1==2, "Rumly"), General_Rumly, - rif(1==2, l("Narrator")), General_Narrator, - rif(1==2, "Janus"), General_Janus, l("Custom"), -136; switch (@menuret) @@ -121,7 +27,7 @@ function script GlobalQuestDebug { setq .@quest, .@value; return; - default: callfunc "QuestDebug" + @menuret; + default: return; } } while (1); } @@ -135,17 +41,13 @@ function script GlobalQuestDebug { mes l("Please select a category:"); select - rif(1==2, l("Prologue")), - rif(1==2, l("Artis")), l("Other"), rif(getarg(0,0), menuimage("actions/back", l("Return to Debug menu"))); switch (@menu) { - case 1: qDebugShip; break; - case 2: qDebugArtis; break; - case 3: qDebugGeneral; break; - case 4: return; + case 1: qDebugGeneral; break; + default: return; } } while (1); } |