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 talk:Asva"

From Dwarf Fortress Wiki
Jump to navigation Jump to search
m
m
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
Toying around with parser.
+
== Parser test for workshop ==
{{#df_tag:{{#df_raw:Masterwork:building_kobold.txt|BUILDING_WORKSHOP|GONG|Not found!}}|CAN_USE_ARTIFACT}}<br/>
+
[https://github.com/quietust/DFRawFunctions Main repository] / [https://github.com/Asvae/DFRawFunctions my repository].
{{#df_tagentry:{{#df_raw:Masterwork:building_kobold.txt|BUILDING_WORKSHOP|GONG|'''Error, check raws!'''}}|BUILD_KEY|0|1|'''Error, check raws!'''|}}<br/>
+
That's how it looks: [https://dl.dropboxusercontent.com/u/57572806/Wiki%20parser%20test.htm HTML]
  
{{#df_foreachtag:{{#df_raw:Masterwork:reaction_kobold.txt}}|BUILDING|"\2"}}
+
'''Woodcraft reactions:'''
 +
{{#df_type:Masterwork:reaction_kobold.txt|REACTION|SKILL:WOODCRAFT|NAME||}}
  
=== Alien examples ===
+
'''Woodcraft buildings:'''
{{#df_makelist:{{#df_raw:Masterwork:inorganic_mineral.txt}}|INORGANIC|"\2 \1"|ENVIRONMENT_SPEC:2:1:MAGNETITE|STATE:NAME:SOLID}}
+
{{#df_type:Masterwork:reaction_kobold.txt|REACTION|SKILL:WOODCRAFT|BUILDING||}}
  
=== Profession ripping ===
+
'''Full list of boneyard reactions:'''
[[{{#df_tagentry:{{#df_raw:Masterwork:Profession/raw|PROFESSION|DWARF}}|
+
{{#df_type:Masterwork:reaction_kobold.txt|REACTION|BUILDING:BONEYARD_KOBOLD|NAME||}}
{{#df_tagentry:{{#df_raw:Masterwork:building_kobold.txt|BUILDING_WORKSHOP|{{uc:{{PAGENAME}}}}|Unknown!}}|BUILD_LABOR|0|1|Unknown!|}}|0|1|Unknown!|}}]]
 
{{#df_tagentry:{{#df_raw:Masterwork:building_kobold.txt|BUILDING_WORKSHOP|GONG|Unknown!}}|BUILD_LABOR|0|1|Unknown!|}}
 
<br/>
 
  
[[{{#df_tagentry:{{#df_raw:Masterwork:Profession/raw|PROFESSION|DWARF}}|
+
'''Table'''
{{#df_tagentry:{{#df_raw:Masterwork:building_kobold.txt|BUILDING_WORKSHOP|GONG|Unknown!}}|BUILD_LABOR|0|1|Unknown!|}}|0|1|Unknown!|}}]]
+
{| class="wikitable"
 +
|-
 +
'''{{#df_type:Masterwork:reaction_kobold.txt|REACTION|BUILDING:BONEYARD_KOBOLD|NAME|0|Does something.}}'''
 +
|-
 +
|{{#df_type:Masterwork:reaction_kobold.txt|REACTION|BUILDING:BONEYARD_KOBOLD|NAME|1:FORMAT|Makes something.}}
 +
|-
 +
|{{#df_type:Masterwork:reaction_kobold.txt|REACTION|BUILDING:BONEYARD_KOBOLD|NAME|2:FORMAT|Produces something.}}
 +
|-
 +
|}
 +
'''Last type check:'''
 +
{{#df_type:Masterwork:reaction_kobold.txt|REACTION|BUILDING:BONEYARD_KOBOLD|NAME|-1|Does something.}}
  
[[{{#df_tagentry:{{#df_raw:[PROFESSION:DWARF]
+
'''Type check:'''
[MINING:Mining]
+
{{#df_type:Masterwork:reaction_kobold.txt|REACTION|BUILDING:BONEYARD_KOBOLD|NAME|55:CHECK|Does something.}}
[CARPENTRY:Carpentry]
+
 
[BOWYER:Crossbow-making]
+
'''Figure out the keybind for reaction:''' {{#df_type:Masterwork:reaction_kobold.txt|REACTION|NAME:Break down wooden cups|BUILDING:WOODPROCESSOR|::STACK}}.
[WOODCUTTING:Wood Cutting]
+
 
[MASONRY:Masonry]
+
'''And workshop:''' {{#df_type:Masterwork:building_kobold.txt|BUILDING_WORKSHOP|BUILDING_WORKSHOP:GONG|BUILD_KEY|::STACK}}.
[DETAILSTONE:Stone Detailing]
+
 
[ANIMALTRAIN:Animal Training]
+
'''Workshop tile check:'''<br/>
[ANIMALCARE:Animal Armoring]
+
{{#df_tile:Masterwork:building_kobold.txt|BUILDING_WORKSHOP:TOADLICKER|TILE:3}}
[1:Hunting]
 
[TRAPPING:Trapping]
 
[DISSECT_VERMIN:Small Animal Dissection]
 
[DIAGNOSE:Diagnosis]
 
[SURGERY:Surgery]
 
[SET_BONE:Setting Bones]
 
[SUTURE:Suturing]
 
[DRESS_WOUNDS:Dressing Wounds]
 
[1:Feed Patients/Prisoners]
 
[1:Recovering Wounded]
 
[BUTCHER:Butchery]
 
[TANNER:Tanner]
 
[PLANT:Farming]
 
[DYER:Dyeing]
 
[1:Diplomacy]
 
[WOOD_BURNING:Oven Operating]
 
[POTASH_MAKING:Alchemy]
 
[1:Chemistry]
 
[LYE_MAKING:Archeology]
 
[BREWING:Brewing]
 
[HERBALISM:Herbalism]
 
[MILLING:Milling]
 
[CHEESEMAKING:Cheese making]
 
[MILK:Milking]
 
[SHEARING:Shearing]
 
[SPINNING:Spinning]
 
[COOK:Cooking]
 
[PROCESSPLANTS:Researching/Inventing]
 
[BEEKEEPING:Hivekeeping]
 
[FISH:Fishing]
 
POTTERY GLAZING PRESSING WAX_WORKING
 
[PROCESSFISH:Fish Cleaning]
 
[DISSECT_FISH:Fish Farming]
 
[SMELT:Furnace Operating]
 
[FORGE_WEAPON:Weaponsmithing]
 
[FORGE_ARMOR:Armoring]
 
[FORGE_FURNITURE:Blacksmithing]
 
[METALCRAFT:Metalcrafting]
 
[CUTGEM:Gem Cutting]
 
[ENCRUSTGEM:Gem Setting]
 
[LEATHERWORK:Leatherworking]
 
[WOODCRAFT:Woodcrafting]
 
[STONECRAFT:Stonecrafting]
 
[BONECARVE:Bone Carving]
 
[GLASSMAKER:Glassmaking]
 
[WEAVING:Weaving]
 
[CLOTHESMAKING:Tailoring]
 
[EXTRACT_STRAND:Praying]
 
[1:Writing]
 
[1:Playing Music]
 
[SOAP_MAKING:Wax/Poison Working]
 
[SIEGECRAFT:Siege Operating]
 
[MECHANIC:Mechanics]
 
[OPERATE_PUMP:Machine Operating]
 
[1:Stone Hauling]
 
[1:Wood Hauling]
 
[1:Item Hauling]
 
[1:Burial]
 
[1:Food Hauling]
 
[1:Refuse Hauling]
 
[1:Furniture Hauling]
 
[1:Animal Hauling]
 
[1:Push/Haul Vehicles]
 
[1:Architecture]
 
[ALCHEMY:Sorcery]
 
[1:Cleaning]
 
 
Battle professions
 
 
[AXE:Axe]
 
[SWORD:Sword]
 
[DAGGER:Knife]
 
[MACE:Mace]
 
[HAMMER:Hammer]
 
[SPEAR:Spear]
 
[CROSSBOW:Crossbow]
 
[SHIELD:Shield]
 
[ARMOR:Armor]
 
[PIKE:Pike]
 
[WHIP:Lash]
 
[BOW:Bow]
 
[BLOWGUN:Blowgun]
 
[THROW:Throwing]
 
 
Other professions
 
 
[CRUTCH_WALK:CRUTCH_WALK]
 
[MAGIC_NATURE:MAGIC_NATURE]
 
[SNEAK:Ambush]
 
[DESIGNBUILDING:Building Design]
 
[SWIMMING:Swimming]
 
[PERSUASION:Persuasion]
 
[NEGOTIATION:Negotiation]
 
[JUDGING_INTENT:Judging Intent]
 
[APPRAISAL:Appraisal]
 
[ORGANIZATION:Organization]
 
[RECORD_KEEPING:Record Keeping]
 
[LYING:Lying]
 
[INTIMIDATION:Intimidation]
 
[CONVERSATION:Conversation]
 
[COMEDY:Comedy]
 
[FLATTERY:Flattery]
 
[CONSOLE:Consoling]
 
[PACIFY:Pacification]
 
[TRACKING:Tracking]
 
[KNOWLEDGE_ACQUISITION:Studying]
 
[CONCENTRATION:Concentration]
 
[DISCIPLINE:Discipline]
 
[SITUATIONAL_AWARENESS:Observation]
 
[WRITING:Writing]
 
[PROSE:Prose]
 
[POETRY:Poetry]
 
[READING:Reading]
 
[SPEAKING:Speaking]
 
[COORDINATION:Coordination]
 
[BALANCE:Balance]
 
[LEADERSHIP:Leadership]
 
[TEACHING:Teaching]
 
[MELEE_COMBAT:Fighting]
 
[RANGED_COMBAT:Archery]
 
[WRESTLING:Wrestling]
 
[BITE:Biting]
 
[GRASP_STRIKE:Striking]
 
[STANCE_STRIKE:Kicking]
 
[DODGING:Dodging]
 
[MISC_WEAPON:Misc. Object]
 
[KNAPPING:Knapping]
 
[MILITARY_TACTICS:Military Tactics]
 
|PROFESSION|DWARF}}|
 
{{#df_tagentry:{{#df_raw:Masterwork:building_kobold.txt|BUILDING_WORKSHOP|GONG|Unknown!}}|BUILD_LABOR|0|1|Unknown!|}}|0|1|Unknown!|}}]]
 

Latest revision as of 13:41, 9 September 2013

Parser test for workshop[edit]

Main repository / my repository. That's how it looks: HTML

Woodcraft reactions: {{#df_type:Masterwork:reaction_kobold.txt|REACTION|SKILL:WOODCRAFT|NAME||}}

Woodcraft buildings: {{#df_type:Masterwork:reaction_kobold.txt|REACTION|SKILL:WOODCRAFT|BUILDING||}}

Full list of boneyard reactions: {{#df_type:Masterwork:reaction_kobold.txt|REACTION|BUILDING:BONEYARD_KOBOLD|NAME||}}

Table

{{#df_type:Masterwork:reaction_kobold.txt|REACTION|BUILDING:BONEYARD_KOBOLD|NAME|0|Does something.}}
REACTION|BUILDING:BONEYARD_KOBOLD|NAME|1:FORMAT|Makes something.}}
REACTION|BUILDING:BONEYARD_KOBOLD|NAME|2:FORMAT|Produces something.}}

Last type check: {{#df_type:Masterwork:reaction_kobold.txt|REACTION|BUILDING:BONEYARD_KOBOLD|NAME|-1|Does something.}}

Type check: {{#df_type:Masterwork:reaction_kobold.txt|REACTION|BUILDING:BONEYARD_KOBOLD|NAME|55:CHECK|Does something.}}

Figure out the keybind for reaction: {{#df_type:Masterwork:reaction_kobold.txt|REACTION|NAME:Break down wooden cups|BUILDING:WOODPROCESSOR|::STACK}}.

And workshop: {{#df_type:Masterwork:building_kobold.txt|BUILDING_WORKSHOP|BUILDING_WORKSHOP:GONG|BUILD_KEY|::STACK}}.

Workshop tile check:
{{#df_tile:Masterwork:building_kobold.txt|BUILDING_WORKSHOP:TOADLICKER|TILE:3}}