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 "User:Zzedar/Sandbox"

From Dwarf Fortress Wiki
Jump to navigation Jump to search
m
 
(19 intermediate revisions by the same user not shown)
Line 1: Line 1:
<!-- {{#df_makelist:DF2012:creature_birds.txt|CREATURE|\1<br/>|NAME:1:-1}} -->
+
Exceeds template limits, even with a single file... is there any way to do this more efficiently?
<!-- {{#rreplace:ab-cd-ef|-|<li>}} -->
+
Can I throw out the raws when done with them? That would reduce the size, since all I need is the name and the is_animal value...
{{#rreplace:{{creature/variation links|Cave spider}}-{{creature/variation links|Jumping spider}}-{{creature/variation links|Phantom spider}}-{{creature/variation links|Spider monkey}}|-|<li>}}
+
 
 +
Ah, maybe if I use df_makelist to extract the few tags I'm looking for? Then pass that to be parsed, instead of the whole raw for that object.
 +
 
 +
Further update: need to handle creature variations, though...
 +
 
 +
 
 +
{{User:Zzedar/Sandbox/is animal container|birds_new}}
 +
{{User:Zzedar/Sandbox/is animal container|standard}}

Latest revision as of 16:12, 18 April 2013

Exceeds template limits, even with a single file... is there any way to do this more efficiently? Can I throw out the raws when done with them? That would reduce the size, since all I need is the name and the is_animal value...

Ah, maybe if I use df_makelist to extract the few tags I'm looking for? Then pass that to be parsed, instead of the whole raw for that object.

Further update: need to handle creature variations, though...



crow 1
crow man 0
giant crow 1
raven 1
raven man 0
giant raven 1
cassowary 1
cassowary man 0
giant cassowary 1
kea 1
kea man 0
giant kea 1
snowy owl 1
snowy owl man 0
giant snowy owl 1
sparrow 1
sparrow man 0
giant sparrow 1
white stork 1
white stork man 0
giant white stork 1
loon 1
loon man 0
giant loon 1
barn owl 1
barn owl man 0
giant barn owl 1
parakeet 1
parakeet man 0
giant parakeet 1
kakapo 1
kakapo man 0
giant kakapo 1
grey parrot 1
grey parrot man 0
giant grey parrot 1
puffin 1
puffin man 0
giant puffin 1
swan 1
swan man 0
giant swan 1
lorikeet 1
lorikeet man 0
giant lorikeet 1
wren 1
wren man 0
not found 1
not found 1
not found 1
not found 1
not found 1
not found 1
not found 1
not found 1
not found 1
not found 1
not found 1
not found 1
not found 1
not found 1
not found 1
not found 1
not found 1
not found 1
not found 1
not found 1
not found 1
not found 1
not found 1
not found 1
not found 1
not found 1
not found 1
not found 1
not found 1
not found 1
not found 1
not found 1
not found 1
not found 1
not found 1
not found 1
not found 1