diff options
author | gumi <mekolat@users.noreply.github.com> | 2017-08-20 12:25:41 -0400 |
---|---|---|
committer | gumi <mekolat@users.noreply.github.com> | 2017-08-22 11:45:09 -0400 |
commit | 2c87bb38c881639bed963e7933a1e9d9c2e8e6a3 (patch) | |
tree | d9e26c7592316293f333a7384c6f9a92b2afe8bd /npc/functions/sailortalk.txt | |
parent | e9c90337a6057b66faad6759ff418e8a5f162cfe (diff) | |
download | serverdata-2c87bb38c881639bed963e7933a1e9d9c2e8e6a3.tar.gz serverdata-2c87bb38c881639bed963e7933a1e9d9c2e8e6a3.tar.bz2 serverdata-2c87bb38c881639bed963e7933a1e9d9c2e8e6a3.tar.xz serverdata-2c87bb38c881639bed963e7933a1e9d9c2e8e6a3.zip |
fix the npc talk lock mechanism, make some other npcs use it
Diffstat (limited to 'npc/functions/sailortalk.txt')
-rw-r--r-- | npc/functions/sailortalk.txt | 23 |
1 files changed, 12 insertions, 11 deletions
diff --git a/npc/functions/sailortalk.txt b/npc/functions/sailortalk.txt index 49bc62f8..73145768 100644 --- a/npc/functions/sailortalk.txt +++ b/npc/functions/sailortalk.txt @@ -12,25 +12,26 @@ function script sailortalk { if (.@rand == 0) goodbye; if (.@rand == 1) { - speech S_LAST_NEXT, + speech( l("These purple mushrooms are called @@s. There are plenty of 'em on this island!", getitemlink(Plushroom)), l("It's a kind of mushroom that tastes like a marshmallow and looks like a plush! @@, get it?", getitemlink(Plushroom)), - l("These funny fungi are mushrooming all around this island. Just pick some @@s and have a try.", getitemlink(Plushroom)); + l("These funny fungi are mushrooming all around this island. Just pick some @@s and have a try.", getitemlink(Plushroom))); + close; } - if (.@rand == 2) npctalk3 l("Good to hear from you!"); - if (.@rand == 3) npctalk3 l("So finally someone has came to visit me?"); + if (.@rand == 2) npctalkonce(l("Good to hear from you!")); + if (.@rand == 3) npctalkonce(l("So finally someone has came to visit me?")); if (.@rand == 4) { - speech S_LAST_NEXT, + speech( l("A sunny and hot day,"), l("a quiet place,"), l("a ground!"), - l("What else do you need?"); + l("What else do you need?")); + close; } - if (.@rand == 5) npctalk3 l("A-hoy matey!"); - if (.@rand == 6) npctalk3 l("We are glad captain Nard has let you join the crew!"); - if (.@rand == 7) npctalk3 l("Howdy?"); + if (.@rand == 5) npctalkonce(l("A-hoy matey!")); + if (.@rand == 6) npctalkonce(l("We are glad captain Nard has let you join the crew!")); + if (.@rand == 7) npctalkonce(l("Howdy?")); - closedialog; - close; + end; } |