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:
14
_module/nss/fr_chk_obelisk02.nss
Normal file
14
_module/nss/fr_chk_obelisk02.nss
Normal file
@@ -0,0 +1,14 @@
|
||||
void main()
|
||||
{
|
||||
object oPC = GetPCSpeaker();
|
||||
|
||||
if(GetItemPossessedBy(oPC, "fr_iwd_blackstone") != OBJECT_INVALID)
|
||||
{
|
||||
// Remove items from the player's inventory
|
||||
object oItemToTake = GetItemPossessedBy(oPC, "fr_iwd_blackstone");
|
||||
DestroyObject(oItemToTake);
|
||||
CreateItemOnObject("jw_bedroll3", oPC);
|
||||
CreateItemOnObject("jw_food3", oPC);
|
||||
CreateItemOnObject("jw_food3", oPC);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user