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/dev/test.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'npc/dev/test.txt') diff --git a/npc/dev/test.txt b/npc/dev/test.txt index ee2bda259..b711a0a28 100644 --- a/npc/dev/test.txt +++ b/npc/dev/test.txt @@ -606,7 +606,7 @@ function script HerculesSelfTestHelper { callsub(OnCheck, "'PORING' mob ID", PORING, 1002); callsub(OnCheck, "'NV_BASIC' skill ID", NV_BASIC, 1); callsub(OnCheck, "'Red_Potion' item ID", Red_Potion, 501); - callsub(OnCheck, "'Monster's_Feed' item ID", Monster's_Feed, 528); + callsub(OnCheck, "'Monsters_Feed' item ID", Monsters_Feed, 528); // setd/getd -- cgit v1.2.3-60-g2f50