diff options
author | Jesusaves <cpntb1@ymail.com> | 2019-03-06 12:49:10 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2019-03-06 12:49:10 -0300 |
commit | 48551c2016339956979f2c9f73115af36c1a0292 (patch) | |
tree | 05007879cfe76d4858d2510e937b1656c20beb0e /npc/items | |
parent | 23ac38921f6f9f58e619b41f7467dff7e6a00df7 (diff) | |
parent | 600fac0c6e0d07dd99aeccf443e2262239b64aea (diff) | |
download | serverdata-jesusalva/resync.tar.gz serverdata-jesusalva/resync.tar.bz2 serverdata-jesusalva/resync.tar.xz serverdata-jesusalva/resync.zip |
Merge branch 'jesusalva/resync' of gitlab.com:jesusalva/evolsrc into jesusalva/resyncjesusalva/resync
Diffstat (limited to 'npc/items')
-rw-r--r-- | npc/items/recipes.txt | 60 |
1 files changed, 60 insertions, 0 deletions
diff --git a/npc/items/recipes.txt b/npc/items/recipes.txt new file mode 100644 index 00000000..3fb3309c --- /dev/null +++ b/npc/items/recipes.txt @@ -0,0 +1,60 @@ +// Evol script. +// Author: +// Jesusalva +// Micksha +// Description: +// Contains recipe books for Evol Online + +- script #RecipeBook NPC_HIDDEN,{ + + function read_book { + + setnpcdialogtitle l(.book_name$); + + mesc l("Eating is a necessity, but cooking is an art."); + mesc l("(All items must be placed exactly in this order for cooking work.)"); + next; + mesc l("List of known cooking recipes:"); + mes ""; + mes ".:: " + l("Sandwiches") + " ::."; + mes ""; + if (COOKING_RECIPES[CraftCarpSandwich]) { + mes l("@@", getitemlink(CarpSandwich)); + mesc l("* @@ @@", 1, getitemlink(Bread)); + mesc l("* @@ @@", 3, getitemlink(LettuceLeaf)); + mesc l("* @@ @@", 2, getitemlink(Cheese)); + mesc l("* @@ @@", 1, getitemlink(CommonCarp)); + mes ""; + } + if (COOKING_RECIPES[CraftPioulegSandwich]) { + mes l("@@", getitemlink(PioulegSandwich)); + mesc l("* @@ @@", 1, getitemlink(Bread)); + mesc l("* @@ @@", 3, getitemlink(LettuceLeaf)); + mesc l("* @@ @@", 2, getitemlink(Cheese)); + mesc l("* @@ @@", 1, getitemlink(PiouLegs)); + mes ""; + } + if (COOKING_RECIPES[CraftMananaSandwich]) { + mes l("@@", getitemlink(MananaSandwich)); + mesc l("* @@ @@", 1, getitemlink(Bread)); + mesc l("* @@ @@", 3, getitemlink(LettuceLeaf)); + mesc l("* @@ @@", 2, getitemlink(Cheese)); + mesc l("* @@ @@", 1, getitemlink(Manana)); + mes ""; + } + + close; + } + +OnUse: + if (openbook()) + read_book; + closeclientdialog(); + close; + +OnInit: + .book_name$ = getitemname(RecipeBook); + .sex = G_OTHER; + .distance = 1; + end; +} |