diff options
Diffstat (limited to 'npc/functions/random-talk.txt')
-rw-r--r-- | npc/functions/random-talk.txt | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/npc/functions/random-talk.txt b/npc/functions/random-talk.txt index 4a4202f34..b9df6783a 100644 --- a/npc/functions/random-talk.txt +++ b/npc/functions/random-talk.txt @@ -19,7 +19,7 @@ function script hello { - switch (rand(3)) { + switch (rand2(3)) { case 0: npctalkonce(l("Heya!")); break; @@ -38,7 +38,7 @@ function script hello { } function script moubootalk { - switch (rand(4)) { + switch (rand2(4)) { case 0: npctalkonce(l("Moooooo!")); break; @@ -57,7 +57,7 @@ function script moubootalk { function script sailortalk { - .@rand = rand(8); + .@rand = rand2(8); if (.@rand == 0) goodbye; if (.@rand == 1) npctalkonce(l("Arr, I'm bored!")); if (.@rand == 2) npctalkonce(l("Hey! Good to hear from you!")); @@ -101,7 +101,7 @@ function script villagertalk { return; } - switch (rand(4)) { + switch (rand2(4)) { case 0: darn_or_smile(); break; @@ -123,7 +123,7 @@ function script villagertalk { } function script legiontalk { - switch (rand(15)) { + switch (rand2(15)) { case 0: npctalkonce(l("Do I look like a tree? I feel like one.")); //speech( @@ -183,7 +183,7 @@ function script legiontalk { } function script asleep { - switch(rand(5)) { + switch(rand2(5)) { case 0: npctalkonce(l("Zzzzzzzzz...")); break; case 1: npctalkonce(l("Rrrr... Pchhhh...")); break; case 2: npctalkonce(l("Ggrmm... Grmmmm...")); break; |