Difference between revisions of "Item usage"

From CrawlWiki
Jump to: navigation, search
m (fix link to monster page)
(add version tag and update)
Line 1: Line 1:
{{version}}
+
{{version028}}
A monster's '''item usage''' property describes which types of items it can use:
+
A monster's '''item usage''' property describes which types of items it can use. There are four "levels", and each next level includes all the previous ones.
  
*"Open [[door]]s" means the monster can open doors but not use inventory-type items.
+
*"Uses nothing" (stored in the [[source code]] as <code>MONUSE_NOTHING</code>) means the monster cannot use items.
*"Carried items" (stored in the [[source code]] as "MONUSE_STARTING_EQUIPMENT") means the monster is sometimes generated with items that it can use.  The items a monster starts with is dependent on its type; [[Gnoll_(monster)|gnoll]]s tend to start with [[polearm]]s, [[Sigmund]] always carries a magical [[scythe]] and often a [[wand]], and [[centaur]]s always have [[bow]]s and may sometimes wear [[barding]].
+
*"Open [[door]]s" (<code>MONUSE_OPEN_DOORS</code>) means the monster can open doors, but cannot use inventory-type items.
*"Pick up items" ("MONUSE_WEAPONS_ARMOUR") means that not only may the monster start with items, but that it may pick up and use items on the floor, but only ones you have not seen yet.
+
*"Starting equipment" (<code>MONUSE_STARTING_EQUIPMENT</code>) means the monster is sometimes generated with items that it can use.  The items a monster starts with is dependent on its type; [[Gnoll_(monster)|gnoll]]s tend to start with [[polearm]]s, [[Sigmund]] always carries a magical [[scythe]], and [[centaur]]s always have [[bow]]s and may sometimes wear [[barding]].
 
+
*"Weapons & armour" (<code>MONUSE_WEAPONS_ARMOUR</code>) means that not only may the monster start with items, but that it may pick up and use items on the floor, including [[wand]]s. Note that monsters can pick up only items the player has not seen yet.
Monsters that can carry or pick up items can also open doors.
 
  
 
[[Category:Game mechanics]]
 
[[Category:Game mechanics]]

Revision as of 20:38, 25 May 2022

Version 0.28: This article may not be up to date for the latest stable release of Crawl.

A monster's item usage property describes which types of items it can use. There are four "levels", and each next level includes all the previous ones.

  • "Uses nothing" (stored in the source code as MONUSE_NOTHING) means the monster cannot use items.
  • "Open doors" (MONUSE_OPEN_DOORS) means the monster can open doors, but cannot use inventory-type items.
  • "Starting equipment" (MONUSE_STARTING_EQUIPMENT) means the monster is sometimes generated with items that it can use. The items a monster starts with is dependent on its type; gnolls tend to start with polearms, Sigmund always carries a magical scythe, and centaurs always have bows and may sometimes wear barding.
  • "Weapons & armour" (MONUSE_WEAPONS_ARMOUR) means that not only may the monster start with items, but that it may pick up and use items on the floor, including wands. Note that monsters can pick up only items the player has not seen yet.