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:RawToTable"

From Dwarf Fortress Wiki
Jump to navigation Jump to search
m
m
Line 13: Line 13:
 
|biome=</nowiki>{{#df_foreachtag:{{{1}}}|BIOME|<nowiki>{{bIcon|/2}}</nowiki>}} {{#iferror: {{#ifexpr: ({{#df_tag:{{{1}}}|COMMON_DOMESTIC}}) = 1 |<nowiki>{{bIcon|DOMESTIC}}</nowiki>}}|}}<br><nowiki>
 
|biome=</nowiki>{{#df_foreachtag:{{{1}}}|BIOME|<nowiki>{{bIcon|/2}}</nowiki>}} {{#iferror: {{#ifexpr: ({{#df_tag:{{{1}}}|COMMON_DOMESTIC}}) = 1 |<nowiki>{{bIcon|DOMESTIC}}</nowiki>}}|}}<br><nowiki>
 
|size=N/A</nowiki><br><nowiki>
 
|size=N/A</nowiki><br><nowiki>
|value={{PVm|</nowiki>{{#df_tagvalue:{{{1}}}|PETVALUE|0}}<br><nowiki>
+
|value={{PVm|</nowiki>{{#df_tagvalue:{{{1}}}|PETVALUE|0}}<nowiki>}}
 
}}</nowiki>
 
}}</nowiki>
  
Line 46: Line 46:
 
|style="border:1px #AAA solid;padding:0em;font-size: 50%;font-family: 'Century', monospace; background: black;text-align:center;"|{{PVm|{{#df_tagvalue:{{{1}}}|PETVALUE|0}}}}
 
|style="border:1px #AAA solid;padding:0em;font-size: 50%;font-family: 'Century', monospace; background: black;text-align:center;"|{{PVm|{{#df_tagvalue:{{{1}}}|PETVALUE|0}}}}
 
|}</includeonly><noinclude>
 
|}</includeonly><noinclude>
<nowiki>{{#df_tagvalue:{{{1}}}|CREATURE_TILE|?}}
+
 
{{#df_tagvalue:{{{1}}}|COLOR|7:0:1}}
+
Usage:<br>
{{#ifexpr: {{#df_tag:{{{1}}}|LARGE_PREDATOR}} = 1|{{Cgr|Y}|{{Cgr|N}}}}
+
<pre>
{{#ifexpr: {{#df_tag:{{{1}}}|SWIMS_INNATE}} = 1|{{Cgr|Y}|{{Cgr|N}}}}
+
  {{RawToTable|<single creature raw file>}}</pre>
{{#ifexpr: {{#df_tag:{{{1}}}|FLIER}} = 1|{{Cgr|Y}|{{Cgr|N}}}}
+
 
{{#ifexpr: ({{#df_tagvalue:{{{1}}}|IF_EXISTS_SET_MELTING_POINT|0}}) > 12000|{{Cgr|Y}|{{Cgr|N}}}}
+
 
{{#ifexpr: {{#df_tag:{{{1}}}|PETVALUE}} = 1|{{Cgr|Y}|{{Cgr|N}}}}
+
Ex:
{{#ifexpr: {{#df_tag:{{{1}}}|TRAINABLE}} = 1|{{Cgr|Y}|{{Cgr|N}}}}
+
'''Walrus'''
{{#df_foreachtag:{{{1}}}|BIOME|{{bIcon|/2}} {{bIcon|/3}} {{bIcon|/4}} {{bIcon|/5}} {{bIcon|/6}} {{bIcon|/7}}}}
+
 
{{#ifexpr: {{#df_tag:{{{1}}}|COMMON_DOMESTIC}} = 1|{{bIcon|DOMESTIC}}}}
+
----
{{#df_tag:{{{1}}}|COMMON_DOMESTIC}}
+
 
{{#df_tagvalue:{{{1}}}|PETVALUE|0}}
+
 
{{PVm|{{#df_tagvalue:{{{1}}}|PETVALUE|0}}}}</nowiki></noinclude>
+
{{RawToTable|[CREATURE:WALRUS]
 +
[CREATURE_TILE:'W'][COLOR:6:0:0]
 +
[PETVALUE:400]
 +
[BIOME:OCEAN_ARCTIC]
 +
[BODY:BASIC_2PARTBODY:BASIC_HEAD:FRONT_BODY_FLIPPERS:REAR_BODY_FLIPPERS:2EYES:NOSE:2LUNGS:HEART:GUTS:ORGANS:THROAT:NECK:SPINE:BRAIN:SKULL:MOUTH:2TUSKS:GENERIC_TEETH:RIBCAGE]
 +
[BODY_DETAIL_PLAN:STANDARD_MATERIALS]
 +
[USE_MATERIAL_TEMPLATE:IVORY:TOOTH_TEMPLATE]
 +
[STATE_NAME:ALL_SOLID:ivory]
 +
[STATE_ADJ:ALL_SOLID:ivory]
 +
[BODY_DETAIL_PLAN:STANDARD_TISSUES]
 +
[USE_TISSUE_TEMPLATE:IVORY:IVORY_TEMPLATE]
 +
[TISSUE_NAME:ivory:NP]
 +
[BODY_DETAIL_PLAN:VERTEBRATE_TISSUE_LAYERS:SKIN:FAT:MUSCLE:BONE:CARTILAGE]
 +
[SELECT_TISSUE_LAYER:HEART:BY_CATEGORY:HEART]
 +
[PLUS_TISSUE_LAYER:SKIN:BY_CATEGORY:THROAT]
 +
[TL_MAJOR_ARTERIES]
 +
[BODY_DETAIL_PLAN:STANDARD_HEAD_POSITIONS]
 +
[BODY_DETAIL_PLAN:HUMANOID_RIBCAGE_POSITIONS]
 +
[USE_MATERIAL_TEMPLATE:SINEW:SINEW_TEMPLATE]
 +
[TENDONS:LOCAL_CREATURE_MAT:SINEW:200]
 +
[LIGAMENTS:LOCAL_CREATURE_MAT:SINEW:200]
 +
[BODY_SIZE:0:0:150000]
 +
[BODY_SIZE:2:0:750000]
 +
[BODY_SIZE:5:0:1500000]
 +
[MAXAGE:20:30]
 +
[HOMEOTHERM:10067]
 +
[SWIMS_INNATE][SWIM_SPEED:2500]}}

Revision as of 08:18, 10 April 2011


Usage:

  {{RawToTable|<single creature raw file>}}


Ex: Walrus



{{CreatureCurrent table row|
name=[[]]
|symbol=
|color=7:0:1
|hostile={{Cgr|N}}
|food=N/A
|swims={{Cgr|Y}}
|flies={{Cgr|N}}
|magmasafe={{Cgr|N}}
|tamable={{Cgr|Y}}
|trainable={{Cgr|N}}
|biome={{bIcon|/2}}
|size=N/A
|value={{PVm|400}} }}


Symbol Name Hostile? Food? Swims? Flies? Magma-safe? Tamable? Trainable? Biome Adult mass (g) Pet Value
[[]] 1N.gif N/A 2Y.gif 1N.gif 1N.gif 2Y.gif 1N.gif ? N/A 400