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:
25
_module/nss/jw_create_pierca.nss
Normal file
25
_module/nss/jw_create_pierca.nss
Normal file
@@ -0,0 +1,25 @@
|
||||
//::///////////////////////////////////////////////
|
||||
//:: FileName jw_create_acidar
|
||||
//:://////////////////////////////////////////////
|
||||
//:://////////////////////////////////////////////
|
||||
//:: Created By: Script Wizard
|
||||
//:: Created On: 06/09/2002 22:16:59
|
||||
//:://////////////////////////////////////////////
|
||||
void main()
|
||||
{
|
||||
//ActionPauseConversation();
|
||||
|
||||
ActionCastFakeSpellAtObject(SPELL_PRISMATIC_SPRAY,OBJECT_SELF);
|
||||
//ActionResumeConversation();
|
||||
|
||||
// Give the speaker the items
|
||||
CreateItemOnObject("nw_wammar004", GetPCSpeaker(), 99);
|
||||
|
||||
|
||||
// Remove items from the player's inventory
|
||||
object oItemToTake;
|
||||
oItemToTake = GetItemPossessedBy(GetPCSpeaker(), "jw_logs");
|
||||
if(GetIsObjectValid(oItemToTake) != 0)
|
||||
DestroyObject(oItemToTake);
|
||||
TakeGoldFromCreature(825,GetPCSpeaker(),TRUE);
|
||||
}
|
||||
Reference in New Issue
Block a user