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 "40d Talk:Armor token"

From Dwarf Fortress Wiki
Jump to navigation Jump to search
(→‎PREPLURAL: new section)
m
Line 36: Line 36:
 
== PREPLURAL ==
 
== PREPLURAL ==
  
Apparently, the PREPLURAL token only works with item_armor and item_pants entries, which are also the only unmodded entries that use it. Attempting to use it in an item_helm entry returned the error message, ''Unrecognized Item Definition (Helm) Token: ITEM_HELM_HEADGEAR - PREPLURAL''. The item worked fine after the PREPLURAL tag was removed. Since neither gloves nor boots come in pairs in this game, I feel that it is safe to assume that this token would not work with them either, though I may test this at a later point to be certain. [0.28.181.40d] d --[[User:BunnyMind|BunnyMind]] 08:31, 5 July 2009 (UTC)
+
Apparently, the PREPLURAL token only works with item_armor and item_pants entries, which are also the only unmodded entries that use it. Attempting to use it in an item_helm entry returned the error message, ''Unrecognized Item Definition (Helm) Token: ITEM_HELM_HEADGEAR - PREPLURAL''. The item worked fine after the PREPLURAL tag was removed. Since neither gloves nor boots come in pairs in this game, I feel that it is safe to assume that this token would not work with them either, though I may test this at a later point to be certain. {{version|0.28.181.40d}} --[[User:BunnyMind|BunnyMind]] 08:31, 5 July 2009 (UTC)

Revision as of 08:33, 5 July 2009

i think the SOFT and HARD tokkens are if the item can be worn out with the x-X-XX tags, i often saw this on clothes with the soft tokken, but never on one with the hard ones. --Rhenaya 09:48, 4 October 2008 (EDT)

I'm pretty sure HARD means elves can make it from wood, while SOFT means it can be made from "soft" materials (read: cloth). All clothing level items will decay when worn, regardless of the material. I say this because I remember giving dwarves "hard hats" once upon a time (basically just a renamed copy of ordinary helmets, made only from metal, but with no ARMORLEVEL tag. Their iron hard hats decayed just like pig tail caps do. --EarthquakeDamage 00:17, 22 June 2009 (UTC)

My guts are telling me, that SHAPED tag affects if the item produced by narrow or large race will be narrow or large. --Dorten 02:38, 24 November 2008 (EST)

This is what I've inferred from the default raw files in DF: Some things are clearly clothing, whether they be made of cloth or leather. They always rot, and are worn by people who aren't in the military. Examples:

  • Armor: platemail, chainmail, leather
  • Pants: greaves, leggings
  • Helm: helm
  • Gloves: gauntlet
  • Shoes: high boot, low boot.

Some things are clearly armor, also whether they be made of leather or metal. They never rot. They are worn only by drafted people. Examples:

  • Armor: shirt
  • Pants: pants
  • Helm: hood
  • Gloves: gloves, mittens
  • Shoes: shoes

Other things are either clothing, when made of cloth or leather, or armor when made of metal. These IMO show us which tags are important for armor and/or wear & tear. Only the cap appears to do this, so I think this is important... these are the tags for the "cap", and what I think each does (which sometimes differs from this wiki page):

(I've removed tags that are mostly text or a number, such as material use and weight)

  • [METAL_ARMOR_LEVELS]
  • [LAYER:OVER]
  • [SOFT]
  • [LEATHER]
  • [HARD]
  • [METAL]

What determines if this is armor or not? I don't think it's the SOFT or HARD tags. SOFT apparently only means this can be crafted from cloth. HARD is maybe used for some formula but it's probably not very important, and it can coexist with SOFT. Note the lack of an ARMORLEVEL tag, that means this is normally civilian clothing. The METAL_ARMOR_LEVELS raises the effective ARMORLEVEL to 1, so this becomes part of a leather "set" (so a metal cap is "leather" for equipping purposes). The LAYER tag is used to mix and match many clothes, I think, so you can wear UNDER, with OVER and then COVER on top: I also think that once this becomes ARMOR, the layer stops mattering - unless dwarves use multiple layers of armor which I believe they don't? They however will take civilian clothes off if they're using up valuable armor layers when drafted.

So in conclusion, only the ARMORLEVEL determines who will wear it (soldiers vs civilians), and if it will rot. METAL_ARMOR_LEVELS generally is used to separate one armor type from another: for instance, high boots are always armor, but if made of leather, they're leather armor, and if made of metal, they're chain armor. However, in this rare case, it changes the ARMORLEVEL from nil to 1, making metal Caps unwearable by civilians plus not rotting. SOFT, HARD have nothing to do with this. Sergius 13:56, 3 December 2008 (EST)

PREPLURAL

Apparently, the PREPLURAL token only works with item_armor and item_pants entries, which are also the only unmodded entries that use it. Attempting to use it in an item_helm entry returned the error message, Unrecognized Item Definition (Helm) Token: ITEM_HELM_HEADGEAR - PREPLURAL. The item worked fine after the PREPLURAL tag was removed. Since neither gloves nor boots come in pairs in this game, I feel that it is safe to assume that this token would not work with them either, though I may test this at a later point to be certain. v0.28.181.40d --BunnyMind 08:31, 5 July 2009 (UTC)