diff options
author | Jessica Tölke <jtoelke@mail.upb.de> | 2011-07-17 11:18:17 +0200 |
---|---|---|
committer | Jessica Tölke <jtoelke@mail.upb.de> | 2011-07-17 11:18:17 +0200 |
commit | 7bcd3d41c6d0caa07f1c1eacedb4c7db7758cd90 (patch) | |
tree | f7920ab6368a2beba6e52775684cb1365b4b1506 /world/map/npc | |
parent | 76b3a11270b2dab251a6a328cf2a60a5f5d4aa72 (diff) | |
download | serverdata-7bcd3d41c6d0caa07f1c1eacedb4c7db7758cd90.tar.gz serverdata-7bcd3d41c6d0caa07f1c1eacedb4c7db7758cd90.tar.bz2 serverdata-7bcd3d41c6d0caa07f1c1eacedb4c7db7758cd90.tar.xz serverdata-7bcd3d41c6d0caa07f1c1eacedb4c7db7758cd90.zip |
making it possible for players who didn't do the towel event to dye towels
Diffstat (limited to 'world/map/npc')
-rw-r--r-- | world/map/npc/003-1/stranger.txt | 19 | ||||
-rw-r--r-- | world/map/npc/018-2/miners.txt | 11 |
2 files changed, 21 insertions, 9 deletions
diff --git a/world/map/npc/003-1/stranger.txt b/world/map/npc/003-1/stranger.txt index 251f1b1c..37ecc4ab 100644 --- a/world/map/npc/003-1/stranger.txt +++ b/world/map/npc/003-1/stranger.txt @@ -222,6 +222,7 @@ L_Right_Answer_Hard: getitem "GreyWarpTowel", 1; set FLAGS, FLAGS | FLAG_TOWEL_COMPLETED; next; +L_Explain: mes "[Stranger]"; mes "\"This towel is even more useful than usual towels are. If you change its color, it uses a special techno-, ahm, let's say, it can help you to get to other places.\""; next; @@ -239,6 +240,24 @@ L_No_Event: mes "\"And it really comes in handy that I have my towel with me. A towel is about the most massively useful thing an inte- ahm, a person can have.\""; next; mes "\"You can read more about that in my favourite book, 'The Hitchhiker's Guide to the Galaxy'.\""; + if (countitem("GreyWarpTowel") > 0) + menu + "Thanks for the advice.",-, + "I have my towel with me too.",L_Dye; + close; + +L_Dye: + mes "[Stranger]"; + mes "\"Wonderful! Let me have a look.\""; + mes "He's taking a very interested look at your towel."; + next; + mes "[Stranger]"; + mes "\"I'm impressed. This is not an usual towel.\""; + next; + menu + "Oh? Can you explain about it?",L_Explain, + "I know. Could you dye it for me?",L_Dye_Towel, + "It's great, isn't it? I have to go now.",-; close; L_No_Item: diff --git a/world/map/npc/018-2/miners.txt b/world/map/npc/018-2/miners.txt index 1e337036..ef641f49 100644 --- a/world/map/npc/018-2/miners.txt +++ b/world/map/npc/018-2/miners.txt @@ -10,25 +10,18 @@ mes "[Malek]"; mes "\"Hi, can I help you at all?\""; - if (FLAGS & FLAG_TOWEL_HELPED) - menu + menu "I'm looking for someone able to make gem powder.", L_GemPowder, "I was just having a look, have a nice day.", L_abort; - menu - "I was just having a look, have a nice day.", L_abort; L_NohMask: mes "[Malek]"; mes "\"Hi, can I help you at all?\""; - if (FLAGS & FLAG_TOWEL_HELPED) - menu + menu "I'm looking for someone able to make gem powder.", L_GemPowder, "I was just having a look, have a nice day.", L_abort, "The inspector sent me here to investigate.", L_Investigation; - menu - "I was just having a look, have a nice day.", L_abort, - "The inspector sent me here to investigate.", L_Investigation; L_Investigation: set Inspector, 11; |