14 lines
357 B
Plaintext
14 lines
357 B
Plaintext
#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);
|
|
}
|