From 86977d79269408a371384e61111c3a9cf6e87b0c Mon Sep 17 00:00:00 2001 From: Asheraf Date: Sun, 28 Aug 2016 17:03:57 +0100 Subject: *strnpcinfo now uses constants - NPC_NAME for the whole npc name including hidden part - NPC_NAME_VISIBLE for the visible part of the npc name - NPC_NAME_HIDDEN for the hidden part of the npc name - NPC_NAME_UNIQUE for the npc unique name - NPC_MAP for npc map --- npc/re/merchants/card_separation.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'npc/re/merchants/card_separation.txt') diff --git a/npc/re/merchants/card_separation.txt b/npc/re/merchants/card_separation.txt index 8c62b3e80..0e5b31ea2 100644 --- a/npc/re/merchants/card_separation.txt +++ b/npc/re/merchants/card_separation.txt @@ -43,7 +43,7 @@ mes "Can't continue because you have too many heavy objects. Let's try to continue after reducing the weight."; close; } - if (strnpcinfo(1) == "Jeremy") { + if (strnpcinfo(NPC_NAME_VISIBLE) == "Jeremy") { .@Jeremy = 1; .@n$ = "[Jeremy]"; setarray .@equip_name$[0], "Armor", "Shoes", "Garment", "Upper Hat"; -- cgit v1.2.3-70-g09d2