Battledale_PRC8/_module/nss/fr_chk_obelisk02.nss

15 lines
402 B
Plaintext
Raw Permalink Normal View History

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);
}
}