Aschbourne_PRC8/_module/per_safe_item_op.nss
GetOffMyYarn 8622e5ce08 Area Changes and other fixes
added areas and ccoh,
fixed some areas to work with crafting
fixed some on death issues
added server entry/ooc
2024-08-30 10:38:04 -04:00

19 lines
438 B
Plaintext

//ScarFace's Persistent Baking system -OnOpen-
void main()
{
object oPC = GetLastOpenedBy();
string sKey = GetPCPublicCDKey(oPC);
int iCount = 1;
string sCount;
string sResRef;
location lLoc = GetLocation(OBJECT_SELF);
while (iCount <= 100)
{
sCount = IntToString(iCount);
RetrieveCampaignObject("STORAGE", sKey+sCount, lLoc, OBJECT_SELF, oPC);
DeleteCampaignVariable("STORAGE", sKey+sCount, oPC);
iCount++;
}
}