Well.. I think you could just define a variable in the quest (ie: $shopfaction). The server would just need to check and see if that variable is defined in the quest package for that mob, and use that. A better way, if you even needed to have per-npc sell factions, might be to add a column into npc_types, and alter the npc type struct.
|