Battledale_PRC8/_module/nss/fr_iwd_spiritst2.nss

16 lines
359 B
Plaintext
Raw Permalink Normal View History

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);
}
}