A
          / \      _             Play Now                         Nemesis on fb
          | |     | |  _______   _        _   _______    _______   _    _______
          | |\    | | |   ____| |  \    /  | |   ____|  /   ____| | |  /   ____|
 /-------/-------------------------------------------------------------------,
O= Home <=XX|  About  News  Pics  Adventurers  Wizards  Download  Connect     >
 \-------\-------------------------------------------------------------------'
          | |   \   | |  |____  | |      | | |  |____   ___ \  \  | |  ___ \  \
          | |     \_| |_______| |_|      |_| |_______| |_______/  |_| |_______/
          \ /
           V  

Documentation Area

Document Path: /doc/living/wear


Name: wear - force a living to wear an armour

Syntax:
	wear(object armour)

Description:
	The wear function makes a living wear an armour. This function is
	mainly used by the wear command.
	The player is informed about this action.

Return value: none

Note:
	The armour doesn't know that is it worn if you call this function
	directly! So the short description will not have " (worn)" at the
	end! Often it is better to force the player to do that using command().

Examples:
	object armour=clone_object("lib/armour/wood_shield");
	transfer(armour, this_player());
	this_player()->wear(armour);

See also:


This page was generated in LPC

Imprint / Impressum