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:
20
_module/nss/jw_wiztakesbook.nss
Normal file
20
_module/nss/jw_wiztakesbook.nss
Normal file
@@ -0,0 +1,20 @@
|
||||
//::///////////////////////////////////////////////
|
||||
//:: FileName jw_wiztakesbook
|
||||
//:://////////////////////////////////////////////
|
||||
//:://////////////////////////////////////////////
|
||||
//:: Created By: Script Wizard
|
||||
//:: Created On: 06/09/2002 21:42:06
|
||||
//:://////////////////////////////////////////////
|
||||
void main()
|
||||
{
|
||||
// Give the speaker some gold
|
||||
|
||||
|
||||
// Remove items from the player's inventory
|
||||
object oItemToTake;
|
||||
oItemToTake = GetItemPossessedBy(GetPCSpeaker(), "jw_elf_book");
|
||||
if(GetIsObjectValid(oItemToTake) != 0)
|
||||
{ DestroyObject(oItemToTake);
|
||||
GiveGoldToCreature(GetPCSpeaker(), 100);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user