//////////////////////////////////////////////////////////////////////////////// // // Olander's Pack Animals // opa_set_buyt2 // 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 nType2 = GetLocalInt(oMod,"T2PRICE"); SetLocalString(oPC,"OPA_CHOOSE_WP","OPA_TYPE02"); SetLocalString(oPC,"OPA_CHOOSE_TYPE","packbadger"); SetLocalInt(oPC,"OPA_CHOOSE_PRICE",nType2); }