Initial Commit
Initial Commit
This commit is contained in:
13
_module/nss/adv_duelwon.nss
Normal file
13
_module/nss/adv_duelwon.nss
Normal file
@@ -0,0 +1,13 @@
|
||||
#include "quest_inc"
|
||||
void main()
|
||||
{
|
||||
object oPC = GetPCSpeaker();
|
||||
DeleteLocalInt(GetPCSpeaker(), "Duel");
|
||||
DeleteLocalInt(GetArea(OBJECT_SELF), "Duel");
|
||||
string sItem = GenerateRandomItem(oPC);
|
||||
object oItem = CreateItemOnObject(sItem, oPC);
|
||||
SetIdentified(oItem, TRUE);
|
||||
|
||||
ForceRest(OBJECT_SELF);
|
||||
SetPlotFlag(OBJECT_SELF, FALSE);
|
||||
}
|
Reference in New Issue
Block a user