38 lines
1.7 KiB
Plaintext
38 lines
1.7 KiB
Plaintext
void main()
|
|
{ object oItemToTake;
|
|
oItemToTake = GetItemPossessedBy(GetPCSpeaker(), "SHIFTERLONGSWORD");
|
|
if(GetIsObjectValid(oItemToTake) != 0)
|
|
DestroyObject(oItemToTake);
|
|
oItemToTake = GetItemPossessedBy(GetPCSpeaker(), "SHIFTERSHORT");
|
|
if(GetIsObjectValid(oItemToTake) != 0)
|
|
DestroyObject(oItemToTake);
|
|
oItemToTake = GetItemPossessedBy(GetPCSpeaker(), "SHIFTERBASTARD");
|
|
if(GetIsObjectValid(oItemToTake) != 0)
|
|
DestroyObject(oItemToTake);
|
|
oItemToTake = GetItemPossessedBy(GetPCSpeaker(), "SHIFTERTWIN");
|
|
if(GetIsObjectValid(oItemToTake) != 0)
|
|
DestroyObject(oItemToTake);
|
|
oItemToTake = GetItemPossessedBy(GetPCSpeaker(), "SHIFTERGREATSWORD");
|
|
if(GetIsObjectValid(oItemToTake) != 0)
|
|
DestroyObject(oItemToTake);
|
|
oItemToTake = GetItemPossessedBy(GetPCSpeaker(), "SHIFTERMORNINGSTAR");
|
|
if(GetIsObjectValid(oItemToTake) != 0)
|
|
DestroyObject(oItemToTake);
|
|
oItemToTake = GetItemPossessedBy(GetPCSpeaker(), "SHIFTERQUARTERSTAFF");
|
|
if(GetIsObjectValid(oItemToTake) != 0)
|
|
DestroyObject(oItemToTake);
|
|
oItemToTake = GetItemPossessedBy(GetPCSpeaker(), "SHIFTERSCYTHE");
|
|
if(GetIsObjectValid(oItemToTake) != 0)
|
|
DestroyObject(oItemToTake);
|
|
oItemToTake = GetItemPossessedBy(GetPCSpeaker(), "SHIFTERSHORTBOW");
|
|
if(GetIsObjectValid(oItemToTake) != 0)
|
|
DestroyObject(oItemToTake);
|
|
oItemToTake = GetItemPossessedBy(GetPCSpeaker(), "SHIFTERLONGBOW");
|
|
if(GetIsObjectValid(oItemToTake) != 0)
|
|
DestroyObject(oItemToTake);
|
|
oItemToTake = GetItemPossessedBy(GetPCSpeaker(), "SHIFTERCROSSBOW");
|
|
if(GetIsObjectValid(oItemToTake) != 0)
|
|
DestroyObject(oItemToTake);
|
|
CreateItemOnObject("awshiftertwin", GetPCSpeaker(), 1);
|
|
}
|