Jaysyn904 7b9e44ebbb Initial upload
Initial upload.  PRC8 has been added.  Module compiles, PRC's default AI & treasure scripts have been integrated.  Started work on top hak for SLA / Ability / Scripting modifications.
2024-03-11 23:44:08 -04:00

16 lines
359 B
Plaintext

void main()
{
// Remove items from the player's inventory
object oItemToTake = GetItemPossessedBy(GetPCSpeaker(), "fr_iwd_spiritstone");
if(GetIsObjectValid(oItemToTake) == TRUE)
{
DestroyObject(oItemToTake);
CreateItemOnObject("fr_iwd_tower_ke", GetPCSpeaker(), 1);
PlayAnimation(ANIMATION_LOOPING_GET_MID, 0.7, 3.0);
}
}