29 lines
1.9 KiB
Plaintext
29 lines
1.9 KiB
Plaintext
#include "XPLEVEL"
|
|
void main()
|
|
{
|
|
object oSpeaker;
|
|
object oPC = GetPCSpeaker();
|
|
oSpeaker=GetPCSpeaker();
|
|
SendMessageToPC(oSpeaker,"Your Equipment is being removed in case of a crash");
|
|
AssignCommand(oSpeaker, ActionUnequipItem(GetItemInSlot(INVENTORY_SLOT_ARMS, oSpeaker)));
|
|
AssignCommand(oSpeaker, ActionUnequipItem(GetItemInSlot(INVENTORY_SLOT_ARROWS, oSpeaker)));
|
|
AssignCommand(oSpeaker, ActionUnequipItem(GetItemInSlot(INVENTORY_SLOT_BELT, oSpeaker)));
|
|
AssignCommand(oSpeaker, ActionUnequipItem(GetItemInSlot(INVENTORY_SLOT_BOLTS, oSpeaker)));
|
|
AssignCommand(oSpeaker, ActionUnequipItem(GetItemInSlot(INVENTORY_SLOT_BOOTS, oSpeaker)));
|
|
AssignCommand(oSpeaker, ActionUnequipItem(GetItemInSlot(INVENTORY_SLOT_BULLETS, oSpeaker)));
|
|
//AssignCommand(oSpeaker, ActionUnequipItem(GetItemInSlot(INVENTORY_SLOT_CARMOUR, oSpeaker)));
|
|
AssignCommand(oSpeaker, ActionUnequipItem(GetItemInSlot(INVENTORY_SLOT_CHEST, oSpeaker)));
|
|
AssignCommand(oSpeaker, ActionUnequipItem(GetItemInSlot(INVENTORY_SLOT_CLOAK, oSpeaker)));
|
|
//AssignCommand(oSpeaker, ActionUnequipItem(GetItemInSlot(INVENTORY_SLOT_CWEAPON_B, oSpeaker)));
|
|
//AssignCommand(oSpeaker, ActionUnequipItem(GetItemInSlot(INVENTORY_SLOT_CWEAPON_L, oSpeaker)));
|
|
//AssignCommand(oSpeaker, ActionUnequipItem(GetItemInSlot(INVENTORY_SLOT_CWEAPON_R, oSpeaker)));
|
|
AssignCommand(oSpeaker, ActionUnequipItem(GetItemInSlot(INVENTORY_SLOT_HEAD, oSpeaker)));
|
|
AssignCommand(oSpeaker, ActionUnequipItem(GetItemInSlot(INVENTORY_SLOT_LEFTHAND, oSpeaker)));
|
|
AssignCommand(oSpeaker, ActionUnequipItem(GetItemInSlot(INVENTORY_SLOT_LEFTRING, oSpeaker)));
|
|
AssignCommand(oSpeaker, ActionUnequipItem(GetItemInSlot(INVENTORY_SLOT_NECK, oSpeaker)));
|
|
AssignCommand(oSpeaker, ActionUnequipItem(GetItemInSlot(INVENTORY_SLOT_RIGHTHAND, oSpeaker)));
|
|
AssignCommand(oSpeaker, ActionUnequipItem(GetItemInSlot(INVENTORY_SLOT_RIGHTRING, oSpeaker)));
|
|
XPLevel(1);
|
|
XPLevel(8);
|
|
}
|