summaryrefslogtreecommitdiff
path: root/npc/functions/mouboofunc.txt
diff options
context:
space:
mode:
authorgumi <mekolat@users.noreply.github.com>2017-08-20 12:25:41 -0400
committergumi <mekolat@users.noreply.github.com>2017-08-22 11:45:09 -0400
commit2c87bb38c881639bed963e7933a1e9d9c2e8e6a3 (patch)
treed9e26c7592316293f333a7384c6f9a92b2afe8bd /npc/functions/mouboofunc.txt
parente9c90337a6057b66faad6759ff418e8a5f162cfe (diff)
downloadserverdata-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/mouboofunc.txt')
-rw-r--r--npc/functions/mouboofunc.txt16
1 files changed, 4 insertions, 12 deletions
diff --git a/npc/functions/mouboofunc.txt b/npc/functions/mouboofunc.txt
index f01e4847..c0f7d96b 100644
--- a/npc/functions/mouboofunc.txt
+++ b/npc/functions/mouboofunc.txt
@@ -8,16 +8,16 @@ function script moubootalk {
switch (rand (4))
{
case 0:
- npctalk3 l("Moooooo!");
+ npctalkonce(l("Moooooo!"));
break;
case 1:
- npctalk3 l("Moo!");
+ npctalkonce(l("Moo!"));
break;
case 2:
- npctalk3 l("Moooooooooooo!");
+ npctalkonce(l("Moooooooooooo!"));
break;
case 3:
- npctalk3 l("Moooo!");
+ npctalkonce(l("Moooo!"));
break;
}
return;
@@ -87,11 +87,3 @@ function script mouboograph {
initnpctimer;
end;
}
-
-function script mouboochecklock {
- if (Repeat_NPC_lock <= gettimetick (2))
- {
- Repeat_NPC_lock = gettimetick (2) + 1;
- moubootalk;
- }
-}