Initial commit. Updated release archive.
This commit is contained in:
17
_module/nss/at_takeherbs.nss
Normal file
17
_module/nss/at_takeherbs.nss
Normal file
@@ -0,0 +1,17 @@
|
||||
#include "nw_i0_plot"
|
||||
|
||||
void main()
|
||||
{
|
||||
|
||||
object oPC = GetPCSpeaker();
|
||||
|
||||
|
||||
// Remove items from the player's inventory
|
||||
object oItemToTake;
|
||||
oItemToTake = GetItemPossessedBy(oPC, "it_RareHerbs");
|
||||
if(GetIsObjectValid(oItemToTake) != 0)
|
||||
DestroyObject(oItemToTake);
|
||||
|
||||
SetPLocalInt (oPC, "HerbQuest", 3);
|
||||
|
||||
}
|
Reference in New Issue
Block a user