generated from Jaysyn/ModuleTemplate
Initial upload
Initial upload.
This commit is contained in:
11
_module/nss/vat_dupsetup.nss
Normal file
11
_module/nss/vat_dupsetup.nss
Normal file
@@ -0,0 +1,11 @@
|
||||
void main()
|
||||
{
|
||||
object oPC = GetPCSpeaker();
|
||||
object oItem = GetLocalObject(oPC, "MODIFY_ITEM");
|
||||
|
||||
int iValue = GetGoldPieceValue(oItem);
|
||||
int iGold = GetGold(oPC);
|
||||
|
||||
SetCustomToken(101, IntToString(iValue)); // item value
|
||||
SetCustomToken(102, IntToString(iGold)); //PC gold
|
||||
}
|
Reference in New Issue
Block a user