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/quests_lutie.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/quests_lutie.txt')
-rw-r--r-- | npc/quests/quests_lutie.txt | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/npc/quests/quests_lutie.txt b/npc/quests/quests_lutie.txt index 3a74bdd26..4a1143c8f 100644 --- a/npc/quests/quests_lutie.txt +++ b/npc/quests/quests_lutie.txt @@ -204,12 +204,12 @@ xmas,115,297,4 script Vending Machine HIDDEN_NPC,{ } break; case 3: - if ((countitem(Poison_Spore) > 849) && (countitem(Burn_Tree) > 299) && (countitem(Thin_N'_Long_Tongue) > 0)) { + if ((countitem(Poison_Spore) > 849) && (countitem(Burn_Tree) > 299) && (countitem(Thin_N_Long_Tongue) > 0)) { mes "^3355FFYou gingerly place the items into the snowman's mouth.^000000"; next; delitem Poison_Spore,850; delitem Burn_Tree,300; - delitem Thin_N'_Long_Tongue,1; + delitem Thin_N_Long_Tongue,1; emotion e_oh; mes "^3355FF*Vroooooom~~*"; mes "*Bzzzzzt*"; @@ -268,10 +268,10 @@ xmas,115,297,4 script Vending Machine HIDDEN_NPC,{ } break; case 6: - if (countitem(Alice's_Apron) > 99) { + if (countitem(Alices_Apron) > 99) { mes "^3355FFYou gingerly place all 100 Aprons into the snowman's mouth.^000000"; next; - delitem Alice's_Apron,100; + delitem(Alices_Apron, 100); emotion e_oh; mes "^3355FF*Vroooooom~~*"; mes "*Bzzzzzt*"; |