v50 Steam/Premium information for editors
  • v50 information can now be added to pages in the main namespace. v0.47 information can still be found in the DF2014 namespace. See here for more details on the new versioning policy.
  • Use this page to report any issues related to the migration.
This notice may be cached—the current version can be found here.

Difference between revisions of "v0.34:Shell"

From Dwarf Fortress Wiki
Jump to navigation Jump to search
(update)
m (clean up, typos fixed: i.e, → i.e.,, eg. → e.g.)
 
(5 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
{{quality|Exceptional|21:04, 26 April 2011 (UTC)}}{{av}}
 
{{quality|Exceptional|21:04, 26 April 2011 (UTC)}}{{av}}
 
{{Buggy}}
 
{{Buggy}}
 +
<onlyinclude>
 
[[File:Shells.jpg|thumb|right|Assorted shells]]
 
[[File:Shells.jpg|thumb|right|Assorted shells]]
A '''Shell''' is a hard external covering used by certain creatures for defense. Shells can be obtained by capturing or killing shell-bearing creatures and processing them at a [[fishery]] (or in rare cases, a [[butcher's shop]]). Examples of shelled [[vermin]] critters are [[turtle]]s, [[oyster]]s and [[mussel]]s; larger shelled [[creature]]s include [[snailman]] and some [[forgotten beast]]s. Shells currently cannot be acquired via [[trading]] -- turtles, crustaceans and shellfish purchased from traders have already been processed and had their shells removed.  
+
A '''Shell''' is a hard external covering used by certain creatures for defense. Shells can be obtained by capturing or killing [[:Category:DF2012:Shell|shell-bearing creatures]] and processing them at a [[fishery]] (or in rare cases, a [[butcher's shop]]). Examples of shelled [[vermin]] critters are [[turtle]]s, [[oyster]]s and [[mussel]]s; larger shelled [[creature]]s include [[giant snail]]s and some [[forgotten beast]]s. Shells currently cannot be acquired via [[trading]] -- turtles, crustaceans and shellfish purchased from traders have already been processed and had their shells removed.  
  
 
Shells can be stored in a [[stockpile#Refuse|refuse stockpile]], but stored shells may disappear due to [[vermin]] such as [[rat]]s. Shells can be used for [[craft]]s and [[decoration]]s at a [[craftsdwarf's workshop]] using the [[bone carver]] skill. Shells may occasionally be requested by a [[strange mood|moody]] dwarf, so it is best to keep a few on hand just in case.   
 
Shells can be stored in a [[stockpile#Refuse|refuse stockpile]], but stored shells may disappear due to [[vermin]] such as [[rat]]s. Shells can be used for [[craft]]s and [[decoration]]s at a [[craftsdwarf's workshop]] using the [[bone carver]] skill. Shells may occasionally be requested by a [[strange mood|moody]] dwarf, so it is best to keep a few on hand just in case.   
 
+
</onlyinclude>
 
== Modding ==
 
== Modding ==
 
{{mod|section}}
 
{{mod|section}}
Line 15: Line 16:
  
 
#In raw/objects/creature_domestic.txt, find "[CREATURE:COW]"
 
#In raw/objects/creature_domestic.txt, find "[CREATURE:COW]"
#Alter the [BODY] section to include ":SHELL" i.e, [BODY:QUADRUPED_HOOF:TAIL:2EYES:SHELL:BRAIN...]
+
#Alter the [BODY] section to include ":SHELL" i.e., [BODY:QUADRUPED_HOOF:TAIL:2EYES:SHELL:BRAIN...]
 
#Add the [USE_MATERIAL_TEMPLATE:SHELL:SHELL_TEMPLATE] tag to the [BODY_DETAIL_PLAN:STANDARD_MATERIALS] section
 
#Add the [USE_MATERIAL_TEMPLATE:SHELL:SHELL_TEMPLATE] tag to the [BODY_DETAIL_PLAN:STANDARD_MATERIALS] section
 
#Add the [USE_TISSUE_TEMPLATE:SHELL:SHELL_TEMPLATE] tag to the [BODY_DETAIL_PLAN:STANDARD_TISSUES] section
 
#Add the [USE_TISSUE_TEMPLATE:SHELL:SHELL_TEMPLATE] tag to the [BODY_DETAIL_PLAN:STANDARD_TISSUES] section
Line 26: Line 27:
 
=== Enabling Other Materials to Be Used in Moods ===
 
=== Enabling Other Materials to Be Used in Moods ===
  
If you don't want to add shells to existing creatures, you can enable other materials, like [[hoof|hooves]] or [[ivory]] to be used in strange moods instead of shells. The only effect is that the materials will be available for moods, you won't be able to eg. make shell crafts of them.
+
If you don't want to add shells to existing creatures, you can enable other materials, like [[hoof|hooves]] or [[ivory]] to be used in strange moods instead of shells. The only effect is that the materials will be available for moods, you won't be able to e.g. make shell crafts of them.
  
 
#In raw/objects/material_template_default.txt look up the material you want to enable, for example [MATERIAL_TEMPLATE:HOOF_TEMPLATE]
 
#In raw/objects/material_template_default.txt look up the material you want to enable, for example [MATERIAL_TEMPLATE:HOOF_TEMPLATE]
Line 34: Line 35:
 
== Bugs ==
 
== Bugs ==
 
* Processing a stack of raw turtles produces only one shell per stack, even if the stack contains more than one turtle. {{Bug|808}}
 
* Processing a stack of raw turtles produces only one shell per stack, even if the stack contains more than one turtle. {{Bug|808}}
* Making crafts from a stack of shells (e.g. acquired from butchering a [[titan]] or [[forgotten beast]]) will consume the entire stack but only produce one set of crafts. {{bug|3151}}
+
* Making armor or crafts from a stack of shells (e.g. acquired from butchering a [[titan]] or [[forgotten beast]]) will consume the entire stack but only produce one piece of armor or set of crafts. {{bug|3151}}
  
 
__NOTOC__
 
__NOTOC__
 +
{{Category|Creature attributes}}
 +
{{Category|Body parts}}

Latest revision as of 23:02, 8 April 2014

This article is about an older version of DF.
Assorted shells

A Shell is a hard external covering used by certain creatures for defense. Shells can be obtained by capturing or killing shell-bearing creatures and processing them at a fishery (or in rare cases, a butcher's shop). Examples of shelled vermin critters are turtles, oysters and mussels; larger shelled creatures include giant snails and some forgotten beasts. Shells currently cannot be acquired via trading -- turtles, crustaceans and shellfish purchased from traders have already been processed and had their shells removed.

Shells can be stored in a refuse stockpile, but stored shells may disappear due to vermin such as rats. Shells can be used for crafts and decorations at a craftsdwarf's workshop using the bone carver skill. Shells may occasionally be requested by a moody dwarf, so it is best to keep a few on hand just in case.

Modding[edit]

In previous versions, shells were frequently requested by moody dwarves, and difficult if not impossible to obtain. As of the current version, only dwarves with a preference for shells will demand them for artifacts. Shells are still hard to come by, though, so players occasionally mod the game to make sure their fortress will have shells available.

Adding Shells to Existing Creatures[edit]

The combination of the common requirement for shells during Strange Moods, the bug that causes shell-producing fish to be unavailable in many maps, the inability to trade for shells may lead to unresolvable Strange Moods. It is possible to modify the raws to allow other creatures to produce shells if the player is so inclined:

  1. In raw/objects/creature_domestic.txt, find "[CREATURE:COW]"
  2. Alter the [BODY] section to include ":SHELL" i.e., [BODY:QUADRUPED_HOOF:TAIL:2EYES:SHELL:BRAIN...]
  3. Add the [USE_MATERIAL_TEMPLATE:SHELL:SHELL_TEMPLATE] tag to the [BODY_DETAIL_PLAN:STANDARD_MATERIALS] section
  4. Add the [USE_TISSUE_TEMPLATE:SHELL:SHELL_TEMPLATE] tag to the [BODY_DETAIL_PLAN:STANDARD_TISSUES] section
  5. Add the [BODY_DETAIL_PLAN:SHELL_POSITIONS] tag to the creature
  6. If you wish to apply this change to a game in progress, remember to also alter the copy of creature_domestic.txt contained in your saves folder, as each game has its own copies of the raws.

Slaughtering a cow should now produce a "Stray Cow shell" usable by dwarves stuck in strange moods. Pay attention, that editing creature after creating world may cause later crashes when changing game's version. In fact, after porting the save to the modified version, the game will crash every time your dwarves try picking up the skeleton that previously had shell. It's strongly recommended to use the second way, as it doesn't add any new body part to creatures, but only add new way of using already existing body part, which is much less crash provoking.

Enabling Other Materials to Be Used in Moods[edit]

If you don't want to add shells to existing creatures, you can enable other materials, like hooves or ivory to be used in strange moods instead of shells. The only effect is that the materials will be available for moods, you won't be able to e.g. make shell crafts of them.

  1. In raw/objects/material_template_default.txt look up the material you want to enable, for example [MATERIAL_TEMPLATE:HOOF_TEMPLATE]
  2. Add the [SHELL] to the material
  3. If you wish to apply this change to a game in progress, remember to also alter the copy of material_template_default.txt contained in your saves folder. The change won't affect body parts that are already lying around, but will affect newly created body parts from butchered creatures.

Bugs[edit]

  • Processing a stack of raw turtles produces only one shell per stack, even if the stack contains more than one turtle. Bug:808
  • Making armor or crafts from a stack of shells (e.g. acquired from butchering a titan or forgotten beast) will consume the entire stack but only produce one piece of armor or set of crafts. Bug:3151