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/cooking_quest.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'npc/quests/cooking_quest.txt') diff --git a/npc/quests/cooking_quest.txt b/npc/quests/cooking_quest.txt index 83e7e2ea4..3b97f60ee 100644 --- a/npc/quests/cooking_quest.txt +++ b/npc/quests/cooking_quest.txt @@ -429,7 +429,7 @@ prt_castle,43,30,3 script Charles Orleans#cook 4_M_OILMAN,{ goto L_End; } else if (cooking_q == 1) { - if (countitem(Grasshopper's_Leg) > 4 && countitem(Old_Frying_Pan) > 0 && countitem(Cooking_Oil) > 0) { + if (countitem(Grasshoppers_Leg) > 4 && countitem(Old_Frying_Pan) > 0 && countitem(Cooking_Oil) > 0) { cutin "orleans_4",0; emotion e_an; mes "[Charles Orleans]"; @@ -462,7 +462,7 @@ prt_castle,43,30,3 script Charles Orleans#cook 4_M_OILMAN,{ mes "know this recipe now. That's"; mes "all for today, so please go"; mes "and practice on your own now."; - delitem Grasshopper's_Leg,5; + delitem Grasshoppers_Leg,5; delitem Old_Frying_Pan,1; delitem Cooking_Oil,1; cooking_q = 7; -- cgit v1.2.3-60-g2f50