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/events | |
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/events')
-rw-r--r-- | npc/events/christmas_2005.txt | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/npc/events/christmas_2005.txt b/npc/events/christmas_2005.txt index 795b50256..0a631cfb6 100644 --- a/npc/events/christmas_2005.txt +++ b/npc/events/christmas_2005.txt @@ -64,7 +64,7 @@ xmas_in,89,92,5 script Louise Kim#designer 4_F_06,{ mes ""; emotion e_lv; next; - if (countitem(Santa's_Hat) > 0) { + if (countitem(Santas_Hat) > 0) { if (select("Here.", "It's ok.") == 1) { mes "[Designer Louise Kim]"; mes "Nice choice!!"; @@ -160,11 +160,11 @@ xmas_in,89,92,5 script Louise Kim#designer 4_F_06,{ mes "~Who would be happier than~"; mes "~being with Louise.~"; emotion e_ho; - delitem Santa's_Hat,1; + delitem Santas_Hat,1; delitem Cactus_Needle,1; delitem Holy_Water,10; delitem Rosary,1; - getitem Santa's_Hat_,1; + getitem Santas_Hat_,1; close; } else { @@ -1370,7 +1370,7 @@ prontera,156,242,0 script Oholy#pron::OholyDup 1_F_PRIEST,{ emotion e_heh; delitem Worn_Out_Page,1; christ_carol05 = 3; - getitem Santa's_Hat,1; + getitem Santas_Hat,1; close; } } |