diff options
author | Jesusaves <cpntb1@ymail.com> | 2019-05-21 23:41:57 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2019-05-21 23:41:57 -0300 |
commit | abfa63f04a8d3fe4463c91f4cbcf7b35ac1d814c (patch) | |
tree | 863294a158e2cd69bab93cc49876da0134bfac83 /npc/020-7-1 | |
parent | a59d3f7158081d5aa18a238577cc0d971bd68d37 (diff) | |
download | serverdata-abfa63f04a8d3fe4463c91f4cbcf7b35ac1d814c.tar.gz serverdata-abfa63f04a8d3fe4463c91f4cbcf7b35ac1d814c.tar.bz2 serverdata-abfa63f04a8d3fe4463c91f4cbcf7b35ac1d814c.tar.xz serverdata-abfa63f04a8d3fe4463c91f4cbcf7b35ac1d814c.zip |
Ensio is ready, so better split pagefinders.txt in three.
Diffstat (limited to 'npc/020-7-1')
-rw-r--r-- | npc/020-7-1/_import.txt | 4 | ||||
-rw-r--r-- | npc/020-7-1/ensio.txt (renamed from npc/020-7-1/pagefinders.txt) | 179 | ||||
-rw-r--r-- | npc/020-7-1/henriikka.txt | 88 | ||||
-rw-r--r-- | npc/020-7-1/teuvo.txt | 75 |
4 files changed, 166 insertions, 180 deletions
diff --git a/npc/020-7-1/_import.txt b/npc/020-7-1/_import.txt index 821606d65..822903ffe 100644 --- a/npc/020-7-1/_import.txt +++ b/npc/020-7-1/_import.txt @@ -3,11 +3,13 @@ "npc/020-7-1/_warps.txt", "npc/020-7-1/core.txt", "npc/020-7-1/eevert.txt", +"npc/020-7-1/ensio.txt", +"npc/020-7-1/henriikka.txt", "npc/020-7-1/janika.txt", "npc/020-7-1/janitors.txt", "npc/020-7-1/kullervo.txt", "npc/020-7-1/oskari.txt", -"npc/020-7-1/pagefinders.txt", "npc/020-7-1/peetu.txt", "npc/020-7-1/sage.txt", "npc/020-7-1/santeri.txt", +"npc/020-7-1/teuvo.txt", diff --git a/npc/020-7-1/pagefinders.txt b/npc/020-7-1/ensio.txt index 75c4375d4..15df3464a 100644 --- a/npc/020-7-1/pagefinders.txt +++ b/npc/020-7-1/ensio.txt @@ -145,182 +145,3 @@ OnInit: } - - - - - - - - - - - - - - - - - - - - - - -020-7-1,33,39,4 script Henriikka NPC_BLUESAGEWORKER_FA,{ - function askQuestion; - mesc l("You see a helper looking through some papers that have a strange smell."); - askQuestion(); - close; - -function askQuestion { - next; - if (.@qt >= 255) { - mesn; - mesq l("I'm so glad we didn't have to go out to hunt the slimes! Thank you!"); - } else if (.@qt) { - mesn; - mesq l("If you get any bookpages from the slimes, bring them to Ensio. Thanks for your help!"); - } else { - mesn; - mesc l("*sighs*"); - mesq l("Oh, hey. Welcome to the library, or what's left of it."); - } - - // Mainframe Loop - do { - .@q=getq(NivalisQuest_BlueSage); - .@q2=getq2(NivalisQuest_BlueSage); - .@q3=getq3(NivalisQuest_BlueSage); - .@qs=BSQuestion(getq(NivalisQuest_BlueSage)); - .@qt=getq2(NivalisQuest_BlueSagePagefinder); - next; - mes ""; - select - rif(.@qt < 255, "What are you doing?"), - rif(.@qs & BS_QVISITOR, l("Do you know anything about the strange visitor?")), - rif(.@qs & BS_QHELPER, l("What's your opinion of Peetu and his work?")), - any(l("I need to leave."), l("See you."), l("Bye.")); - mes ""; - switch (@menu) { - case 1: - mesn; - mesq l("We're trying to repair the books by collecting the ripped out bookpages and sorting them and copying them for new books. It's a lot to do, and after being eaten by a slime they stink!"); - next; - mesn; - mesq l("And a lot of pages are missing, since most of the slimes escaped. I suppose we'll have to go out and hunt them once we're done here. Unless someone else hunt them for us."); - if (!.@qt) { - next; - mesn; - mesq l("Well, these slimes are dangerous, but if you find some pages, be sure to bring them to Ensio. This will help us a lot. Eh, if you're interested in helping, that is. %%1"); - } - break; - case 2: - mesn; - mesq l("With a mask? I don't really remember... We have so many visitors. Though I suppose someone wearing a mask would be noticeable... But I'm so worn out from the past few days that I'm just glad I can even recall my own name! Sorry."); - break; - case 3: - mesn; - mesq l("Oh, I never really thought about that. He was the one who failed the sealing, right? But I heard it's a quite difficult spell, so I suppose this could've happened to any mage. I don't know. Why are you asking such difficult questions?"); - next; - mesn; - mesq l("I need to go on with sorting the bookpages now."); - break; - } - } while (@menu != 4); - close; -} - -OnInit: - .sex=G_FEMALE; - .distance=5; - npcsit; - end; -} - - - - - - - - - - - - - - - - - - - - - - - - - - - -020-7-1,45,39,0 script Teuvo NPC_BLUESAGEWORKER_MA,{ - function askQuestion; - mesn; - mesc l("@@ seems to be upset.", .name$); - mesq l("I always thought it was a bad idea to play around with the slimes. And as if holding them in here isn't bad enough, no, they also had to mess around with magic."); - askQuestion(); - close; - -function askQuestion { - next; - if (.@qt >= 255) { - mesn; - mesq l("Thanks for helping out here. Do you need anything else?"); - } else if (.@qt) { - mesn; - mesq l("Did you find some bookpages? Ensio will take them."); - } - - // Mainframe Loop - do { - .@q=getq(NivalisQuest_BlueSage); - .@q2=getq2(NivalisQuest_BlueSage); - .@q3=getq3(NivalisQuest_BlueSage); - .@qs=BSQuestion(getq(NivalisQuest_BlueSage)); - .@qt=getq2(NivalisQuest_BlueSagePagefinder); - next; - mes ""; - select - rif(.@qt == 255, ""), - rif(.@qs & BS_QVISITOR, l("Do you know anything about the strange visitor?")), - rif(.@qs & BS_QHELPER, l("What's your opinion of Peetu and his work?")), - any(l("I need to leave."), l("See you."), l("Bye.")); - mes ""; - switch (@menu) { - case 2: - mesn; - mesq l("With a mask? Hm. I don't remember."); - break; - case 3: - mesn; - mesq l("Peetu? He's one of those magic wielders who think they can do anything. Heh, you see the result here."); - next; - mesn; - mesq l("But to be fair, from what I've seen Peetu was always very attentive and dutiful."); - if (!(.@q3 & .bsId)) - setq3 NivalisQuest_BlueSage, .@q3 | .bsId; - break; - } - } while (@menu != 4); - close; -} - -OnInit: - .bsId=BS_NPC07; - .sex=G_MALE; - .distance=5; - npcsit; - end; -} - diff --git a/npc/020-7-1/henriikka.txt b/npc/020-7-1/henriikka.txt new file mode 100644 index 000000000..2b866345d --- /dev/null +++ b/npc/020-7-1/henriikka.txt @@ -0,0 +1,88 @@ +// TMW2 scripts. +// Authors: +// Jesusalva +// TMW Org. +// Description: +// Responsible for recovering the lost pages (SpellBookPage) +// helperBookpages* +// +// NivalisQuest_BlueSagePagefinder STRUCTURE +// FIELD 1: +// MAIN STATE +// FIELD 2: +// nº of pages found (0~31) +// FIELD 3: +// nº of duplicates found (for randomness control - capped at 60) + +020-7-1,33,39,4 script Henriikka NPC_BLUESAGEWORKER_FA,{ + function askQuestion; + mesc l("You see a helper looking through some papers that have a strange smell."); + askQuestion(); + close; + +function askQuestion { + next; + if (.@qt >= 255) { + mesn; + mesq l("I'm so glad we didn't have to go out to hunt the slimes! Thank you!"); + } else if (.@qt) { + mesn; + mesq l("If you get any bookpages from the slimes, bring them to Ensio. Thanks for your help!"); + } else { + mesn; + mesc l("*sighs*"); + mesq l("Oh, hey. Welcome to the library, or what's left of it."); + } + + // Mainframe Loop + do { + .@q=getq(NivalisQuest_BlueSage); + .@q2=getq2(NivalisQuest_BlueSage); + .@q3=getq3(NivalisQuest_BlueSage); + .@qs=BSQuestion(getq(NivalisQuest_BlueSage)); + .@qt=getq2(NivalisQuest_BlueSagePagefinder); + next; + mes ""; + select + rif(.@qt < 255, "What are you doing?"), + rif(.@qs & BS_QVISITOR, l("Do you know anything about the strange visitor?")), + rif(.@qs & BS_QHELPER, l("What's your opinion of Peetu and his work?")), + any(l("I need to leave."), l("See you."), l("Bye.")); + mes ""; + switch (@menu) { + case 1: + mesn; + mesq l("We're trying to repair the books by collecting the ripped out bookpages and sorting them and copying them for new books. It's a lot to do, and after being eaten by a slime they stink!"); + next; + mesn; + mesq l("And a lot of pages are missing, since most of the slimes escaped. I suppose we'll have to go out and hunt them once we're done here. Unless someone else hunt them for us."); + if (!.@qt) { + next; + mesn; + mesq l("Well, these slimes are dangerous, but if you find some pages, be sure to bring them to Ensio. This will help us a lot. Eh, if you're interested in helping, that is. %%1"); + } + break; + case 2: + mesn; + mesq l("With a mask? I don't really remember... We have so many visitors. Though I suppose someone wearing a mask would be noticeable... But I'm so worn out from the past few days that I'm just glad I can even recall my own name! Sorry."); + break; + case 3: + mesn; + mesq l("Oh, I never really thought about that. He was the one who failed the sealing, right? But I heard it's a quite difficult spell, so I suppose this could've happened to any mage. I don't know. Why are you asking such difficult questions?"); + next; + mesn; + mesq l("I need to go on with sorting the bookpages now."); + break; + } + } while (@menu != 4); + close; +} + +OnInit: + .sex=G_FEMALE; + .distance=5; + npcsit; + end; +} + + diff --git a/npc/020-7-1/teuvo.txt b/npc/020-7-1/teuvo.txt new file mode 100644 index 000000000..c2fb7f896 --- /dev/null +++ b/npc/020-7-1/teuvo.txt @@ -0,0 +1,75 @@ +// TMW2 scripts. +// Authors: +// Jesusalva +// TMW Org. +// Description: +// Responsible for recovering the lost pages (SpellBookPage) +// helperBookpages* +// +// NivalisQuest_BlueSagePagefinder STRUCTURE +// FIELD 1: +// MAIN STATE +// FIELD 2: +// nº of pages found (0~31) +// FIELD 3: +// nº of duplicates found (for randomness control - capped at 60) + +020-7-1,45,39,0 script Teuvo NPC_BLUESAGEWORKER_MA,{ + function askQuestion; + mesn; + mesc l("@@ seems to be upset.", .name$); + mesq l("I always thought it was a bad idea to play around with the slimes. And as if holding them in here isn't bad enough, no, they also had to mess around with magic."); + askQuestion(); + close; + +function askQuestion { + next; + if (.@qt >= 255) { + mesn; + mesq l("Thanks for helping out here. Do you need anything else?"); + } else if (.@qt) { + mesn; + mesq l("Did you find some bookpages? Ensio will take them."); + } + + // Mainframe Loop + do { + .@q=getq(NivalisQuest_BlueSage); + .@q2=getq2(NivalisQuest_BlueSage); + .@q3=getq3(NivalisQuest_BlueSage); + .@qs=BSQuestion(getq(NivalisQuest_BlueSage)); + .@qt=getq2(NivalisQuest_BlueSagePagefinder); + next; + mes ""; + select + rif(.@qt == 255, ""), + rif(.@qs & BS_QVISITOR, l("Do you know anything about the strange visitor?")), + rif(.@qs & BS_QHELPER, l("What's your opinion of Peetu and his work?")), + any(l("I need to leave."), l("See you."), l("Bye.")); + mes ""; + switch (@menu) { + case 2: + mesn; + mesq l("With a mask? Hm. I don't remember."); + break; + case 3: + mesn; + mesq l("Peetu? He's one of those magic wielders who think they can do anything. Heh, you see the result here."); + next; + mesn; + mesq l("But to be fair, from what I've seen Peetu was always very attentive and dutiful."); + if (!(.@q3 & .bsId)) + setq3 NivalisQuest_BlueSage, .@q3 | .bsId; + break; + } + } while (@menu != 4); + close; +} + +OnInit: + .bsId=BS_NPC07; + .sex=G_MALE; + .distance=5; + npcsit; + end; +} |