16 lines
363 B
Plaintext
16 lines
363 B
Plaintext
void main()
|
|
{
|
|
object oPC = GetLastUnlocked();
|
|
object oItemToTake1;
|
|
oItemToTake1 = GetItemPossessedBy(OBJECT_SELF, "zq_item_05");
|
|
DestroyObject(oItemToTake1);
|
|
CreateItemOnObject("zq_item_05", OBJECT_SELF, 1);
|
|
|
|
object oTarget;
|
|
oTarget = GetObjectByTag("hraskiloyalis001");
|
|
AdjustReputation(oPC, oTarget, -100);
|
|
|
|
DelayCommand(15.0, SetLocked(OBJECT_SELF, TRUE));
|
|
}
|
|
|