Skip to main content

query_weapons

Discworld combat help

query_weapons

Name

query_weapons - The currrently wielded weapons.

Syntax

object *query_weapons();

Description

Returns the weapons being currently wielded (and held). This can be 1 or more weapons.

Examples:

write("You are wielding "+query_multiple_short(this_player()->query_weapons())+
".\n");

See also

set_hold, set_unhold, query_limbs, query_holding, query_no_limbs