Rune_PRC8/_module/nss/opa_set_buyt3.nss

25 lines
655 B
Plaintext
Raw Permalink Normal View History

2024-09-13 09:10:39 -04:00
////////////////////////////////////////////////////////////////////////////////
//
// Olander's Pack Animals
// opa_set_buyt3
// By Don Anderson
// dandersonru@msn.com
//
// This script is called from the Pack Animal Salesman Convo.
//
// Checks for Enough Gold.
//
////////////////////////////////////////////////////////////////////////////////
void main()
{
object oPC = GetPCSpeaker();
object oNPC = OBJECT_SELF;
object oMod = GetModule();
int nType3 = GetLocalInt(oMod,"T3PRICE");
SetLocalString(oPC,"OPA_CHOOSE_WP","OPA_TYPE03");
SetLocalString(oPC,"OPA_CHOOSE_TYPE","packboar");
SetLocalInt(oPC,"OPA_CHOOSE_PRICE",nType3);
}