diff options
author | Jesusaves <cpntb1@ymail.com> | 2018-05-30 19:53:21 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2018-05-30 19:53:21 -0300 |
commit | 359aa55cf8dc0e1484e0153b46e0f6beccf5d15c (patch) | |
tree | b2f49ce430afdca113eb181c3991a1e347344311 /npc/functions/sailortalk.txt | |
parent | b732d581cebcc97f5a831cf3775525942acc7020 (diff) | |
download | serverdata-359aa55cf8dc0e1484e0153b46e0f6beccf5d15c.tar.gz serverdata-359aa55cf8dc0e1484e0153b46e0f6beccf5d15c.tar.bz2 serverdata-359aa55cf8dc0e1484e0153b46e0f6beccf5d15c.tar.xz serverdata-359aa55cf8dc0e1484e0153b46e0f6beccf5d15c.zip |
Delete various unused functions, and unify random talk in a single script file.
Diffstat (limited to 'npc/functions/sailortalk.txt')
-rw-r--r-- | npc/functions/sailortalk.txt | 33 |
1 files changed, 0 insertions, 33 deletions
diff --git a/npc/functions/sailortalk.txt b/npc/functions/sailortalk.txt deleted file mode 100644 index 87baf0386..000000000 --- a/npc/functions/sailortalk.txt +++ /dev/null @@ -1,33 +0,0 @@ -// Evol functions. -// Author: -// Reid -// Description: -// Tell a random sentence. -// Variables: -// .@rand = Random number between the number of sentence choice. - -function script sailortalk { - - .@rand = rand(8); - if (.@rand == 0) goodbye; - if (.@rand == 1) npctalkonce(l("Ah, this is boring.")); - 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( - l("A sunny and hot day,"), - l("a quiet place,"), - l("a ground!"), - l("What else do you need?")); - close; - } - if (.@rand == 5) npctalkonce(l("A-hoy matey!")); - if (.@rand == 6) npctalkonce(l("Arr!")); - if (.@rand == 7) npctalkonce(l("Howdy?")); - - // just to be sure - closedialog; - close; - end; -} |