lua/wrappers/game/lua_body_part.cpp
/**
	 * If this body part can hold onto another body part and this body part
	 * is currently helping hold onto an item then this will return true.
	 * Essentially this means that this part has an item equipped but it should not be
	 * considered a different item from the part that actually has the item equipped.
	 *
	 * @returns boolean True if this is currently helping equip another body parts item.
	 */
If this body part can hold onto another body part and this body part
is currently helping hold onto an item then this will return true.
Essentially this means that this part has an item equipped but it should not be
considered a different item from the part that actually has the item equipped.

@returns boolean True if this is currently helping equip another body parts item.
If this body part can hold onto another body part and this body part is currently helping hold onto an item then this will return true . Essentially this means that this part has an item equipped but it should not be considered a different item from the part that actually has the item equipped . @returns boolean True if this is currently helping equip another body parts item .
int BodyPart_is_holding_onto(lua_State *lua)
	{
		BodyPart *part = castUData<BodyPart>(lua, 1);
		if (part)
		{
			if (lua_gettop(lua) == 1)
			{
				lua_pushboolean(lua, part->isHoldingOnto());
				return 1;
			}
			return LuaState::expectedArgs(lua, "is_holding_onto", "");
		}
		return LuaState::expectedContext(lua, "is_holding_onto", "am.body_part");
	}
int BodyPart_is_holding_onto ( lua_State * lua ) { BodyPart * part = castUData < BodyPart > ( lua , 1 ) ; if ( part ) { if ( lua_gettop ( lua ) == 1 ) { lua_pushboolean ( lua , part -> isHoldingOnto ( ) ) ; return 1 ; } return LuaState :: expectedArgs ( lua , " " , " " ) ; } return LuaState :: expectedContext ( lua , " " , " " ) ; }
If this body part can hold onto another body part and this body part
 is currently helping hold onto an item then this will return true.
If this body part can hold onto another body part and this body part is currently helping hold onto an item then this will return true .