.. _structures.items:
#####
items
#####
.. _structures.items.item_flags:
items.item_flags
================
.. code-block:: xml
Item on ground
Item currently being used in a job
Item owned by hostile
Item in a creature, workshop or container inventory
completely invisible and with no position
Part of a building (including mechanisms, bodies in coffins)
Set on anything that contains or contained items?
Dwarfs dead body or body part
Rotten food
Thread in spider web
Material used in construction
Item encased in ice or obsidian
unknown, unseen
Implies murder - used in fell moods
Item is imported
Item ownwed by trader
Item is owned by a dwarf
Marked for deallocation by DF it seems
Artifact
Forbidden item
unknown, unseen
Designated for dumping
Indicates if item is on fire, Will Set Item On Fire if Set!
Designated for melting, if applicable
Hidden item
Stored in chest/part of well?
transient in unit.used_items update
created by mood/named existing item
melting/boiling/ignite/etc. points
unknown, unseen
created by underground critters?
.. _structures.items.item_flags2:
items.item_flags2
=================
.. code-block:: xml
vehicle with a rider
.. _structures.items.item_magicness_type:
items.item_magicness_type
=========================
.. code-block:: xml
with value of 10 or higher, creatures that look at the item cannot
think negative thoughts
.. _structures.items.item_magicness:
items.item_magicness
====================
.. code-block:: xml
boosts item value by 50*this
1=does not show up in item description or alter item value
.. _structures.items.temperaturest:
items.temperaturest
===================
.. code-block:: xml
seems like a convenient name
.. _structures.items.spatter_common:
items.spatter_common
====================
.. code-block:: xml
1-24=spatter, 25-49=smear, 50-* = coating
does not contaminate tile when washed away
v0.40.13
needed for proper alignment of spatter on gcc
.. _structures.items.spatter:
items.spatter
=============
.. code-block:: xml
.. _structures.items.item_quality:
items.item_quality
==================
.. code-block:: xml
.. _structures.items.slab_engraving_type:
items.slab_engraving_type
=========================
.. code-block:: xml
from the gods?
when a demon assumes identity?
.. _structures.items.item:
items.item
==========
.. code-block:: xml
v0.34.08
v0.34.01
v0.34.01
-1 per 50 frames; then check if needs moving
used to reset countdown; randomly varies
from map_block.walkable
if flags.weight_computed
1e-6
returns an actual material type, never a race
returns an actual material index, never a caste
only if the object is made of a "specific creature mat"
only if the object is made of a "specific creature mat"
only if the object is made of a plant material
v0.40.01
v0.40.01
v0.40.01
1 fire, 2 magma
weapon racks have capacity 5
a statue/figurine of "string goes here"
size_info.size_cur
for putting in containers, building clutter
used to compute quality if !job||!unit
glazed
In item_foodst, requires MEAT or FISH ingredient.
In item_foodst, requires CORPSEPIECE, MEAT or FISH ingredient.
Add item to world.items.other.*
Remove item from world.items.other.*
stored in Animal stockpiles
calls item.tIC2(this)
if false, you throw the entire stack at once
BOX made of cloth
returns item_actual.anon_1
delete on_ground every season when in ANY_AUTO_CLEAN; default
true
adds 1 if it has [METAL_ARMOR_LEVELS] and it's made of an
inorganic mat
also stops fire; used for rain
"a " or "the "
usually just "item"
that is, value of coins
also removes links from the pile
just wipes the fields
for armor user skill encumberance
v0.40.01
.. _structures.items.item_kill_info:
items.item_kill_info
====================
.. code-block:: xml
.. _structures.items.item_history_info:
items.item_history_info
=======================
.. code-block:: xml
.. _structures.items.item_actual:
items.item_actual
=================
.. code-block:: xml
counts up to 806400
v0.34.01
.. _structures.items.item_crafted:
items.item_crafted
==================
.. code-block:: xml
.. _structures.items.item_constructed:
items.item_constructed
======================
.. code-block:: xml
.. _structures.items.body_part_status:
items.body_part_status
======================
.. code-block:: xml
cyan
yellow
red
yellow
red
yellow
brown
seen e.g. on ribs smashed by blunt attack, but quickly disappeared
on zombified head
on zombified head
.. _structures.items.body_layer_status:
items.body_layer_status
=======================
.. code-block:: xml
.. _structures.items.body_component_info:
items.body_component_info
=========================
.. code-block:: xml
1 bit per instance of a numbered body part
0-100%
0-10000
0-10000
0-1000000000
.. _structures.items.body_size_info:
items.body_size_info
====================
.. code-block:: xml
size_cur^0.666
size_base^0.666
(size_cur*10000)^0.333
(size_base*10000)^0.333
.. _structures.items.corpse_material_type:
items.corpse_material_type
==========================
.. code-block:: xml
.. _structures.items.item_body_component:
items.item_body_component
=========================
.. code-block:: xml
-1 n/a, 0 female, 1 male
=unit.enemy.body_part_relsize
=unit.appearance.size_modifier
v0.34.01
v0.34.01
v0.34.01
v0.34.01
v0.34.01, actual offset unknown
?
.. _structures.items.item_corpsest:
items.item_corpsest
===================
.. code-block:: xml
.. _structures.items.item_corpsepiecest:
items.item_corpsepiecest
========================
.. code-block:: xml
.. _structures.items.item_critter:
items.item_critter
==================
.. code-block:: xml
.. _structures.items.item_matstate:
items.item_matstate
===================
.. code-block:: xml
isAutoClean returns false
.. _structures.items.item_liquipowder:
items.item_liquipowder
======================
.. code-block:: xml
.. _structures.items.item_liquid:
items.item_liquid
=================
.. code-block:: xml
.. _structures.items.item_powder:
items.item_powder
=================
.. code-block:: xml
.. _structures.items.item_barst:
items.item_barst
================
.. code-block:: xml
.. _structures.items.item_smallgemst:
items.item_smallgemst
=====================
.. code-block:: xml
.. _structures.items.item_blocksst:
items.item_blocksst
===================
.. code-block:: xml
.. _structures.items.item_roughst:
items.item_roughst
==================
.. code-block:: xml
.. _structures.items.item_boulderst:
items.item_boulderst
====================
.. code-block:: xml
.. _structures.items.item_woodst:
items.item_woodst
=================
.. code-block:: xml
.. _structures.items.item_branchst:
items.item_branchst
===================
.. code-block:: xml
.. _structures.items.item_rockst:
items.item_rockst
=================
.. code-block:: xml
.. _structures.items.item_seedsst:
items.item_seedsst
==================
.. code-block:: xml
.. _structures.items.item_skin_tannedst:
items.item_skin_tannedst
========================
.. code-block:: xml
.. _structures.items.item_meatst:
items.item_meatst
=================
.. code-block:: xml
.. _structures.items.item_plantst:
items.item_plantst
==================
.. code-block:: xml
.. _structures.items.item_plant_growthst:
items.item_plant_growthst
=========================
.. code-block:: xml
.. _structures.items.item_cheesest:
items.item_cheesest
===================
.. code-block:: xml
.. _structures.items.item_globst:
items.item_globst
=================
.. code-block:: xml
.. _structures.items.item_remainsst:
items.item_remainsst
====================
.. code-block:: xml
.. _structures.items.item_fishst:
items.item_fishst
=================
.. code-block:: xml
.. _structures.items.item_fish_rawst:
items.item_fish_rawst
=====================
.. code-block:: xml
.. _structures.items.item_foodst:
items.item_foodst
=================
.. code-block:: xml
.. _structures.items.item_verminst:
items.item_verminst
===================
.. code-block:: xml
.. _structures.items.item_petst:
items.item_petst
================
.. code-block:: xml
.. _structures.items.item_drinkst:
items.item_drinkst
==================
.. code-block:: xml
.. _structures.items.item_powder_miscst:
items.item_powder_miscst
========================
.. code-block:: xml
.. _structures.items.item_liquid_miscst:
items.item_liquid_miscst
========================
.. code-block:: xml
.. _structures.items.item_threadst:
items.item_threadst
===================
.. code-block:: xml
.. _structures.items.item_eggst:
items.item_eggst
================
.. code-block:: xml
allows the incubation_counter to be checked/incremented
increments when fertile in unforbidden nestbox, hatch at >= 100800
(3 months)
hatchlings will have this civ_id
hatchlings will have this population_id
hatchlings will have this unit.unk_c0 value
v0.40.01
object owned by egg item
v0.40.01
object owned by egg item
-1 if no father genes
v0.40.01
used primarily for bit_flag:tame
used primarily for bit_flag:roaming_wilderness_population_source
not normally used, most/all do not stick
v0.42.01
.. _structures.items.item_doorst:
items.item_doorst
=================
.. code-block:: xml
.. _structures.items.item_floodgatest:
items.item_floodgatest
======================
.. code-block:: xml
.. _structures.items.item_bedst:
items.item_bedst
================
.. code-block:: xml
.. _structures.items.item_chairst:
items.item_chairst
==================
.. code-block:: xml
.. _structures.items.item_chainst:
items.item_chainst
==================
.. code-block:: xml
.. _structures.items.item_flaskst:
items.item_flaskst
==================
.. code-block:: xml
.. _structures.items.item_gobletst:
items.item_gobletst
===================
.. code-block:: xml
.. _structures.items.item_windowst:
items.item_windowst
===================
.. code-block:: xml
.. _structures.items.item_cagest:
items.item_cagest
=================
.. code-block:: xml
.. _structures.items.item_bucketst:
items.item_bucketst
===================
.. code-block:: xml
.. _structures.items.item_animaltrapst:
items.item_animaltrapst
=======================
.. code-block:: xml
.. _structures.items.item_tablest:
items.item_tablest
==================
.. code-block:: xml
.. _structures.items.item_coffinst:
items.item_coffinst
===================
.. code-block:: xml
.. _structures.items.item_boxst:
items.item_boxst
================
.. code-block:: xml
.. _structures.items.item_armorstandst:
items.item_armorstandst
=======================
.. code-block:: xml
.. _structures.items.item_weaponrackst:
items.item_weaponrackst
=======================
.. code-block:: xml
.. _structures.items.item_cabinetst:
items.item_cabinetst
====================
.. code-block:: xml
.. _structures.items.item_amuletst:
items.item_amuletst
===================
.. code-block:: xml
.. _structures.items.item_scepterst:
items.item_scepterst
====================
.. code-block:: xml
.. _structures.items.item_crownst:
items.item_crownst
==================
.. code-block:: xml
.. _structures.items.item_ringst:
items.item_ringst
=================
.. code-block:: xml
.. _structures.items.item_earringst:
items.item_earringst
====================
.. code-block:: xml
.. _structures.items.item_braceletst:
items.item_braceletst
=====================
.. code-block:: xml
.. _structures.items.item_anvilst:
items.item_anvilst
==================
.. code-block:: xml
.. _structures.items.item_backpackst:
items.item_backpackst
=====================
.. code-block:: xml
.. _structures.items.item_quiverst:
items.item_quiverst
===================
.. code-block:: xml
.. _structures.items.item_catapultpartsst:
items.item_catapultpartsst
==========================
.. code-block:: xml
.. _structures.items.item_ballistapartsst:
items.item_ballistapartsst
==========================
.. code-block:: xml
.. _structures.items.item_trappartsst:
items.item_trappartsst
======================
.. code-block:: xml
.. _structures.items.item_pipe_sectionst:
items.item_pipe_sectionst
=========================
.. code-block:: xml
.. _structures.items.item_hatch_coverst:
items.item_hatch_coverst
========================
.. code-block:: xml
.. _structures.items.item_gratest:
items.item_gratest
==================
.. code-block:: xml
.. _structures.items.item_quernst:
items.item_quernst
==================
.. code-block:: xml
.. _structures.items.item_millstonest:
items.item_millstonest
======================
.. code-block:: xml
.. _structures.items.item_splintst:
items.item_splintst
===================
.. code-block:: xml
.. _structures.items.item_crutchst:
items.item_crutchst
===================
.. code-block:: xml
.. _structures.items.item_traction_benchst:
items.item_traction_benchst
===========================
.. code-block:: xml
.. _structures.items.item_instrumentst:
items.item_instrumentst
=======================
.. code-block:: xml
.. _structures.items.item_toyst:
items.item_toyst
================
.. code-block:: xml
.. _structures.items.item_armorst:
items.item_armorst
==================
.. code-block:: xml
.. _structures.items.item_shoesst:
items.item_shoesst
==================
.. code-block:: xml
.. _structures.items.item_shieldst:
items.item_shieldst
===================
.. code-block:: xml
.. _structures.items.item_helmst:
items.item_helmst
=================
.. code-block:: xml
.. _structures.items.item_glovesst:
items.item_glovesst
===================
.. code-block:: xml
1 right, 2 left
.. _structures.items.item_pantsst:
items.item_pantsst
==================
.. code-block:: xml
.. _structures.items.item_siegeammost:
items.item_siegeammost
======================
.. code-block:: xml
v0.40.15
.. _structures.items.item_weaponst:
items.item_weaponst
===================
.. code-block:: xml
.. _structures.items.item_ammost:
items.item_ammost
=================
.. code-block:: xml
.. _structures.items.item_trapcompst:
items.item_trapcompst
=====================
.. code-block:: xml
.. _structures.items.item_toolst:
items.item_toolst
=================
.. code-block:: xml
v0.34.08
.. _structures.items.item_stockpile_ref:
items.item_stockpile_ref
========================
.. code-block:: xml
.. _structures.items.item_barrelst:
items.item_barrelst
===================
.. code-block:: xml
.. _structures.items.item_binst:
items.item_binst
================
.. code-block:: xml
.. _structures.items.item_gemst:
items.item_gemst
================
.. code-block:: xml
.. _structures.items.item_statuest:
items.item_statuest
===================
.. code-block:: xml
.. _structures.items.item_figurinest:
items.item_figurinest
=====================
.. code-block:: xml
.. _structures.items.item_slabst:
items.item_slabst
=================
.. code-block:: xml
or interaction id for secrets?
.. _structures.items.item_orthopedic_castst:
items.item_orthopedic_castst
============================
.. code-block:: xml
.. _structures.items.item_coinst:
items.item_coinst
=================
.. code-block:: xml
.. _structures.items.item_totemst:
items.item_totemst
==================
.. code-block:: xml
.. _structures.items.item_clothst:
items.item_clothst
==================
.. code-block:: xml
.. _structures.items.item_bookst:
items.item_bookst
=================
.. code-block:: xml
.. _structures.items.item_ballistaarrowheadst:
items.item_ballistaarrowheadst
==============================
.. code-block:: xml
v0.40.15
.. _structures.items.item_sheetst:
items.item_sheetst
==================
.. code-block:: xml