diff options
author | Joseph Botosh <rumly111@gmail.com> | 2015-09-24 22:58:59 +0300 |
---|---|---|
committer | Joseph Botosh <rumly111@gmail.com> | 2015-09-24 22:59:11 +0300 |
commit | 5e578d883228eff58421eeeb4a61d55f7b9f33df (patch) | |
tree | 4ad2968adfacbd25b91db1b1f64a4df2646b0ae2 /npc/functions/fishing.txt | |
parent | 6fcf45c6ba3fa49b308c08cc918aaddcedf6030d (diff) | |
download | serverdata-5e578d883228eff58421eeeb4a61d55f7b9f33df.tar.gz serverdata-5e578d883228eff58421eeeb4a61d55f7b9f33df.tar.bz2 serverdata-5e578d883228eff58421eeeb4a61d55f7b9f33df.tar.xz serverdata-5e578d883228eff58421eeeb4a61d55f7b9f33df.zip |
update some fishing-related scripts for new narrator function
Diffstat (limited to 'npc/functions/fishing.txt')
-rw-r--r-- | npc/functions/fishing.txt | 25 |
1 files changed, 13 insertions, 12 deletions
diff --git a/npc/functions/fishing.txt b/npc/functions/fishing.txt index 3445c1256..3c8e8c400 100644 --- a/npc/functions/fishing.txt +++ b/npc/functions/fishing.txt @@ -50,28 +50,28 @@ L_ChooseBait: return -2; } - narrator 0, + narrator 2, l("What will be the bait for the fish?"); .@idx = select(.@sel$); if (.@idx == .@cnt + 1) { - narrator l("You take your fishing rod and leave."); + narrator 1, + l("You take your fishing rod and leave."); return 0; } .@bait = .@user_items[.@idx - 1]; delitem .@bait, 1; - narrator l("You use a @@ as a bait.", getitemname(.@bait)); - mes col(l("You patiently wait..."), 9); - mes ""; + narrator 3, + l("You use a @@ as a bait.", getitemname(.@bait)), + l("You patiently wait..."); L_Wait: sleep2 rand(.@wait_time_min, .@wait_time_max); .@tick = gettimetick(0); - mes col(l("Splash!"), 9); mes ""; @@ -93,14 +93,14 @@ L_Wait: { getitem .@fish_id, 1; - narrator + narrator 1, l("You caught a @@!", getitemname(.@fish_id)); return 1; } else { - narrator + narrator 5, l("You pulled too late and lost the bait."); goto L_ChooseBait; @@ -111,21 +111,22 @@ L_Wait: if (.@curr_wait_times > .@max_wait_times) { - narrator + narrator 5, l("The fish ate all your bait."); goto L_ChooseBait; } else { - narrator l("The fish ate small part of your bait."); - mes col(l("But you decide to patiently wait."), 9); + narrator 3, + l("The fish ate small part of your bait."), + l("But you decide to patiently wait."); goto L_Wait; } break; case 3: - narrator + narrator 1, l("You take your fishing rod and leave."); return 0; } |