Difference between revisions of "Item usage"
(fill in) |
m (where is monster ligma) |
||
(10 intermediate revisions by 7 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 | + | *"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. |
− | *" | + | *"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. | |
− | |||
[[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.