25 lines
655 B
Plaintext
25 lines
655 B
Plaintext
|
////////////////////////////////////////////////////////////////////////////////
|
||
|
//
|
||
|
// 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);
|
||
|
}
|