diff options
author | Jesusaves <cpntb1@ymail.com> | 2021-04-09 13:33:57 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2021-04-09 13:33:57 -0300 |
commit | cf18ce071c79ae37e14ea38943e0b1d88da70a7b (patch) | |
tree | f9159c9b60b3018300dd22ffba0d797bc5e828e5 /npc/009-1/old_woman.txt | |
parent | 8a4bf716002a017de77fe7df301ef8e4aaf00a2e (diff) | |
download | serverdata-cf18ce071c79ae37e14ea38943e0b1d88da70a7b.tar.gz serverdata-cf18ce071c79ae37e14ea38943e0b1d88da70a7b.tar.bz2 serverdata-cf18ce071c79ae37e14ea38943e0b1d88da70a7b.tar.xz serverdata-cf18ce071c79ae37e14ea38943e0b1d88da70a7b.zip |
Override
Diffstat (limited to 'npc/009-1/old_woman.txt')
-rwxr-xr-x | npc/009-1/old_woman.txt | 83 |
1 files changed, 83 insertions, 0 deletions
diff --git a/npc/009-1/old_woman.txt b/npc/009-1/old_woman.txt new file mode 100755 index 00000000..441b425a --- /dev/null +++ b/npc/009-1/old_woman.txt @@ -0,0 +1,83 @@ + +009-1,29,43,0 script Old Woman NPC154,{ + @inspector = ((QUEST_Hurnscald & NIBBLE_3_MASK) >> NIBBLE_3_SHIFT); + + if (BaseLevel < 40) goto L_Lower; + + mes "[Old Woman]"; + mes "\"Hello deary.\""; + if ((@inspector >= 1 && @inspector <= 7) || @inspector == 9) + goto L_NohMask; + close; + +L_Lower: + mes "[Old Woman]"; + mes "\"Watch out for these flowers. They don't like to be messed with.\""; + if ((@inspector >= 1 && @inspector <= 7) || @inspector == 9) + goto L_NohMask; + close; + +L_NohMask: + next; + if (@inspector == 7) + goto L_NohMask_Alibi; + callfunc "ProcessEquip"; + if (@torsoC == cDarkBlue && @legsC == cDarkBlue) + goto L_NohMask_Fake; + if (@inspector >= 3 && @inspector <= 6) + goto L_close; + menu + "Have you seen anything strange lately?", L_NohMask_FirstAsk, + "Do you know anything about the recent robberies?", L_NohMask_FirstAsk, + "Hello", L_close; + +L_NohMask_FirstAsk: + mes "[Old Woman]"; + mes "\"Yes, but I'm only talking to the inspector himself!\""; + if (@inspector != 1) + goto L_close; + @inspector = 2; + callsub S_Update_Mask; + goto L_close; + +L_NohMask_Alibi: + menu + "Was your husband with you at home all night the last night that the troupe was in town?", L_Next; + +L_Next: + mes "[Old Woman]"; + mes "\"Yes, we were both at home all night.\""; + @inspector = 8; + callsub S_Update_Mask; + goto L_close; + +L_NohMask_Fake: + if (@inspector == 9) goto L_NohMask_Fake_Satchel; + if (@inspector >= 3 && @inspector <= 6) goto L_NohMask_Filler; + + mes "[Old Woman]"; + mes "\"I saw someone sneaking around town wearing a theater mask. It looked like one of the masks used by the troupe that was in town recently.\""; + @inspector = 3; + callsub S_Update_Mask; + goto L_close; + +L_NohMask_Filler: + mes "[Old Woman]"; + mes "\"I hope you catch that naughty person!\""; + goto L_close; + +L_NohMask_Fake_Satchel: + mes "[Old Woman]"; + mes "\"I've remembered something else. The night the troupe left, I saw someone with a theater mask take a large satchel out of town. He was heading north.\""; + @inspector = 10; + callsub S_Update_Mask; + goto L_close; + +L_close: + @inspector = 0; + close; + +S_Update_Mask: + QUEST_Hurnscald = (QUEST_Hurnscald & ~(NIBBLE_3_MASK)) | (@inspector << NIBBLE_3_SHIFT); + return; +} |