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:
26
_module/nss/jw_smith_gvchn.nss
Normal file
26
_module/nss/jw_smith_gvchn.nss
Normal file
@@ -0,0 +1,26 @@
|
||||
//::///////////////////////////////////////////////
|
||||
//:: FileName jw_smith_gvsplin
|
||||
//:://////////////////////////////////////////////
|
||||
//:://////////////////////////////////////////////
|
||||
//:: Created By: Script Wizard
|
||||
//:: Created On: 14/08/2002 23:42:01
|
||||
//:://////////////////////////////////////////////
|
||||
void main()
|
||||
{
|
||||
// Give the speaker the items
|
||||
CreateItemOnObject("jw_bright_chain", GetPCSpeaker(), 1);
|
||||
|
||||
|
||||
// Remove some gold from the player
|
||||
TakeGoldFromCreature(8000, GetPCSpeaker(), TRUE);
|
||||
|
||||
// Remove items from the player's inventory
|
||||
object oItemToTake;
|
||||
oItemToTake = GetItemPossessedBy(GetPCSpeaker(), "jw_bright_ore");
|
||||
if(GetIsObjectValid(oItemToTake) != 0)
|
||||
DestroyObject(oItemToTake);
|
||||
|
||||
oItemToTake = GetItemPossessedBy(GetPCSpeaker(), "jw_bright_salve");
|
||||
if(GetIsObjectValid(oItemToTake) != 0)
|
||||
DestroyObject(oItemToTake);
|
||||
}
|
||||
Reference in New Issue
Block a user