Difference between revisions of "Template:Creature/is humanoid"

From Dwarf Fortress Wiki
Jump to navigation Jump to search
(prevent humanoid_armless from returning 1)
(Examples)
Line 2: Line 2:
 
Returns 1 if the given creature is a humanoid, 0 otherwise
 
Returns 1 if the given creature is a humanoid, 0 otherwise
 
===Examples===
 
===Examples===
{{creature/is humanoid|ant|ns=DF2012}}
+
<nowiki>{{creature/is humanoid|ant|ns=DF2012}}</nowiki>: {{creature/is humanoid|ant|ns=DF2012}}<br/>
{{creature/is humanoid|antman|ns=DF2012}}
+
<nowiki>{{creature/is humanoid|antman|ns=DF2012}}</nowiki>: {{creature/is humanoid|antman|ns=DF2012}}<br/>
{{creature/is humanoid|barn owl|ns=DF2012}}
+
<nowiki>{{creature/is humanoid|barn owl|ns=DF2012}}</nowiki>: {{creature/is humanoid|barn owl|ns=DF2012}}
 
</noinclude>
 
</noinclude>

Revision as of 21:24, 16 April 2013

Returns 1 if the given creature is a humanoid, 0 otherwise

Examples

{{creature/is humanoid|ant|ns=DF2012}}: 0
{{creature/is humanoid|antman|ns=DF2012}}: 1
{{creature/is humanoid|barn owl|ns=DF2012}}: 0