Item token: различия между версиями

Материал из Dwarf Fortress Wiki
Перейти к навигацииПерейти к поиску
(Новая страница: «{{заготовка}} Item tokens are the first part in defining the target item in reactions, containing the item type and subtype. They determine the most basi…»)
 
Строка 12: Строка 12:
! # !! Токен !! Подтип !! Описание
! # !! Токен !! Подтип !! Описание
|-
|-
| 0 || BAR || NONE || [[Bar]]s, such as [[metal]], [[fuel]], or [[soap]].
| 0 || BAR || NONE || [[Bar|Слитки]], такие как [[metal|металлы]], [[fuel|топливо]], или [[soap|мыло]].
|-
|-
| 1 || SMALLGEM || NONE || Cut [[gem]]stones usable in [[jeweler's workshop]]
| 1 || SMALLGEM || NONE || Ограненные [[gem|драгоценные камни]], используемые в [[jeweler's workshop|мастерской ювелира]].
|-
|-
| 2 || BLOCKS || NONE || [[Block]]s of any kind.
| 2 || BLOCKS || NONE || [[Block|Блоки]] любого типа.
|-
|-
| 3 || ROUGH || NONE || Rough [[gem]]stones or raw [[glass]].
| 3 || ROUGH || NONE || Необработанные [[gem|драгоценные камни]] или [[glass|стекло]].
|-
|-
| 4 || BOULDER / STONE || NONE || Raw mined [[stone]].
| 4 || BOULDER / STONE || NONE || Добытые [[stone|камни]].
|-
|-
| 5 || WOOD || NONE || Wooden [[log]]s.
| 5 || WOOD || NONE || [[log|Дерево]].
|-
|-
| 6 || DOOR || NONE || [[Door]]s.
| 6 || DOOR || NONE || [[Door|Двери]].
|-
|-
| 7 || FLOODGATE || NONE || [[Floodgate]]s.
| 7 || FLOODGATE || NONE || [[Floodgate|Водяные шлюзы]].
|-
|-
| 8 || BED || NONE || [[Bed]]s.
| 8 || BED || NONE || [[Bed|Кровати]].
|-
|-
| 9 || CHAIR || NONE || [[Chair]]s and thrones.
| 9 || CHAIR || NONE || [[Chair|Стулья и троны]].
|-
|-
| 10 || CHAIN || NONE || [[Chain]]s and [[rope]]s.
| 10 || CHAIN || NONE || [[Chain|Цепи]] и [[rope|веревки]].
|-
|-
| 11 || FLASK || NONE || [[Flask]]s.
| 11 || FLASK || NONE || [[Flask|Фляжки]].
|-
|-
| 12 || GOBLET || NONE || [[Goblet]]s.
| 12 || GOBLET || NONE || [[Goblet|Украшения]].
|-
|-
| 13 || INSTRUMENT || item_instrument.txt || Musical [[instrument]]s.
| 13 || INSTRUMENT || item_instrument.txt || [[instrument|Музыкальные инструменты]].
|-
|-
| 14 || TOY || item_toy.txt || [[Toy]]s.
| 14 || TOY || item_toy.txt || [[Toy|Игрушки]].
|-
|-
| 15 || WINDOW || NONE || Glass [[window]]s.
| 15 || WINDOW || NONE || [[window|Чистое стекло]].
|-
|-
| 16 || CAGE || NONE || [[Cage]]s.
| 16 || CAGE || NONE || [[Cage|Клетки]].
|-
|-
| 17 || BARREL || NONE || [[Barrel]]s.
| 17 || BARREL || NONE || [[Barrel|Бочки]].
|-
|-
| 18 || BUCKET || NONE || [[Bucket]]s.
| 18 || BUCKET || NONE || [[Bucket|Ведра]].
|-
|-
| 19 || ANIMALTRAP || NONE || [[Animal trap]]s.
| 19 || ANIMALTRAP || NONE || [[Animal trap|Ловушки для животных]].
|-
|-
| 20 || TABLE || NONE || [[Table]]s.
| 20 || TABLE || NONE || [[Table|Столы]].
|-
|-
| 21 || COFFIN || NONE || [[Coffin]]s.
| 21 || COFFIN || NONE || [[Coffin|Гробы]].
|-
|-
| 22 || STATUE || NONE || [[Statue]]s.
| 22 || STATUE || NONE || [[Statue|Статуи]].
|-
|-
| 23 || CORPSE || NONE || [[Corpse]]s. Does not have a material that can be specified for reactions, but GET_MATERIAL_FROM_REAGENT will return the "dominant" material.
| 23 || CORPSE || NONE || [[Corpse|Трупы]]. Не имеет материала, который может участвовать в реакции, но GET_MATERIAL_FROM_REAGENT will return the "dominant" material.
|-
|-
| 24 || WEAPON || item_weapon.txt || [[Weapon]]s.
| 24 || WEAPON || item_weapon.txt || [[Weapon|Оружие]].
|-
|-
| 25 || ARMOR || item_armor.txt || [[Armor]] and clothing worn on the upper body.
| 25 || ARMOR || item_armor.txt || [[Armor|Броня]] и одежда, одеваемая на верхнюю часть тела.
|-
|-
| 26 || SHOES || item_shoes.txt || Armor and clothing worn on the feet.
| 26 || SHOES || item_shoes.txt || Ботинки.
|-
|-
| 27 || SHIELD || item_shield.txt || [[Shield]]s and bucklers.
| 27 || SHIELD || item_shield.txt || [[Shield|Щиты]].
|-
|-
| 28 || HELM || item_helm.txt || Armor and clothing worn on the head.
| 28 || HELM || item_helm.txt || Шлемы.
|-
|-
| 29 || GLOVES || item_gloves.txt || Armor and clothing worn on the hands.
| 29 || GLOVES || item_gloves.txt || Рукавицы.
|-
|-
| 30 || BOX || NONE || [[Container|Chest]]s (wood), coffers (stone), boxes (glass, default), and bags (cloth or leather).
| 30 || BOX || NONE || [[Container|Сундуки]] (деревянные), ящики (каменные), коробки(стеклянные, обычные), и сумки (тканая и кожаная).
|-
|-
| 31 || BIN || NONE || [[Bin]]s.
| 31 || BIN || NONE || [[Bin|Корзины]].
|-
|-
| 32 || ARMORSTAND || NONE || [[Armor stand]]s.
| 32 || ARMORSTAND || NONE || [[Armor stand|Стойки для брони]].
|-
|-
| 33 || WEAPONRACK || NONE || [[Weapon rack]]s.
| 33 || WEAPONRACK || NONE || [[Weapon rack|Оружейные стойки]].
|-
|-
| 34 || CABINET || NONE || [[Cabinet]]s.
| 34 || CABINET || NONE || [[Cabinet|Шкаф]].
|-
|-
| 35 || FIGURINE || NONE || [[Figurine]]s.
| 35 || FIGURINE || NONE || [[Figurine]]s.
|-
|-
| 36 || AMULET || NONE || [[Jewelry|Amulet]]s.
| 36 || AMULET || NONE || [[Jewelry|Амулеты]].
|-
|-
| 37 || SCEPTER || NONE || [[Finished_goods#Crafts|Scepter]]s.
| 37 || SCEPTER || NONE || [[Finished_goods#Crafts|Скипетры]].
|-
|-
| 38 || AMMO || item_ammo.txt || [[Ammunition]] for hand-held weapons.
| 38 || AMMO || item_ammo.txt || [[Ammunition|Боеприпасы]] для ручного оружия.
|-
|-
| 39 || CROWN || NONE || [[Jewelry|Crown]]s.
| 39 || CROWN || NONE || [[Jewelry|Crown]]s.

Версия от 17:32, 30 октября 2013

Announce agreement icon.png Данная статья помечена как не оконченная.
Вы можете прочитать эту статью на английском или помочь проекту её переводом.

Item tokens are the first part in defining the target item in reactions, containing the item type and subtype. They determine the most basic form of item, and made more specific by material tokens. Most item tokens do not have a subtype; for these, either NO_SUBTYPE or NONE must be specified.

Nearly all items are made of a material, though several types expect a creature ID and caste ID (e.g. ANT:SOLDIER) instead. This currently does not work correctlyBug:4973.

Actually defining an item in item raws is done with item definition tokens.

Стандартные токены предметов

# Токен Подтип Описание
0 BAR NONE Слитки, такие как металлы, топливо, или мыло.
1 SMALLGEM NONE Ограненные драгоценные камни, используемые в мастерской ювелира.
2 BLOCKS NONE Блоки любого типа.
3 ROUGH NONE Необработанные драгоценные камни или стекло.
4 BOULDER / STONE NONE Добытые камни.
5 WOOD NONE Дерево.
6 DOOR NONE Двери.
7 FLOODGATE NONE Водяные шлюзы.
8 BED NONE Кровати.
9 CHAIR NONE Стулья и троны.
10 CHAIN NONE Цепи и веревки.
11 FLASK NONE Фляжки.
12 GOBLET NONE Украшения.
13 INSTRUMENT item_instrument.txt Музыкальные инструменты.
14 TOY item_toy.txt Игрушки.
15 WINDOW NONE Чистое стекло.
16 CAGE NONE Клетки.
17 BARREL NONE Бочки.
18 BUCKET NONE Ведра.
19 ANIMALTRAP NONE Ловушки для животных.
20 TABLE NONE Столы.
21 COFFIN NONE Гробы.
22 STATUE NONE Статуи.
23 CORPSE NONE Трупы. Не имеет материала, который может участвовать в реакции, но GET_MATERIAL_FROM_REAGENT will return the "dominant" material.
24 WEAPON item_weapon.txt Оружие.
25 ARMOR item_armor.txt Броня и одежда, одеваемая на верхнюю часть тела.
26 SHOES item_shoes.txt Ботинки.
27 SHIELD item_shield.txt Щиты.
28 HELM item_helm.txt Шлемы.
29 GLOVES item_gloves.txt Рукавицы.
30 BOX NONE Сундуки (деревянные), ящики (каменные), коробки(стеклянные, обычные), и сумки (тканая и кожаная).
31 BIN NONE Корзины.
32 ARMORSTAND NONE Стойки для брони.
33 WEAPONRACK NONE Оружейные стойки.
34 CABINET NONE Шкаф.
35 FIGURINE NONE Figurines.
36 AMULET NONE Амулеты.
37 SCEPTER NONE Скипетры.
38 AMMO item_ammo.txt Боеприпасы для ручного оружия.
39 CROWN NONE Crowns.
40 RING NONE Rings.
41 EARRING NONE Earrings.
42 BRACELET NONE Bracelets.
43 GEM NONE Large gems.
44 ANVIL NONE Anvils.
45 CORPSEPIECE NONE Body parts. Does not have a material that can be specified for reactions, but GET_MATERIAL_FROM_REAGENT will return the "dominant" material.
46 REMAINS NONE Dead vermin bodies. Material is CREATURE_ID:CASTE.
47 MEAT NONE Butchered meat.
48 FISH NONE Prepared fish. Material is CREATURE_ID:CASTE.
49 FISH_RAW NONE Unprepared fish. Material is CREATURE_ID:CASTE.
50 VERMIN NONE Live vermin. Material is CREATURE_ID:CASTE.
51 PET NONE Tame vermin. Material is CREATURE_ID:CASTE.
52 SEEDS NONE Seeds from plants.
53 PLANT NONE Plants.
54 SKIN_TANNED NONE Leather.
55 LEAVES NONE Leaves, usually from quarry bushes.
56 THREAD NONE Thread gathered from webs or made at the farmer's workshop.
57 CLOTH NONE Cloth made at the loom.
58 TOTEM NONE Skull totems.
59 PANTS item_pants.txt Armor and clothing worn on the legs.
60 BACKPACK NONE Backpacks.
61 QUIVER NONE Quivers.
62 CATAPULTPARTS NONE Catapult parts.
63 BALLISTAPARTS NONE Ballista parts.
64 SIEGEAMMO item_siegeammo.txt Siege engine ammunition.
65 BALLISTAARROWHEAD NONE Ballista arrow heads.
66 TRAPPARTS NONE Mechanisms.
67 TRAPCOMP item_trapcomp.txt Trap components.
68 DRINK NONE Alcoholic drinks.
69 POWDER_MISC NONE Powders such as flour, gypsum plaster, dye, or sand.
70 CHEESE NONE Pieces of cheese.
71 FOOD item_food.txt Prepared meals.
72 LIQUID_MISC NONE Liquids such as water, lye, and extracts.
73 COIN NONE Coins.
74 GLOB NONE Fat, tallow, pastes/pressed objects, and small bits of molten rock/metal.
75 ROCK NONE Small rocks (usually sharpened and/or thrown in adventurer mode).
76 PIPE_SECTION NONE Pipe sections.
77 HATCH_COVER NONE Hatch covers.
78 GRATE NONE Grates.
79 QUERN NONE Querns.
80 MILLSTONE NONE Millstones.
81 SPLINT NONE Splints.
82 CRUTCH NONE Crutches.
83 TRACTION_BENCH NONE Traction benches.
84 ORTHOPEDIC_CAST NONE Casts.
85 TOOL item_tool.txt Tools.
86 SLAB NONE Slabs.
87 EGG NONE Eggs. Material is CREATURE_ID:CASTE.
88 BOOK NONE Books.

Limited/Special Use Item Tokens

In several specific locations, the values below can be substituted for the item type and subtype (and be followed directly by the material token).

Token Subtype Valid Uses Description
ANY_CRAFT NONE Reaction [REAGENT] Matches FIGURINE, AMULET, SCEPTER, CROWN, RING, EARRING, or BRACELET.
ANY_RAW_MATERIAL NONE Reaction [REAGENT] Matches POWDER_MISC, BAR, BOULDER, or GLOB.
CRAFTS NONE Reaction [PRODUCT] Produces 1-3 items of type FIGURINE, AMULET, SCEPTER, CROWN, RING, EARRING, or BRACELET.

Related Tokens

These tokens are not Item Tokens at all, but can take the place of them in some circumstances.

Token Subtype Valid Uses Description
METAL_ORE Metal Reaction [REAGENT] Matches a BOULDER item made of a material having [METAL_ORE:<Metal>:###].

See Also