//:://///////////////////////////////////////////// //:: Name //:: FileName : rp_poxmer_sc2 //:: Copyright (c) 2001 Bioware Corp. //::////////////////////////////////////////////// /* This routine is invoked as a starting conditional in the ox merchants conversation script. If it returns TRUE then the merchant knows he has gotten his gold and created the pack ox for the buyer. */ //::////////////////////////////////////////////// //:: Created By: Rogers Pessin //:: Created On: August 4, 2002 //::////////////////////////////////////////////// #include "rp_poxmer_inc" // If possible, sell an ox to the player and return the success or failure. int StartingConditional() { object oBuyer = GetPCSpeaker(); if (!GetIsPC(oBuyer) || (oBuyer==OBJECT_INVALID)) return FALSE; // Let the merchant know the transaction failed. // If the speaker is "cute" (has a charisma >12) and is female, the // pack ox merchant will give her a discount... the flirt :) if((GetAbilityScore(oBuyer, ABILITY_CHARISMA) > 12) && (GetGender(oBuyer)==GENDER_FEMALE)) { iPriceForOx = iDiscountOxPrice; } // Check for enough gold. if (GetGold(oBuyer)