From a5f1f39147ba6635bc191106c7ee346e2ccce5d9 Mon Sep 17 00:00:00 2001 From: jesusalva Date: Wed, 28 Feb 2018 03:50:15 -0300 Subject: Missing files + fishing book --- npc/012/_import.txt | 1 + npc/012/_mobs.txt | 6 ++++ npc/botcheck/_import.txt | 2 +- npc/items/books.txt | 92 ++++++++++++++++++++++++++++++++++++++++++++++++ npc/scripts.conf | 1 + 5 files changed, 101 insertions(+), 1 deletion(-) create mode 100644 npc/012/_mobs.txt create mode 100644 npc/items/books.txt (limited to 'npc') diff --git a/npc/012/_import.txt b/npc/012/_import.txt index 7e97eab7e..288da5ebf 100644 --- a/npc/012/_import.txt +++ b/npc/012/_import.txt @@ -1,2 +1,3 @@ // Map 012: Enchanted Forest // This file is generated automatically. All manually added changes will be removed when running the Converter. +"npc/012/_mobs.txt", diff --git a/npc/012/_mobs.txt b/npc/012/_mobs.txt new file mode 100644 index 000000000..453f3bc78 --- /dev/null +++ b/npc/012/_mobs.txt @@ -0,0 +1,6 @@ +// This file is generated automatically. All manually added changes will be removed when running the Converter. +// Map 012: Enchanted Forest mobs +012,72,232,23,23 monster Clover Field 1028,1,60000,120000 +012,224,238,23,23 monster Clover Field 1028,1,60000,120000 +012,226,77,23,23 monster Clover Field 1028,1,60000,120000 +012,74,77,23,23 monster Clover Field 1028,1,60000,120000 diff --git a/npc/botcheck/_import.txt b/npc/botcheck/_import.txt index 44cc9580c..5f53d234a 100644 --- a/npc/botcheck/_import.txt +++ b/npc/botcheck/_import.txt @@ -1,2 +1,2 @@ -// Map botcheck: Area Botcheck +// Map botcheck: Botcheck Area // This file is generated automatically. All manually added changes will be removed when running the Converter. diff --git a/npc/items/books.txt b/npc/items/books.txt new file mode 100644 index 000000000..730e1efca --- /dev/null +++ b/npc/items/books.txt @@ -0,0 +1,92 @@ +// TMW-2 script. +// Author: +// Jesusalva +// gumi +// Tirifto +// Description: +// Books used by TMW-2. Some are from evol. + +000-0,0,0,0 script #Book-Fishing1 NPC_HIDDEN,{ + + function read_book { + + setnpcdialogtitle l(.book_name$); + + narrator S_FIRST_BLANK_LINE | S_LAST_NEXT, + l("To get started with fishing, you'll need two things: a fishing rod and a bait."), + l("You just need one fishing rod, although you should take more than one single bait."); + + @menu = 0; // reset for the rif + + do + { + narrator S_NO_NPC_NAME, + l("Please select a chapter:"); + + mes ""; + + select + rif(@menu == 1, "► ") + l("Ch 1 — Fishing apparatus"), + rif(@menu == 2, "► ") + l("Ch 2 — Baits"), + rif(@menu == 3, "► ") + l("Ch 3 — Location"), + rif(@menu == 4, "► ") + l("Ch 4 — Casting"), + rif(@menu == 5, "► ") + l("Ch 5 — Reeling"); + + switch(@menu) + { + case 1: + narrator S_FIRST_BLANK_LINE | S_LAST_NEXT, + l("You'll want your fishing rod to be flexible but solid."), + l("Comfortable grip is important especially for newcomers, since they'll be holding it for quite a while."); + break; + case 2: + narrator S_FIRST_BLANK_LINE | S_LAST_NEXT, + l("You can use many diverse items to lure fishes."), + l("Most common and widely popular in the fish realm are @@ and pieces of @@.", + getitemlink(SmallTentacles), getitemlink(Bread)), + l("Some types of fish also enjoy @@ quite a bit.", + getitemlink(Aquada)), + l("Some people, however, prefer to fish with more unorthodox baits, such as @@ or @@.", + getitemlink(UrchinMeat), getitemlink(TortugaTongue)); + break; + case 3: + narrator S_FIRST_BLANK_LINE | S_LAST_NEXT, + l("Find yourself a nice dry spot on a coast where you can easily reach into deep water."), + l("Fishing next to shallow water is not going to work well, because fishes seldom go there."), + l("You can easily identify fishing spots, small bubbles and fishes are visible from the surface."), + l("Don't forget to come as close as possible to these spots!"); + break; + case 4: + narrator S_FIRST_BLANK_LINE | S_LAST_NEXT, + l("Toss the hook into deep water by clicking on where you want to cast it."), + l("Make sure to put on a bait after you click, though!"), + l("After that, stay still and be patient, but also alert!"); + break; + case 5: + narrator S_FIRST_BLANK_LINE | S_LAST_NEXT, + l("To successfully catch a fish, you need to pull up your hook by clicking it, right after it submerges."), + l("Should you be too quick or wait too long, you will most likely fail."); + break; + } + } while (true); + + end; + } + +OnShelfUse: + if (openbookshelf()) + read_book; + bye; + +OnUse: + if (openbook()) + read_book; + bye; + +OnInit: + .book_name$ = getitemname(FishingGuideVolI); + .sex = G_OTHER; + .distance = 1; + end; +} + diff --git a/npc/scripts.conf b/npc/scripts.conf index ad1f8d70e..e95934bb7 100644 --- a/npc/scripts.conf +++ b/npc/scripts.conf @@ -50,6 +50,7 @@ "npc/functions/quest-debug/functions.txt", // Item functions +"npc/items/books.txt", "npc/items/croconut.txt", "npc/items/shovel.txt", "npc/items/rand_sc_heal.txt", -- cgit v1.2.3-60-g2f50