diff options
author | NetSysFire <16-NetSysFire@users.noreply.git.themanaworld.org> | 2023-02-19 14:31:58 +0000 |
---|---|---|
committer | Jesusalva Jesusalva <jesusalva@themanaworld.org> | 2023-02-19 14:31:58 +0000 |
commit | 2ce22a8fa0414159d7e8517cc7fa00f2f809bcda (patch) | |
tree | afd856f85aef3db3383b80f0ddc657919beeb9b3 /npc/functions | |
parent | ab696a4ea55c900645023b116b0bffeefed3243f (diff) | |
download | serverdata-2ce22a8fa0414159d7e8517cc7fa00f2f809bcda.tar.gz serverdata-2ce22a8fa0414159d7e8517cc7fa00f2f809bcda.tar.bz2 serverdata-2ce22a8fa0414159d7e8517cc7fa00f2f809bcda.tar.xz serverdata-2ce22a8fa0414159d7e8517cc7fa00f2f809bcda.zip |
Batch of typo fixes and rewording.
Also minor tweaks to Helena rewards and Pylon production.
Diffstat (limited to 'npc/functions')
-rw-r--r-- | npc/functions/lockpicks.txt | 8 | ||||
-rw-r--r-- | npc/functions/mounts.txt | 2 | ||||
-rw-r--r-- | npc/functions/util.txt | 10 |
3 files changed, 16 insertions, 4 deletions
diff --git a/npc/functions/lockpicks.txt b/npc/functions/lockpicks.txt index 3a27d4749..9775fa3ed 100644 --- a/npc/functions/lockpicks.txt +++ b/npc/functions/lockpicks.txt @@ -55,7 +55,7 @@ function script LockPicking { @chance=min(.@d*.@m-1, THIEF_RANK+.@d); mesc l("You insert the hook pick inside the lock, and, without applying any tension, you discover there are only @@ pins to set.", .@d); - // You have as many attempts as pins and appliable strenghts. + // You have as many attempts as pins and appliable strength. // Each thief rank grants you an extra attempt. // Each pin takes one attempt. // It's not multiplied, so 3 pins with 3 positions: 6 chances, 9 possibilities. @@ -146,7 +146,7 @@ function script LootableVault { .@level=getarg(1); .@var$=getarg(2); mesn; - mesq l("There's a shiny safe here. How much money is inside? Nobody is looking at you, great!"); + mesq l("There's a shiny safe here. How much money is inside? Nobody is looking at you, too."); // 2*3 = 6 possibilities, 5 attempts if (LockPicking(.@tier, .@level)) { Zeny=Zeny+getd("$VAULT_"+.@var$); @@ -163,9 +163,9 @@ function script LootableVault { atcommand("@jailfor 5mn "+strcharinfo(0)); } else { if (is_night()) - .@p$=l("The darkness of night gives you cover."); + .@p$=l("The darkness of the night gives you cover."); else - .@p$=l("Your agile legs and sheer luck allows you to outrun the cops."); + .@p$=l("Your agile legs and sheer luck allows you to outrun the guards."); mesc l("You run as far as you could. %s", .@p$); warp "000-1", 22, 22; } diff --git a/npc/functions/mounts.txt b/npc/functions/mounts.txt index 12d56d71f..af797cbf2 100644 --- a/npc/functions/mounts.txt +++ b/npc/functions/mounts.txt @@ -10,6 +10,7 @@ function script MoubooRent { if (MOUBOO_RENTTIME > gettimetick(2) || BaseLevel < 20) { mesn .@n$; mesq l("Moo!"); + tutmes l("You are already renting a mount or are below level 20."); return; } @@ -57,6 +58,7 @@ function script TortugaRent { if (MOUBOO_RENTTIME > gettimetick(2)) { mesn .@n$; mesq l("Boo!"); + tutmes l("You are already renting a mount or are below level 20."); return; } diff --git a/npc/functions/util.txt b/npc/functions/util.txt index 5063a23a3..77a1c073a 100644 --- a/npc/functions/util.txt +++ b/npc/functions/util.txt @@ -1328,3 +1328,13 @@ function script api_send { return; } +function script announce_bosskill { + .@party=getcharid(1); + if (.@party > 0) { + mapannounce getmap(getarg(0)), getmonsterlink(getarg(1)) + " defeated by Party: " + getpartyname(.@party), bc_all; + } else { + mapannounce getmap(getarg(0)), getmonsterlink(getarg(1)) + " defeated by: " + strcharinfo(0), bc_all; + } + return; +} + |