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_louyang.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'npc/quests/quests_louyang.txt') diff --git a/npc/quests/quests_louyang.txt b/npc/quests/quests_louyang.txt index d9c07c597..40fd7b38e 100644 --- a/npc/quests/quests_louyang.txt +++ b/npc/quests/quests_louyang.txt @@ -1433,7 +1433,7 @@ lou_in02,265,69,5 script Doctor#lyang 4_F_CHNDOCTOR,{ close; } else if (ch_par == 17) { - if (countitem(Leopard_Talon) > 1 && countitem(Hard_Peach) > 9 && countitem(Poison_Toad's_Skin) > 4 && countitem(Browny_Root) > 19 && countitem(Germinating_Sprout) > 9 && countitem(Honey_Jar) > 4) { + if (countitem(Leopard_Talon) > 1 && countitem(Hard_Peach) > 9 && countitem(Poison_Toads_Skin) > 4 && countitem(Browny_Root) > 19 && countitem(Germinating_Sprout) > 9 && countitem(Honey_Jar) > 4) { mes "[Hua Tuo]"; mes "Hm? Ah, you have returned."; mes "Sorry, I was taking care of my other patients. Have you already gathered the medicines I'll need?"; @@ -1448,7 +1448,7 @@ lou_in02,265,69,5 script Doctor#lyang 4_F_CHNDOCTOR,{ mes "Please take this as a token of my appreciation. It's not much, but this medicine is an old family secret. I hope it will be helpful to you in dangerous situations."; delitem Leopard_Talon,2; delitem Hard_Peach,10; - delitem Poison_Toad's_Skin,5; + delitem Poison_Toads_Skin,5; delitem Browny_Root,20; delitem Germinating_Sprout,10; delitem Honey_Jar,5; -- cgit v1.2.3-60-g2f50