PGCC_PRC8/_module/nss/vat_dupsetup.nss
Jaysyn904 e51634d39b Initial upload
Initial upload.
2024-10-09 14:17:22 -04:00

12 lines
294 B
Plaintext

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
}