Body token: различия между версиями
Kvant85 (обсуждение | вклад) Нет описания правки |
Aklad (обсуждение | вклад) м (автоматический викификатор) |
||
Строка 1: | Строка 1: | ||
{{заготовка}} | {{заготовка}} | ||
'''Body tokens''' | '''Body tokens''' — эта одна из фундаментальных частей существа, определяющая его телесную структуру. Body tokens можно разделить на две основные группы: '''BODY''' — шаблон тела (body template) и '''BP''' — части тела (body parts). | ||
Существо использует [[creature token#B|токен BODY]] для перечисления всех входящих в него шаблонов тела. Каждая часть, указанная в шаблоне затем применяется к существу. Другими | Существо использует [[creature token#B|токен BODY]] для перечисления всех входящих в него шаблонов тела. Каждая часть, указанная в шаблоне затем применяется к существу. Другими совами — существо получает те части тела, из которого состоит шаблон тела. Каждый шаблон содержит в себе набор частей тела. Каждая часть тела ссылается на другую часть тела, с которой она соединяется. | ||
Части тела могут соединяться непосредственно к другой части тела, либо к какой-нибудь части тела из определённой категории. Эти соединения обрабатываются токенами '''CON''' и '''CONTYPE''' соответственно. | Части тела могут соединяться непосредственно к другой части тела, либо к какой-нибудь части тела из определённой категории. Эти соединения обрабатываются токенами '''CON''' и '''CONTYPE''' соответственно. | ||
Строка 17: | Строка 17: | ||
|- | |- | ||
| APERTURE | | APERTURE | ||
| | | | ||
| Помечает часть тела как отверстие в теле. Эта часть тела не может быть уничтожена кроме случая уничтожения части тела, к которой эта часть тела привязывается. | | Помечает часть тела как отверстие в теле. Эта часть тела не может быть уничтожена кроме случая уничтожения части тела, к которой эта часть тела привязывается. | ||
Строка 23: | Строка 23: | ||
| BP | | BP | ||
| | | | ||
*ID | * ID | ||
*name | * name | ||
*pluralized name | * pluralized name | ||
| | | «STP stands for „Standard Plural“ and it just adds an 's' to the singular word to save some typing. If you don’t add something in that slot, the body part won’t even load.» --Toady. Note that this can cause confusing issues when porting from 40d to 2010. Make sure you add your pluralizations! | ||
|- | |- | ||
| BREATHE | | BREATHE | ||
| | | | ||
| Эта часть тела используется для дыхания. Если все части тела, помеченные этим токеном, уничтожить, то существо будет испытывать удушье. | | Эта часть тела используется для дыхания. Если все части тела, помеченные этим токеном, уничтожить, то существо будет испытывать удушье. | ||
|- | |- | ||
| CON | | CON | ||
| | | | ||
*value | * value | ||
| Соединяет эту часть тела с другой частью тела. | | Соединяет эту часть тела с другой частью тела. | ||
|- | |- | ||
| CON_CAT | | CON_CAT | ||
| | | | ||
*value | * value | ||
| Соединяет часть тела со всеми другими частями, имеющими специальную категорию, определённую токеном '''CATEGORY'''. | | Соединяет часть тела со всеми другими частями, имеющими специальную категорию, определённую токеном '''CATEGORY'''. | ||
|- | |- | ||
| CONTYPE | | CONTYPE | ||
| | | | ||
*value | * value | ||
| Соединяет часть тела с другой, имеющий особый токен: '''UPPERBODY''', '''LOWERBODY''', '''HEAD''', '''GRASP''', или '''STANCE'''. | | Соединяет часть тела с другой, имеющий особый токен: '''UPPERBODY''', '''LOWERBODY''', '''HEAD''', '''GRASP''', или '''STANCE'''. | ||
|- | |- | ||
| CIRCULATION | | CIRCULATION | ||
| | | | ||
| Часть тела, отвечающая за циркулирование крови. | | Часть тела, отвечающая за циркулирование крови. | ||
|- | |- | ||
| CONNECTOR | | CONNECTOR | ||
| | | | ||
| Часть тела, использующая для соединения между другими частями. Используется, например, шеей нижним отделом позвоночника. | | Часть тела, использующая для соединения между другими частями. Используется, например, шеей нижним отделом позвоночника. | ||
|- | |- | ||
| CATEGORY | | CATEGORY | ||
| | | | ||
*ID | * ID | ||
| Соотносит часть тела с определяемой создателем категорией. Используется токеном '''CON_CAT''' для соединения частей тела из одной категории. | | Соотносит часть тела с определяемой создателем категорией. Используется токеном '''CON_CAT''' для соединения частей тела из одной категории. | ||
|- | |- | ||
| DEFAULT_RELSIZE | | DEFAULT_RELSIZE | ||
| | | | ||
*Size | * Size | ||
| This command establishes the relative size of body parts within a creature. | | This command establishes the relative size of body parts within a creature. The numbers have no absolute meaning or units. | ||
|- | |- | ||
| DIGIT | | DIGIT | ||
| | | | ||
| Defines part as digit. | | Defines part as digit. | ||
|- | |- | ||
| EMBEDDED | | EMBEDDED | ||
| | | | ||
| Body part with this tag is on the surface of parent body part. ie: eye and mouth on head. It can be gouged. | | Body part with this tag is on the surface of parent body part. ie: eye and mouth on head. It can be gouged. | ||
|- | |- | ||
| FLIER | | FLIER | ||
| | | | ||
| Flags the body part as being need for flight. | | Flags the body part as being need for flight. Damage to a certain number of FLIER body parts will prevent the creature from flying. Note that a creature can only fly if the creature has the FLIER tag in its creature definition, and that a flying creature does not actually need any FLIER body parts. This tags only purpose is to identify body parts which will cause a creature to '''lose''' the ability to fly, if they are damaged. | ||
|- | |- | ||
| GRASP | | GRASP | ||
| | | | ||
| Creature can wield a picked-up weapon with body part, and can use the part to initiate a wider variety of wrestling moves. When creatures are spawned with a weapon and shield, one GRASP part will hold a weapon while '''all others''' will hold shields. NOTE: This tag cannot be applied to body parts with the [INTERNAL] token. | | Creature can wield a picked-up weapon with body part, and can use the part to initiate a wider variety of wrestling moves. When creatures are spawned with a weapon and shield, one GRASP part will hold a weapon while '''all others''' will hold shields. NOTE: This tag cannot be applied to body parts with the [INTERNAL] token. | ||
|- | |- | ||
| GUTS | | GUTS | ||
| | | | ||
| Body parts marked with this tag make the creature nauseous and vomit when hit. | | Body parts marked with this tag make the creature nauseous and vomit when hit. | ||
|- | |- | ||
| HEAD | | HEAD | ||
| | | | ||
| Flags the body part as being able to wear head clothing like hats, helms, etc. If all heads are chopped off, the creature dies. Multiple heads '''are''' | | Flags the body part as being able to wear head clothing like hats, helms, etc. If all heads are chopped off, the creature dies. Multiple heads '''are''' redundant — for example, [[hydra]]s can survive with several missing heads. | ||
|- | |- | ||
| HEAR | | HEAR | ||
| | | | ||
| Body part is used to hear. No known effects. | | Body part is used to hear. No known effects. | ||
|- | |- | ||
| INDIVIDUAL_NAME | | INDIVIDUAL_NAME | ||
| | | | ||
*name | * name | ||
*plural | * plural | ||
| Adding individual names tells the game what to call each individual part in a NUMBERed bodypart. | | Adding individual names tells the game what to call each individual part in a NUMBERed bodypart. This command replaces «first upper front tooth» for example. | ||
|- | |- | ||
Строка 122: | Строка 122: | ||
|- | |- | ||
| JOINT | | JOINT | ||
| | | | ||
| Body part is a joint. If the limb | | Body part is a joint. If the limb it’s in is grabbed in a wrestling hold, it can be broken with bending force. This disables the parent limb. | ||
|- | |- | ||
| LIMB | | LIMB | ||
| | | | ||
| Body part is a limb. | | Body part is a limb. It can be used to initiate certain types of wrestling moves. If it is located between an UPPERBODY part and a GRASP body part, it is eligible to be covered by certain types of armor (body armors and gauntlets). If it is located between a LOWERBODY part and a STANCE body part, it is eligible to be covered by other types of armor (Leg armors like pants, etc; trailing body armors like mail shirts and robes; and high boots). | ||
|- | |- | ||
| LOWERBODY | | LOWERBODY | ||
| | | | ||
| Flags the body part as being able to wear lower body clothing like skirts, pants, etc. | | Flags the body part as being able to wear lower body clothing like skirts, pants, etc. If a lower body is chopped off, the creature dies. Multiple lowerbody parts aren’t redundant. | ||
|- | |- | ||
| LEFT | | LEFT | ||
| | | | ||
| Marks body part as on the left side of the body and vulnerable to attacks from the left. Used in conjunction with tags in the b_detail_plan_default raw. | | Marks body part as on the left side of the body and vulnerable to attacks from the left. Used in conjunction with tags in the b_detail_plan_default raw. | ||
|- | |- | ||
| MOUTH | | MOUTH | ||
| | | | ||
| Defines part as mouth. | | Defines part as mouth. | ||
|- | |- | ||
| NUMBER | | NUMBER | ||
| | | | ||
*value | * value | ||
| The number lets you stack identical body parts. | | The number lets you stack identical body parts. These can be individually damaged by wounds, but you don’t have to define them explicitly one by one. If you don’t give them individual names (see teeth) they’ll be preceded by ordinal numbers (first, second, etc). In practice, though, they cannot be individually damaged — if you knock out one tooth, the entire group will be knocked out at once (and will be scattered across the area). | ||
|- | |- | ||
| NERVOUS | | NERVOUS | ||
| | | | ||
| Body part is necessary for motor function. Damage will impair movement and also disallow creature from sparring in Fortress mode. | | Body part is necessary for motor function. Damage will impair movement and also disallow creature from sparring in Fortress mode. | ||
|- | |- | ||
| RIGHT | | RIGHT | ||
| | | | ||
| Marks body part as on the right side of the body and vulnerable to attacks from the right. Used in conjunction with tags in the b_detail_plan_default raw. | | Marks body part as on the right side of the body and vulnerable to attacks from the right. Used in conjunction with tags in the b_detail_plan_default raw. | ||
|- | |- | ||
| SKELETON | | SKELETON | ||
| | | | ||
| Body part is part of the | | Body part is part of the creature’s skeleton. | ||
|- | |- | ||
| STANCE | | STANCE | ||
| | | | ||
| Allows the creature to stand. Damage or loss of these body parts will cause creature to fall over. | | Allows the creature to stand. Damage or loss of these body parts will cause creature to fall over. | ||
|- | |- | ||
| SIGHT | | SIGHT | ||
| | | | ||
| Body part is used to see with. | | Body part is used to see with. If the creature has no SIGHT body parts, or if all its sight body parts are damaged or destroyed, it can’t see unless it has the EXTRAVISION tag in its creature def. | ||
|- | |- | ||
| SMELL | | SMELL | ||
| | | | ||
| Body part is used to smell. No known function. (could possibly control reactions to miasma in fortress mode?) | | Body part is used to smell. No known function. (could possibly control reactions to miasma in fortress mode?) | ||
|- | |- | ||
| SMALL | | SMALL | ||
| | | | ||
| "SMALL means that the part | | "SMALL means that the part isn’t displayed as part of the overall displayed body part lists. They can’t be splinted. They are more often targeted for torture (although those situations might not occur anymore). They are removed in skeletons if they aren’t specifically skeletons/joints/digits/apertures. They are more easily lost in world gen duels. They are the only gougable/pinchable parts. SMALL is an old tag, so it has accumulated some weird functions which’ll get split off over time. " --Toady | ||
|- | |- | ||
| SOCKET | | SOCKET | ||
| | | | ||
| Allows the body part to be easily knocked out. Used on teeth. | | Allows the body part to be easily knocked out. Used on teeth. | ||
|- | |- | ||
| THROAT | | THROAT | ||
| | | | ||
| Body part can be strangled. | | Body part can be strangled. | ||
|- | |- | ||
| THOUGHT | | THOUGHT | ||
| | | | ||
| Most creatures die if all bodyparts with this tag have sustained damage to a FUNCTIONAL tissue or been outright destroyed (chopped off). | | Most creatures die if all bodyparts with this tag have sustained damage to a FUNCTIONAL tissue or been outright destroyed (chopped off). Creatures will not die if they have NO_THOUGHT_CENTER_FOR_MOVEMENT (and/or NOTHOUGHT?) | ||
|- | |- | ||
| TOTEMABLE | | TOTEMABLE | ||
| | | | ||
| Makes the body part makeable into totems at a | | Makes the body part makeable into totems at a craftsdwarf’s workshop. | ||
|- | |- | ||
| UPPERBODY | | UPPERBODY | ||
| | | | ||
| Flags the body part as being able to wear upper body clothing like coats, breastplates etc. | | Flags the body part as being able to wear upper body clothing like coats, breastplates etc. If an upper body is chopped off, the creature dies. Multiple upperbody parts aren’t redundant. All default creatures with bodies have the upperbody as the root of the body tree, making it impossible to chop off. | ||
|- | |- | ||
| UNDER_PRESSURE | | UNDER_PRESSURE | ||
| | | | ||
| Makes the body part pop out of edge attack wounds. Used on guts. Body part shows up as | | Makes the body part pop out of edge attack wounds. Used on guts. Body part shows up as «~» when spilled/popped out. | ||
|- | |- | ||
| VERMIN_BUTCHER_ITEM | | VERMIN_BUTCHER_ITEM | ||
| | | | ||
| Allows the item to be obtained from butchered or rotted vermin. Used with [[shell]]s. | | Allows the item to be obtained from butchered or rotted vermin. Used with [[shell]]s. | ||
Версия от 08:10, 22 июня 2015
Данная статья помечена как не оконченная. Вы можете прочитать эту статью на английском или помочь проекту её переводом. |
Body tokens — эта одна из фундаментальных частей существа, определяющая его телесную структуру. Body tokens можно разделить на две основные группы: BODY — шаблон тела (body template) и BP — части тела (body parts).
Существо использует токен BODY для перечисления всех входящих в него шаблонов тела. Каждая часть, указанная в шаблоне затем применяется к существу. Другими совами — существо получает те части тела, из которого состоит шаблон тела. Каждый шаблон содержит в себе набор частей тела. Каждая часть тела ссылается на другую часть тела, с которой она соединяется.
Части тела могут соединяться непосредственно к другой части тела, либо к какой-нибудь части тела из определённой категории. Эти соединения обрабатываются токенами CON и CONTYPE соответственно.
Части тела могут быть переименованы с помощью bodygloss, который позволяет использовать существующий шаблон вместо того, чтобы определять аналогичный шаблон именами изменяющихся частей тела.
Токен | Аргументы | Описание |
---|---|---|
APERTURE | Помечает часть тела как отверстие в теле. Эта часть тела не может быть уничтожена кроме случая уничтожения части тела, к которой эта часть тела привязывается. | |
BP |
|
«STP stands for „Standard Plural“ and it just adds an 's' to the singular word to save some typing. If you don’t add something in that slot, the body part won’t even load.» --Toady. Note that this can cause confusing issues when porting from 40d to 2010. Make sure you add your pluralizations! |
BREATHE | Эта часть тела используется для дыхания. Если все части тела, помеченные этим токеном, уничтожить, то существо будет испытывать удушье. | |
CON |
|
Соединяет эту часть тела с другой частью тела. |
CON_CAT |
|
Соединяет часть тела со всеми другими частями, имеющими специальную категорию, определённую токеном CATEGORY. |
CONTYPE |
|
Соединяет часть тела с другой, имеющий особый токен: UPPERBODY, LOWERBODY, HEAD, GRASP, или STANCE. |
CIRCULATION | Часть тела, отвечающая за циркулирование крови. | |
CONNECTOR | Часть тела, использующая для соединения между другими частями. Используется, например, шеей нижним отделом позвоночника. | |
CATEGORY |
|
Соотносит часть тела с определяемой создателем категорией. Используется токеном CON_CAT для соединения частей тела из одной категории. |
DEFAULT_RELSIZE |
|
This command establishes the relative size of body parts within a creature. The numbers have no absolute meaning or units. |
DIGIT | Defines part as digit. | |
EMBEDDED | Body part with this tag is on the surface of parent body part. ie: eye and mouth on head. It can be gouged. | |
FLIER | Flags the body part as being need for flight. Damage to a certain number of FLIER body parts will prevent the creature from flying. Note that a creature can only fly if the creature has the FLIER tag in its creature definition, and that a flying creature does not actually need any FLIER body parts. This tags only purpose is to identify body parts which will cause a creature to lose the ability to fly, if they are damaged. | |
GRASP | Creature can wield a picked-up weapon with body part, and can use the part to initiate a wider variety of wrestling moves. When creatures are spawned with a weapon and shield, one GRASP part will hold a weapon while all others will hold shields. NOTE: This tag cannot be applied to body parts with the [INTERNAL] token. | |
GUTS | Body parts marked with this tag make the creature nauseous and vomit when hit. | |
HEAD | Flags the body part as being able to wear head clothing like hats, helms, etc. If all heads are chopped off, the creature dies. Multiple heads are redundant — for example, hydras can survive with several missing heads. | |
HEAR | Body part is used to hear. No known effects. | |
INDIVIDUAL_NAME |
|
Adding individual names tells the game what to call each individual part in a NUMBERed bodypart. This command replaces «first upper front tooth» for example. |
INTERNAL | Marks the body part as inside the body. Needs [SMALL] tag as well to not be targetable by attacks. | |
JOINT | Body part is a joint. If the limb it’s in is grabbed in a wrestling hold, it can be broken with bending force. This disables the parent limb. | |
LIMB | Body part is a limb. It can be used to initiate certain types of wrestling moves. If it is located between an UPPERBODY part and a GRASP body part, it is eligible to be covered by certain types of armor (body armors and gauntlets). If it is located between a LOWERBODY part and a STANCE body part, it is eligible to be covered by other types of armor (Leg armors like pants, etc; trailing body armors like mail shirts and robes; and high boots). | |
LOWERBODY | Flags the body part as being able to wear lower body clothing like skirts, pants, etc. If a lower body is chopped off, the creature dies. Multiple lowerbody parts aren’t redundant. | |
LEFT | Marks body part as on the left side of the body and vulnerable to attacks from the left. Used in conjunction with tags in the b_detail_plan_default raw. | |
MOUTH | Defines part as mouth. | |
NUMBER |
|
The number lets you stack identical body parts. These can be individually damaged by wounds, but you don’t have to define them explicitly one by one. If you don’t give them individual names (see teeth) they’ll be preceded by ordinal numbers (first, second, etc). In practice, though, they cannot be individually damaged — if you knock out one tooth, the entire group will be knocked out at once (and will be scattered across the area). |
NERVOUS | Body part is necessary for motor function. Damage will impair movement and also disallow creature from sparring in Fortress mode. | |
RIGHT | Marks body part as on the right side of the body and vulnerable to attacks from the right. Used in conjunction with tags in the b_detail_plan_default raw. | |
SKELETON | Body part is part of the creature’s skeleton. | |
STANCE | Allows the creature to stand. Damage or loss of these body parts will cause creature to fall over. | |
SIGHT | Body part is used to see with. If the creature has no SIGHT body parts, or if all its sight body parts are damaged or destroyed, it can’t see unless it has the EXTRAVISION tag in its creature def. | |
SMELL | Body part is used to smell. No known function. (could possibly control reactions to miasma in fortress mode?) | |
SMALL | "SMALL means that the part isn’t displayed as part of the overall displayed body part lists. They can’t be splinted. They are more often targeted for torture (although those situations might not occur anymore). They are removed in skeletons if they aren’t specifically skeletons/joints/digits/apertures. They are more easily lost in world gen duels. They are the only gougable/pinchable parts. SMALL is an old tag, so it has accumulated some weird functions which’ll get split off over time. " --Toady | |
SOCKET | Allows the body part to be easily knocked out. Used on teeth. | |
THROAT | Body part can be strangled. | |
THOUGHT | Most creatures die if all bodyparts with this tag have sustained damage to a FUNCTIONAL tissue or been outright destroyed (chopped off). Creatures will not die if they have NO_THOUGHT_CENTER_FOR_MOVEMENT (and/or NOTHOUGHT?) | |
TOTEMABLE | Makes the body part makeable into totems at a craftsdwarf’s workshop. | |
UPPERBODY | Flags the body part as being able to wear upper body clothing like coats, breastplates etc. If an upper body is chopped off, the creature dies. Multiple upperbody parts aren’t redundant. All default creatures with bodies have the upperbody as the root of the body tree, making it impossible to chop off. | |
UNDER_PRESSURE | Makes the body part pop out of edge attack wounds. Used on guts. Body part shows up as «~» when spilled/popped out. | |
VERMIN_BUTCHER_ITEM | Allows the item to be obtained from butchered or rotted vermin. Used with shells. |