Initial upload
Initial upload.
This commit is contained in:
32
_module/nss/rp_poxmer_sc1.nss
Normal file
32
_module/nss/rp_poxmer_sc1.nss
Normal file
@@ -0,0 +1,32 @@
|
||||
//::///////////////////////////////////////////////
|
||||
//:: Name
|
||||
//:: FileName
|
||||
//:: Copyright (c) 2001 Bioware Corp.
|
||||
//:://////////////////////////////////////////////
|
||||
/*
|
||||
|
||||
*/
|
||||
//:://////////////////////////////////////////////
|
||||
//:: Created By: Rogers Pessin (Tigsen)
|
||||
//:: Created On: August 4, 2002
|
||||
//:://////////////////////////////////////////////
|
||||
|
||||
#include "rp_poxmer_inc"
|
||||
|
||||
int StartingConditional()
|
||||
{
|
||||
// If the speaker is "cute" (has a charisma >12) and is female, the
|
||||
// pack ox merchant will give her a discount... the flirt :)
|
||||
|
||||
object oSpeaker = GetPCSpeaker();
|
||||
if((GetAbilityScore(oSpeaker, ABILITY_CHARISMA) > 12) &&
|
||||
(GetGender(oSpeaker)==GENDER_FEMALE))
|
||||
{
|
||||
SetCustomToken(5001,IntToString(iDiscountOxPrice));
|
||||
return TRUE;
|
||||
}
|
||||
else
|
||||
{
|
||||
return FALSE;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user