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 "Template:Tame attrib proc"

From Dwarf Fortress Wiki
Jump to navigation Jump to search
(add categories for breeding)
m (check for the actual shearable tag)
Line 1: Line 1:
 
<includeonly>
 
<includeonly>
 
{{#if:{{tag|{{{1}}}|MILKABLE}}|{{attrib format|[[Milk]]able{{Category|Milkable}}}}}}{{
 
{{#if:{{tag|{{{1}}}|MILKABLE}}|{{attrib format|[[Milk]]able{{Category|Milkable}}}}}}{{
#if:{{tag|{{{1}}}|YARN}}|{{attrib format|[[Shear]]able{{Category|Shearable}}}}}}{{
+
#if:{{tag|{{{1}}}|SHEARABLE_TISSUE_LAYER}}|{{attrib format|[[Shear]]able{{Category|Shearable}}}}}}{{
 
#if:{{tag|{{/raw}}|LAYS_EGGS}}|{{attrib format|[[Egg]]laying{{Category|Egglaying}}}}}}{{
 
#if:{{tag|{{/raw}}|LAYS_EGGS}}|{{attrib format|[[Egg]]laying{{Category|Egglaying}}}}}}{{
 
#if:{{tag|{{{1}}}|PET_EXOTIC}}|{{attrib format|[[Exotic pet]]{{Category|Exotic pet}}}}}}{{
 
#if:{{tag|{{{1}}}|PET_EXOTIC}}|{{attrib format|[[Exotic pet]]{{Category|Exotic pet}}}}}}{{

Revision as of 15:50, 9 June 2013

Usage: {{tame_attrib_proc | creature raws}}

Returns a formatted list of "interesting" tame attribute tags for the given raw creature data.