generated from Jaysyn/ModuleTemplate
Initial commit
Initial commit
This commit is contained in:
24
_module/nss/opa_set_buyt7.nss
Normal file
24
_module/nss/opa_set_buyt7.nss
Normal file
@@ -0,0 +1,24 @@
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
//
|
||||
// Olander's Pack Animals
|
||||
// opa_set_buyt7
|
||||
// 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 nType7 = GetLocalInt(oMod,"T7PRICE");
|
||||
SetLocalString(oPC,"OPA_CHOOSE_WP","OPA_TYPE07");
|
||||
SetLocalString(oPC,"OPA_CHOOSE_TYPE","packpony");
|
||||
SetLocalInt(oPC,"OPA_CHOOSE_PRICE",nType7);
|
||||
}
|
||||
Reference in New Issue
Block a user