22 lines
978 B
Plaintext
22 lines
978 B
Plaintext
void main()
|
|
{
|
|
object oPC = GetEnteringObject();
|
|
|
|
if(GetIsPC(oPC)==TRUE)
|
|
{
|
|
FloatingTextStringOnCreature("The warm bath waters ease the tension in your body.", oPC, FALSE);
|
|
AssignCommand(oPC, ActionUnequipItem(GetItemInSlot(INVENTORY_SLOT_CHEST, oPC)));
|
|
AssignCommand(oPC, ActionUnequipItem(GetItemInSlot(INVENTORY_SLOT_ARMS, oPC)));
|
|
AssignCommand(oPC, ActionUnequipItem(GetItemInSlot(INVENTORY_SLOT_BELT, oPC)));
|
|
AssignCommand(oPC, ActionUnequipItem(GetItemInSlot(INVENTORY_SLOT_BOOTS, oPC)));
|
|
AssignCommand(oPC, ActionUnequipItem(GetItemInSlot(INVENTORY_SLOT_CLOAK, oPC)));
|
|
AssignCommand(oPC, ActionUnequipItem(GetItemInSlot(INVENTORY_SLOT_HEAD, oPC)));
|
|
AssignCommand(oPC, ActionUnequipItem(GetItemInSlot(INVENTORY_SLOT_RIGHTHAND, oPC)));
|
|
AssignCommand(oPC, ActionUnequipItem(GetItemInSlot(INVENTORY_SLOT_LEFTHAND, oPC)));
|
|
}
|
|
|
|
ActionCastSpellAtObject(SPELL_CURE_MINOR_WOUNDS,oPC,1);
|
|
|
|
|
|
}
|