Difference between revisions of "Item usage"

From CrawlWiki
Jump to: navigation, search
(add version tag and update)
m
Line 1: Line 1:
 
{{version028}}
 
{{version028}}
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.
+
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 permissons of the previous ones.
  
*"Uses nothing" (stored in the [[source code]] as <code>MONUSE_NOTHING</code>) means the monster cannot use items.
+
*"Uses nothing" (stored in the [[source code]] as <code>MONUSE_NOTHING</code>) means the monster cannot use items or doors.
 
*"Open [[door]]s" (<code>MONUSE_OPEN_DOORS</code>) means the monster can open doors, but cannot use inventory-type items.
 
*"Open [[door]]s" (<code>MONUSE_OPEN_DOORS</code>) means the monster can open doors, but cannot use inventory-type items.
 
*"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]].
 
*"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.
+
*"Weapons & armour" (<code>MONUSE_WEAPONS_ARMOUR</code>) means that the monster can 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.
  
 
[[Category:Game mechanics]]
 
[[Category:Game mechanics]]

Revision as of 08:22, 26 July 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 permissons of the previous ones.

  • "Uses nothing" (stored in the source code as MONUSE_NOTHING) means the monster cannot use items or doors.
  • "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 the monster can pick up and use items on the floor, including wands. Note that monsters can pick up only items the player has not seen yet.