diff options
author | Haru <haru@dotalux.com> | 2016-11-18 07:13:21 +0100 |
---|---|---|
committer | Haru <haru@dotalux.com> | 2016-11-20 18:10:45 +0100 |
commit | e384a7f2166026dc1c8cdfe49fc2fc105197ea02 (patch) | |
tree | 45853183b6760e267e8783bc0a50cba1199f54c9 /npc/cities/aldebaran.txt | |
parent | 0a4fdb4404900fb03726b98ecbe379f2d5da6bd0 (diff) | |
download | hercules-e384a7f2166026dc1c8cdfe49fc2fc105197ea02.tar.gz hercules-e384a7f2166026dc1c8cdfe49fc2fc105197ea02.tar.bz2 hercules-e384a7f2166026dc1c8cdfe49fc2fc105197ea02.tar.xz hercules-e384a7f2166026dc1c8cdfe49fc2fc105197ea02.zip |
Replaced some unsupported symbols in AegisNames (step 2)
This removes the remaining unsupported symbols (despite they being
official names) in AegisNames: The apostrophe (`'`) sign is suppressed.
The full replacement rules (cumulative with the step 1 commit) are thus:
- Any apostrophe is suppressed.
- Any non-`[A-Za-z0-9_]` character is replaced with an underscore (`_`).
- If the replaced symbol is at a word boundary (beginning or end of the
string, or next to another underscore), it is suppressed instead.
- If the replacement causes an AegisName conflict, underscores are
appended appropriately.
Signed-off-by: Haru <haru@dotalux.com>
Diffstat (limited to 'npc/cities/aldebaran.txt')
-rw-r--r-- | npc/cities/aldebaran.txt | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/npc/cities/aldebaran.txt b/npc/cities/aldebaran.txt index ecd6f8b6b..f2820b3b0 100644 --- a/npc/cities/aldebaran.txt +++ b/npc/cities/aldebaran.txt @@ -777,7 +777,7 @@ aldeba_in,84,166,4 script Kafra Service#alde 4_F_KAFRA1,{ mes "Due to a change in customer support policy, we no longer accept Kafra Passes. However, we are offering refunds for our customers who still possess these passes."; next; if (select("Sell Kafra Pass", "Alright, bye~") == 1) { - if (countitem(Kapra's_Pass) == 0) { + if (countitem(Kapras_Pass) == 0) { mes "[Kafra Pavianne]"; mes "I'm sorry,"; mes "but you don't"; @@ -787,27 +787,27 @@ aldeba_in,84,166,4 script Kafra Service#alde 4_F_KAFRA1,{ end; } else { - .@kafrapassmoney = countitem(Kapra's_Pass)*2000; + .@kafrapassmoney = countitem(Kapras_Pass)*2000; mes "[Kafra Pavianne]"; mes "Let's see..."; - if (countitem(Kapra's_Pass) == 1) { + if (countitem(Kapras_Pass) == 1) { mes "You have 1 Kafra Pass."; mes "You can sell that pass to us for 2000 zeny. Would you like to sell this Kafra Pass back to the Kafra Corporation?"; } else { - mes "You have "+ countitem(Kapra's_Pass) +" Kafra Passes."; + mes "You have "+ countitem(Kapras_Pass) +" Kafra Passes."; mes "If you want to sell them to us, you will receive "+ .@kafrapassmoney +" zeny. Would you like to sell these back to the Kafra Corporation?"; } next; if (select("Yes", "No") == 1) { - if (countitem(Kapra's_Pass) == 0) { + if (countitem(Kapras_Pass) == 0) { mes "[Kafra Pavianne]"; mes "I'm sorry, but you don't have any Kafra Passes."; close2; cutin "",255; end; } - delitem Kapra's_Pass,countitem(Kapra's_Pass); + delitem Kapras_Pass,countitem(Kapras_Pass); Zeny += .@kafrapassmoney; mes "[Kafra Pavianne]"; mes "Thank you."; |