MMD_PRC8/_module/nss/vat_setcharges.nss
Jaysyn904 adeff59f82 Initial commit
Initial commit.
2024-08-02 23:18:00 -04:00

10 lines
229 B
Plaintext

void main()
{
object oPC = GetPCSpeaker();
object oItem = GetLocalObject(oPC, "MODIFY_ITEM");
int iCost = GetLocalInt(oPC, "iModifyCost");
TakeGoldFromCreature(iCost, oPC, TRUE);
SetItemCharges(oItem, 99);
}