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.
This commit is contained in:
15
_module/nss/fr_iwd_spiritst2.nss
Normal file
15
_module/nss/fr_iwd_spiritst2.nss
Normal file
@@ -0,0 +1,15 @@
|
||||
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);
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user