Clear out experimental .35 files

Clear out experimental .35 files
This commit is contained in:
Jaysyn904
2024-02-11 13:04:14 -05:00
parent 2112b92e24
commit 618cd42b82
22356 changed files with 0 additions and 1248956 deletions

View File

@@ -1,20 +0,0 @@
#include "x2_inc_switches"
void main()
{
if(GetUserDefinedItemEventNumber() == X2_ITEM_EVENT_UNACQUIRE)
{
object oBag = GetModuleItemLost();
object oNewOwner = GetItemPossessor(oBag);
if(GetIsPC(oNewOwner))
{
string sName = GetName(oBag);
string sGP = GetStringByStrRef(6407)+" ";
int nGold = StringToInt(GetStringRight(sName, GetStringLength(sName) - GetStringLength(sGP)));
DestroyObject(oBag);
GiveGoldToCreature(oNewOwner, nGold);
}
}
}