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/quests/skills/sage_skills.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/quests/skills/sage_skills.txt')
-rw-r--r-- | npc/quests/skills/sage_skills.txt | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/npc/quests/skills/sage_skills.txt b/npc/quests/skills/sage_skills.txt index 06f79fba3..420477f4f 100644 --- a/npc/quests/skills/sage_skills.txt +++ b/npc/quests/skills/sage_skills.txt @@ -266,7 +266,7 @@ yuno_in03,176,24,3 script Mischna 4_M_SAGE_C,{ close; } else if(SAG_SK == 1) { - if (countitem(Scorpion's_Tail) < 10 || countitem(Horn) < 7 || countitem(Colorful_Shell) < 12 || countitem(Snail's_Shell) < 10 || countitem(Scroll) < 4) { + if (countitem(Scorpions_Tail) < 10 || countitem(Horn) < 7 || countitem(Colorful_Shell) < 12 || countitem(Snails_Shell) < 10 || countitem(Scroll) < 4) { mes "[Mishuna]"; mes "Hm, you still haven't"; mes "gathered all of the materials"; @@ -333,10 +333,10 @@ yuno_in03,176,24,3 script Mischna 4_M_SAGE_C,{ mes "Creation skill by reviewing"; mes "your copy of Barmundt's scroll.^000000"; specialeffect2 EF_ABSORBSPIRITS; - delitem Scorpion's_Tail,10; // Scorpion_Tail + delitem Scorpions_Tail,10; delitem Horn,7; // Horn delitem Colorful_Shell,12; // Rainbow_Shell - delitem Snail's_Shell,10; // Snail's_Shell + delitem Snails_Shell,10; delitem Scroll,4; // Blank_Scroll SAG_SK = 2; skill "SA_CREATECON",1,0; |