//////////////////////////////////////////////////////////////////////////////// // // Olander's Pack Animals // opa_set_buyt5 // 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 nType5 = GetLocalInt(oMod,"T5PRICE"); SetLocalString(oPC,"OPA_CHOOSE_WP","OPA_TYPE05"); SetLocalString(oPC,"OPA_CHOOSE_TYPE","packox"); SetLocalInt(oPC,"OPA_CHOOSE_PRICE",nType5); }