From e384a7f2166026dc1c8cdfe49fc2fc105197ea02 Mon Sep 17 00:00:00 2001 From: Haru Date: Fri, 18 Nov 2016 07:13:21 +0100 Subject: 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 --- npc/quests/quests_lutie.txt | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'npc/quests/quests_lutie.txt') 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*"; -- cgit v1.2.3-70-g09d2