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.
16 lines
359 B
Plaintext
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);
|
|
}
|
|
|
|
}
|