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/functions/villagertalk.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/functions/villagertalk.txt')
-rw-r--r-- | npc/functions/villagertalk.txt | 53 |
1 files changed, 0 insertions, 53 deletions
diff --git a/npc/functions/villagertalk.txt b/npc/functions/villagertalk.txt deleted file mode 100644 index 371a9f20..00000000 --- a/npc/functions/villagertalk.txt +++ /dev/null @@ -1,53 +0,0 @@ -// Evol functions. -// Authors: -// Akko Teru -// Qwerty Dragon -// Reid -// Description: -// Tell a random sentence. || There ought to be a law! - -function script villagertalk { - - function darn_or_smile - { - .@darn = rand(42); - - if (.@darn < 26) - { - emotion E_JOY; - hello; - } - else if (.@darn > 26) - { - emotion E_LOOKAWAY; - goodbye; - } - else - { - npctalkonce(l("Stop it!")); - } - - return; - } - - switch (rand(4)) - { - case 0: - darn_or_smile(); - break; - case 1: - npctalkonce(l("It is a sunny day, don't you think?")); - break; - case 2: - npctalkonce(l("Go fly a kite.")); - break; - case 3: - npctalkonce(l("I just want to live my life in peace.")); - break; - default: - emotion E_HAPPY; - break; - } - - return; -} |