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/001-1/juscare.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/001-1/juscare.txt')
-rw-r--r-- | npc/001-1/juscare.txt | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/npc/001-1/juscare.txt b/npc/001-1/juscare.txt index 694668af..393186fa 100644 --- a/npc/001-1/juscare.txt +++ b/npc/001-1/juscare.txt @@ -22,14 +22,6 @@ close; } - function randomTalk { - if (Repeat_NPC_lock <= gettimetick(2)) - { - Repeat_NPC_lock = gettimetick(2) + 2; - villagertalk; - } - } - npc_pausemove; @Juscar_old_dir = -1; if (shouldTurn()) @@ -39,7 +31,7 @@ npc_turntoxy(.@cx, .@cy); } - randomTalk; + villagertalk(); localClose; |