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:
22
_module/nss/px_grudg_hammer.nss
Normal file
22
_module/nss/px_grudg_hammer.nss
Normal file
@@ -0,0 +1,22 @@
|
||||
//::///////////////////////////////////////////////
|
||||
//:: FileName px_grudg_hammer
|
||||
//:://////////////////////////////////////////////
|
||||
//:://////////////////////////////////////////////
|
||||
//:: Created By: Script Wizard
|
||||
//:: Created On: 2003-11-23 16:40:40
|
||||
//:://////////////////////////////////////////////
|
||||
void main()
|
||||
{
|
||||
object oItemToTake;
|
||||
oItemToTake = GetItemPossessedBy(GetPCSpeaker(), "px_marsh_gem");
|
||||
if(GetIsObjectValid(oItemToTake) != 0)
|
||||
{DestroyObject(oItemToTake);
|
||||
// Give the speaker the items
|
||||
CreateItemOnObject("px_grudgerie_ham", GetPCSpeaker(), 1);}
|
||||
else
|
||||
{
|
||||
FloatingTextStringOnCreature("You need to have the gem in your backpack to recieve your reward!",GetPCSpeaker());
|
||||
ClearAllActions();
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user