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/custom/quests/may_hats.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/custom/quests/may_hats.txt')
-rw-r--r-- | npc/custom/quests/may_hats.txt | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/npc/custom/quests/may_hats.txt b/npc/custom/quests/may_hats.txt index beea787a1..a1864f96f 100644 --- a/npc/custom/quests/may_hats.txt +++ b/npc/custom/quests/may_hats.txt @@ -62,10 +62,10 @@ gonryun,187,140,4 script Yakima 4_F_EINWOMAN,{ next; if (select("Yeah.", "Nay." != 1)) break; - if(countitem(Tiger_Mask) < 1 || countitem(Tiger_Footskin) < 10 || countitem(Tiger's_Skin) < 30 || countitem(Tiger_Skin_Panties) < 300) goto l_noitem;//Items: Tiger_Mask, Tiger_Skin, Tiger's_Footskin, Tiger_Panty, + if(countitem(Tiger_Mask) < 1 || countitem(Tiger_Footskin) < 10 || countitem(Tigers_Skin) < 30 || countitem(Tiger_Skin_Panties) < 300) goto l_noitem;//Items: Tiger_Mask, Tiger_Skin, Tiger_Footskin, Tiger_Panty, delitem Tiger_Mask,1;//Items: Tiger_Mask, - delitem Tiger_Footskin,10;//Items: Tiger's_Footskin, - delitem Tiger's_Skin,30;//Items: Tiger_Skin, + delitem Tiger_Footskin,10;//Items: Tiger_Footskin, + delitem Tigers_Skin,30;//Items: Tiger_Skin, delitem Tiger_Skin_Panties,300;//Items: Tiger_Panty, getitem Lion_Mask,1;//Items: Lion_Mask, mes "[Yakima]"; @@ -95,7 +95,7 @@ gonryun,187,140,4 script Yakima 4_F_EINWOMAN,{ delitem Manteau_,2;//Items: Manteau_, delitem Skul_Ring,3;//Items: Skull_Ring, delitem Old_Manteau,10;//Items: Old_Manteau, - getitem Skeleton's_Cape,1;//Items: Skeleton_Manteau, + getitem Skeletons_Cape,1;//Items: Skeleton_Manteau, mes "[Yakima]"; mes "Thank you very very much!"; mes callfunc("F_Bye"); |