diff options
-rw-r--r-- | npc/commands/debug-quest.txt | 17 |
1 files changed, 15 insertions, 2 deletions
diff --git a/npc/commands/debug-quest.txt b/npc/commands/debug-quest.txt index 52f545725..9c07aef9f 100644 --- a/npc/commands/debug-quest.txt +++ b/npc/commands/debug-quest.txt @@ -22,12 +22,25 @@ function script GlobalQuestDebug { input .@quest; if (!.@quest) return; mes ""; - mes l("DEBUG: Changing @@ from @@ to something else.", getquestlink(.@quest), getq(.@quest)); + mes l("DEBUG: Changing @@, Values: (@@, @@, @@).", getq(.@quest), getq2(.@quest), getq3(.@quest)); + select + "set 1", + "set 2", + "set 3", + "reset"; + mes l("DEBUG: Changing @@ field @@ to something else.", getquestlink(.@quest), @menu); mes ""; mes "Determine the new value (numeric only)"; input .@value; if (.@value < 0) return; - setq .@quest, .@value; + if (@menu == 1) + setq1 .@quest, .@value; + if (@menu == 2) + setq2 .@quest, .@value; + if (@menu == 3) + setq3 .@quest, .@value; + if (@menu == 4) + setq .@quest, .@value, 0, 0; return; default: return; |