diff options
author | Jesusaves <cpntb1@ymail.com> | 2020-10-24 12:48:53 +0000 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2020-10-24 12:48:53 +0000 |
commit | 1a3d323af19764546552b1d621c65303c1fb3005 (patch) | |
tree | 5e70a62dc756d5a10fe558fe6e3efefcf5ef1a97 /npc/008-2-14/doctor.txt | |
parent | 8077efb70e0af1c54a84859f73c96de21c60107b (diff) | |
download | serverdata-1a3d323af19764546552b1d621c65303c1fb3005.tar.gz serverdata-1a3d323af19764546552b1d621c65303c1fb3005.tar.bz2 serverdata-1a3d323af19764546552b1d621c65303c1fb3005.tar.xz serverdata-1a3d323af19764546552b1d621c65303c1fb3005.zip |
CONTENT III SUPER MERGE REQUEST
Included:
* Tulimshar Casino
* Placeholder fixing/filling
* Food Questline
* Rossy Quest
* Galimatia Quest (mostly by Livio)
* Edourard bugs
* Blood Donor Quest (from Moubootaur Legends)
* Merchant Guild Quest
* Mundane Bugfix
* La Marine
* Hurns Doctor easter eggs
* Sailing to Argaes with Legion
* Other things not relevant enough to be noted down, I guess
Diffstat (limited to 'npc/008-2-14/doctor.txt')
-rw-r--r-- | npc/008-2-14/doctor.txt | 61 |
1 files changed, 48 insertions, 13 deletions
diff --git a/npc/008-2-14/doctor.txt b/npc/008-2-14/doctor.txt index c8609330..0dd6caea 100644 --- a/npc/008-2-14/doctor.txt +++ b/npc/008-2-14/doctor.txt @@ -1,6 +1,7 @@ // Evol scripts. // Author: // gumi +// The Mana World Project // Quest states: // [1] 0 - cannot do the quest // [1] 1 - can do the quest @@ -26,13 +27,17 @@ // The crazy Hurnscald Doctor. 008-2-14,27,27,0 script Doctor NPC_DOCTOR_LEGACY,{ + function doctorAxeHat; + function doctorEyePatch; + + if (getequipid(EQI_HEAD_TOP) == AxeHat) + doctorAxeHat(); + if (getequipid(EQI_ACC_R) == Eyepatch) + doctorEyePatch(); speech(4, l("Hello, can I help you?")); - // TODO: check for AxeHat when we get it - // TODO: check for EyePatch when we get it - selectd( l("I think I am sick!"), l("No, I feel fine."), @@ -58,23 +63,53 @@ l("No, I haven't seen anything.")); close; } + end; +function doctorAxeHat { + mesn; + mesq l("Oh my, what happened to you?"); + next; + mesn; + mesq l("Wait. Thats just a fake. Shame on you!"); + next; + mesn; + mesq l("Anyway..."); + next; + return; +} + +function doctorEyePatch { + mesn; + mesq l("Would you like a glass eye to replace that eye patch you have? We just got a whole load of them in today. I'll even let you keep the patch as a souvenir."); + next; + select + l("No, thank you."), + l("Yes, please."); + mes ""; + if (@menu == 1) { + mesn; + mesq l("If you change your mind, just say the word. Anyway..."); + next; + return; + } + mesn; + mesq l("Now, where did I put that box of eyes..."); + next; + mesn; + mesc l("He goes off to look for them and comes back empty handed."); + mesq l("I can't seem to find where I put that box. You should come back later, I may have found them by then."); + next; + mesn; + mesq l("Anyway..."); + next; + return; +} - end; OnInit: .quest_inspector = HurnscaldQuests_Inspector; .quest_debug = .quest_inspector; .bodytype = BODYTYPE_3; .distance = 3; - -////////// UNFINISHED ////////// -//////////////////////////////// -// REMOVE THIS CODE WHEN THIS // -// NPC IS NO LONGER A WIP ////// -//////////////////////////////// -//if (!debug) disablenpc(.name$); -///////// UNFINISHED /////////// - end; } |