generated from Jaysyn/ModuleTemplate
Initial upload
Initial upload.
This commit is contained in:
11
_module/nss/vtw_dup_go.nss
Normal file
11
_module/nss/vtw_dup_go.nss
Normal file
@@ -0,0 +1,11 @@
|
||||
int StartingConditional()
|
||||
{
|
||||
object oPC = GetPCSpeaker();
|
||||
object oItem = GetLocalObject(oPC, "MODIFY_ITEM");
|
||||
|
||||
int iValue = GetGoldPieceValue(oItem);
|
||||
int iGold = GetGold(oPC);
|
||||
|
||||
if (iValue < iGold) return TRUE;
|
||||
else return FALSE;
|
||||
}
|
Reference in New Issue
Block a user