Difference between revisions of "Item usage"

From CrawlWiki
Jump to: navigation, search
m (fixed link to source code)
m (where is monster ligma)
 
(7 intermediate revisions by 5 users not shown)
Line 1: Line 1:
A monster's '''item usage''' property describes which types of items it can use:
+
{{version028}}
 +
A monster's '''item usage''' property describes which types of items it can use. There are four "levels", and each sequential level includes all the permissons of 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 or doors.
*"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]]s tend to start with [[polearm]]s, for instance; [[Sigmund]] always carries a magical [[scythe]] and often a [[wand]]; [[deep dwarf (monster)|deep dwarves]] may carry potions; [[centaur]]s always have [[bow]]s and may sometimes have [[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 that are on the floor.  Try to keep such monsters away from wands, and especially away from your [[stash]].
+
*"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 the monster can pick up and use items on the floor, including [[wand]]s and certain [[potion]]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]]

Latest revision as of 08:28, 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 sequential 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 and certain potions. Note that monsters can pick up only items the player has not seen yet.