18 lines
533 B
Plaintext
18 lines
533 B
Plaintext
#include "nw_i0_generic"
|
|
void main()
|
|
{
|
|
object oPC = GetEnteringObject();
|
|
if (GetIsPC(oPC))
|
|
{
|
|
AssignCommand(oPC, ActionUnequipItem(GetItemInSlot(INVENTORY_SLOT_LEFTHAND, oPC)));
|
|
AssignCommand(oPC, ActionUnequipItem(GetItemInSlot(INVENTORY_SLOT_RIGHTHAND, oPC)));
|
|
AssignCommand(oPC, ActionUnequipItem(GetItemInSlot(INVENTORY_SLOT_HEAD, oPC)));
|
|
}
|
|
{
|
|
string oRemove= "All weapons are to be sheathed and helms removed on entry!";
|
|
SendMessageToPC(oPC, oRemove);
|
|
return;
|
|
}
|
|
}
|
|
|