Initial Upload

Initial Upload
This commit is contained in:
Jaysyn904
2023-08-08 16:22:17 -04:00
parent 51a2a1286e
commit 22947ad4b6
6511 changed files with 6765205 additions and 0 deletions

View File

@@ -0,0 +1,19 @@
void main()
{
object oPC = GetPCSpeaker();
object oItem = GetFirstItemInInventory(oPC);
int iMaxGPValue = 2000;
while (GetIsObjectValid(oItem))
{
{
if (GetBaseItemType(oItem) == BASE_ITEM_SPELLSCROLL)
SetPlotFlag(oItem,FALSE);
else
SetPlotFlag(oItem,TRUE);
if (GetGoldPieceValue(oItem) > iMaxGPValue && !GetPlotFlag(oItem))
SetPlotFlag(oItem,TRUE);
}
oItem = GetNextItemInInventory(oPC);
}
}