diff options
author | Jesusaves <cpntb1@ymail.com> | 2019-03-05 22:47:40 +0000 |
---|---|---|
committer | Micksha <ms-shaman@gmx.de> | 2019-03-05 22:47:40 +0000 |
commit | cf525a4a26597c3bc3d69e2a7456205b598fdf0c (patch) | |
tree | fa0dee3ab01bcce0f29919a14f1251aeb0e4ba77 /npc/functions | |
parent | 019ebd01ca5f0aaa7fe890657d40a4d6b3ebd9f3 (diff) | |
download | serverdata-cf525a4a26597c3bc3d69e2a7456205b598fdf0c.tar.gz serverdata-cf525a4a26597c3bc3d69e2a7456205b598fdf0c.tar.bz2 serverdata-cf525a4a26597c3bc3d69e2a7456205b598fdf0c.tar.xz serverdata-cf525a4a26597c3bc3d69e2a7456205b598fdf0c.zip |
Update the quest to address Micksha notes.
Playtested locally. Besides, it is now possible to use Grass Carp for Carp Sandwich.
The use of a Grass Carp won't have any special effects.
WIP status can now be safely removed.
Diffstat (limited to 'npc/functions')
-rw-r--r-- | npc/functions/quest-debug/041-General_Cooking.txt | 51 |
1 files changed, 51 insertions, 0 deletions
diff --git a/npc/functions/quest-debug/041-General_Cooking.txt b/npc/functions/quest-debug/041-General_Cooking.txt new file mode 100644 index 00000000..592df547 --- /dev/null +++ b/npc/functions/quest-debug/041-General_Cooking.txt @@ -0,0 +1,51 @@ +// Cooking quest debug +// Author: +// Jesusalva + +function script QuestDebug41 { + do + { + clear; + setnpcdialogtitle l("Quest debug"); + mes "General_Cooking"; + mes "---"; + mes l("Quest state: @@", getq(General_Cooking)); + mes l("Known Recipes: @@", array_entries(COOKING_RECIPES)); + next; + + select + l("Return"), + l("Reset Quest"), + l("Complete Quest"), + l("Get a Recipe Book"), + l("Learn all recipes"), + l("Reset all recipes"); + + switch (@menu) + { + case 2: + setq General_Cooking, 0; + break; + case 3: + setq General_Cooking, 2; + break; + case 4: + getitem RecipeBook, 1; + break; + case 5: + COOKING_RECIPES[CraftCarpSandwich]=true; + COOKING_RECIPES[CraftMananaSandwich]=true; + COOKING_RECIPES[CraftPioulegSandwich]=true; + break; + case 6: + COOKING_RECIPES[CraftCarpSandwich]=false; + COOKING_RECIPES[CraftMananaSandwich]=false; + COOKING_RECIPES[CraftPioulegSandwich]=false; + break; + + } + + return; + + } while (@menu != 1); +} |