23 lines
744 B
Plaintext
23 lines
744 B
Plaintext
//::///////////////////////////////////////////////
|
|
//:: FileName quest_monk_f
|
|
//:://////////////////////////////////////////////
|
|
//:://////////////////////////////////////////////
|
|
//:: Created By: Script Wizard
|
|
//:: Created On: 2003-10-02 8:56:06 AM
|
|
//:://////////////////////////////////////////////
|
|
#include "nw_i0_generic"
|
|
|
|
void main()
|
|
{
|
|
|
|
// Remove items from the player's inventory
|
|
object oItemToTake;
|
|
oItemToTake = GetItemPossessedBy(GetPCSpeaker(), "RHUN_MONKQS1A");
|
|
if(GetIsObjectValid(oItemToTake) != 0)
|
|
DestroyObject(oItemToTake);
|
|
|
|
// Set the faction to hate the player, then attack the player
|
|
ChangeToStandardFaction(OBJECT_SELF, STANDARD_FACTION_HOSTILE);
|
|
DetermineCombatRound(GetPCSpeaker());
|
|
}
|