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 talk:Creature/is humanoid"
Jump to navigation
Jump to search
Line 10: | Line 10: | ||
::::No, wait, that'll just look at the first creature in the file, not all creatures. Just a sec.--[[User:Zzedar|Zzedar]] ([[User talk:Zzedar|talk]]) 23:10, 16 April 2013 (UTC) | ::::No, wait, that'll just look at the first creature in the file, not all creatures. Just a sec.--[[User:Zzedar|Zzedar]] ([[User talk:Zzedar|talk]]) 23:10, 16 April 2013 (UTC) | ||
:::::Ah, no, that ''will'' work! <tt><nowiki>{{#df_tagentry:{{#df_raw:DF2012:creature_standard.txt|CREATURE|creaturenamehere}}|whatever}}</nowiki></tt> --[[User:Zzedar|Zzedar]] ([[User talk:Zzedar|talk]]) 23:14, 16 April 2013 (UTC) | :::::Ah, no, that ''will'' work! <tt><nowiki>{{#df_tagentry:{{#df_raw:DF2012:creature_standard.txt|CREATURE|creaturenamehere}}|whatever}}</nowiki></tt> --[[User:Zzedar|Zzedar]] ([[User talk:Zzedar|talk]]) 23:14, 16 April 2013 (UTC) | ||
+ | ::::::I'm an idiot. There's an existing option to not parse the creature variation -- we don't have to do anything. Look at <tt><nowiki>{{:DF2012:Crab man/raw|1}}</nowiki></tt> --[[User:Zzedar|Zzedar]] ([[User talk:Zzedar|talk]]) 23:28, 16 April 2013 (UTC) |
Revision as of 23:28, 16 April 2013
(Old discussion moved to Category talk:DF2012:Humanoids)
Problem with the HUMANOID_ARMLESS exception: crab men (edit:also harpies, but a case could be made that they shouldn't be considered humanoid). I think if we're going to do this categorization at all, it's going to have to be in Wittgensteinian fashion -- that is, a checklist where any creature satisfying more than a certain number of the conditions is considered humanoid (e.g., if we had ten conditions, any creature that met at least seven would qualify). --Zzedar (talk) 21:29, 16 April 2013 (UTC)
- Right, forgot about that. If that's the only exception, I may as well add it in as a special case. --Lethosor (talk) 21:50, 16 April 2013 (UTC)
- Arguably harpies. What worries me is that if we put in these special cases (well, let's be honest: if you do it, because I'm not anything like comfortable enough with the commands to do it), we'll have to rewrite the template as soon as some other creature is added that doesn't mesh well.--Zzedar (talk) 22:15, 16 April 2013 (UTC)
- Actually, the multiple-characteristic idea could work, if the [APPLY_CREATURE_VARIATION] tag were accessible (it's replaced on DF2012:Crab man/raw). Not sure how to access this from a template, but I'll see if it's possible. --Lethosor (talk) 21:52, 16 April 2013 (UTC)
- It can be done -- instead of using the /raw page, we can use the original file, along the lines of {{#df_tagentry:DF2012:creature_standard.txt|whatever}}. That would require listing out all of the .txt files that contain creatures, though (to the best of my knowledge, there's no way to have the df parser look across all of the files, you have to list them out). I guess I could create a page for inclusion that's just all the raws glommed together. Should I?--Zzedar (talk) 22:15, 16 April 2013 (UTC)
- Whoops, got my commands confused. tagentry can't take just the file name, it has to be processed by df_raw first, along the lines of {{#df_tagentry:{{#df_raw:DF2012:creature_standard.txt}}|whatever}}--Zzedar (talk) 23:08, 16 April 2013 (UTC)
- It can be done -- instead of using the /raw page, we can use the original file, along the lines of {{#df_tagentry:DF2012:creature_standard.txt|whatever}}. That would require listing out all of the .txt files that contain creatures, though (to the best of my knowledge, there's no way to have the df parser look across all of the files, you have to list them out). I guess I could create a page for inclusion that's just all the raws glommed together. Should I?--Zzedar (talk) 22:15, 16 April 2013 (UTC)