Page 1 of 1

player:merchant() at House npc

Posted: Sat Sep 11, 2010 10:33 pm
by rock5
Anyone else interested in being able to use player:merchant() on npcs that don't have the shop as option 1, like house npcs?

If so, I can add it.

Re: player:merchant() at House npc

Posted: Sun Sep 12, 2010 6:55 pm
by rock5
I've decided to add this anyway to rev 497 as there is no harm in having the extra option.

When the shop option isn't the first on the npc list, just add the number eg.

Code: Select all

player:merchant(2)

Re: player:merchant() at House npc

Posted: Sun Sep 12, 2010 8:10 pm
by MiesterMan
How does that work? I mean normally you'd put the name of the npc there right?

Re: player:merchant() at House npc

Posted: Sun Sep 12, 2010 9:59 pm
by rock5
MiesterMan wrote:How does that work? I mean normally you'd put the name of the npc there right?
Oops, sorry. I mean as a second value eg

Code: Select all

player:merchant("npcname",2)