Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  

Author Topic: Badass bone equipment for dorfs, elves and goblins?  (Read 1550 times)

CandyTophat

  • Bay Watcher
  • Pixels!
    • View Profile
    • The kindom of loathing!
Badass bone equipment for dorfs, elves and goblins?
« on: February 02, 2012, 04:00:52 pm »

As the title implies, how to get the dorfs,elves and goblins to use (preferrably sapient) bone equipment?
i have already attached the tags[ITEMS_WEAPON],[ITEMS_WEAPON_RANGED],[ITEMS_AMMO]
[ITEMS_DIGGER],[ITEMS_ARMOR],[ITEMS_ANVIL]
[ITEMS_HARD],[ITEMS_METAL] and [ITEMS_BARRED] to bone, but thats as far as my modding skill goes.  :-\


P.S  [ITEMS_ANVIL] was put in on purpose
 
Logged
Dwarf fortress ethics.
Of course there's an ethical way to train doctors! Toss children off short cliffs. Since they're not useful adults, injuring them isn't a waste of valuable labor, and since they're not nobles, it's ethical to use short cliffs instead of tall ones!

Prologue

  • Bay Watcher
    • View Profile
Re: Badass bone equipment for dorfs, elves and goblins?
« Reply #1 on: February 02, 2012, 04:33:53 pm »

You need to make a new reaction, and preferably a new building too.

Bone items right now are bugged, using the whole stack to make one item. Here's the reaction (I use):

[REAGENT:A:1:CORPSEPIECE:NONE:NONE:NONE:NONE]
             [REACTION_CLASS:BONE]
[PRODUCT:100:1:ITEM_WEAPON:subtype:GET_MATERIAL_FROM_REAGENT:A:BONE_MAT]

You need to add [REACTION_CLASS:BONE] in your material_template.txt under the material bone.

You can exchange ITEM_WEAPON with any item token (ITEM_ARMOR, ITEM_PANTS etc.) and get the subtype from the txt.
Logged

Alluvian_Est-Endrati

  • Bay Watcher
  • [ENGRAVERY:MISGUIDED]
    • View Profile
Re: Badass bone equipment for dorfs, elves and goblins?
« Reply #2 on: February 02, 2012, 05:39:35 pm »

There are two (good) ways to go about using bone IMO. One is to alter the bone material definition itself and then just add a few custom reactions (to turn bone into blocks for 'masonry' or bars for other uses). The other way to go about it is to just make a whole slew of custom reactions to cover anything you could possibly want.

With custom reactions you can either just predefine the type of bone you want to use or make it dependant upon some reagent.

If you want to build with bone (and have it be magma safe) you either need to change the base bone material... or to use the bone of a specific creature type that becomes magma safe due to that creature's definitions. Dragons come to mind.

Here is a set of example reactions I tinkered together recently for testing purposes:
Code: [Select]
reaction_dragonbone

[OBJECT:REACTION]

[REACTION:CREATE_FREE_DRAGONBONE]
[NAME:Create Free Dragonbone]
[BUILDING:DRAGONBONE_TEMPLE:NONE]
[PRODUCT:100:1000:STONE:NO_SUBTYPE:CREATURE_MAT:DRAGON:BONE]
[SKILL:BONECARVE]

[REACTION:MAKE_DRAGONBONE_BLOCKS]
[NAME:Make Dragonbone Blocks]
[BUILDING:DRAGONBONE_FURNITURE_FORGE:NONE]
[REAGENT:A:1:STONE:NO_SUBTYPE:CREATURE_MAT:DRAGON:BONE]
[PRODUCT:100:1:BLOCKS:NONE:CREATURE_MAT:DRAGON:BONE]
[SKILL:BONECARVE]

[REACTION:MAKE_DRAGONBONE_ARMOR_STAND]
[NAME:Make Dragonbone Armor Stand]
[BUILDING:DRAGONBONE_FURNITURE_FORGE:CUSTOM_A]
[REAGENT:A:1:STONE:NO_SUBTYPE:CREATURE_MAT:DRAGON:BONE]
[PRODUCT:100:1:ARMORSTAND:NONE:CREATURE_MAT:DRAGON:BONE]
[SKILL:BONECARVE]

[REACTION:MAKE_DRAGONBONE_WEAPON_RACK]
[NAME:Make Dragonbone Weapon Rack]
[BUILDING:DRAGONBONE_FURNITURE_FORGE:CUSTOM_W]
[REAGENT:A:1:STONE:NO_SUBTYPE:CREATURE_MAT:DRAGON:BONE]
[PRODUCT:100:1:WEAPONRACK:NONE:CREATURE_MAT:DRAGON:BONE]
[SKILL:BONECARVE]

[REACTION:MAKE_DRAGONBONE_CHAIR]
[NAME:Make Dragonbone Chair]
[BUILDING:DRAGONBONE_FURNITURE_FORGE:CUSTOM_C]
[REAGENT:A:1:STONE:NO_SUBTYPE:CREATURE_MAT:DRAGON:BONE]
[PRODUCT:100:1:CHAIR:NONE:CREATURE_MAT:DRAGON:BONE]
[SKILL:BONECARVE]

[REACTION:MAKE_DRAGONBONE_COFFIN]
[NAME:Make Dragonbone Coffin]
[BUILDING:DRAGONBONE_FURNITURE_FORGE:CUSTOM_P]
[REAGENT:A:1:STONE:NO_SUBTYPE:CREATURE_MAT:DRAGON:BONE]
[PRODUCT:100:1:COFFIN:NONE:CREATURE_MAT:DRAGON:BONE]
[SKILL:BONECARVE]

[REACTION:MAKE_DRAGONBONE_DOOR]
[NAME:Make Dragonbone Door]
[BUILDING:DRAGONBONE_FURNITURE_FORGE:CUSTOM_D]
[REAGENT:A:1:STONE:NO_SUBTYPE:CREATURE_MAT:DRAGON:BONE]
[PRODUCT:100:1:DOOR:NONE:CREATURE_MAT:DRAGON:BONE]
[SKILL:BONECARVE]

[REACTION:MAKE_DRAGONBONE_FLOODGATE]
[NAME:Make Dragonbone Floodgate]
[BUILDING:DRAGONBONE_FURNITURE_FORGE:CUSTOM_L]
[REAGENT:A:1:STONE:NO_SUBTYPE:CREATURE_MAT:DRAGON:BONE]
[PRODUCT:100:1:FLOODGATE:NONE:CREATURE_MAT:DRAGON:BONE]
[SKILL:BONECARVE]

[REACTION:MAKE_DRAGONBONE_HATCH_COVER]
[NAME:Make Dragonbone Hatch Cover]
[BUILDING:DRAGONBONE_FURNITURE_FORGE:CUSTOM_SHIFT_H]
[REAGENT:A:1:STONE:NO_SUBTYPE:CREATURE_MAT:DRAGON:BONE]
[PRODUCT:100:1:HATCH_COVER:NONE:CREATURE_MAT:DRAGON:BONE]
[SKILL:BONECARVE]

[REACTION:MAKE_DRAGONBONE_GRATE]
[NAME:Make Dragonbone Grate]
[BUILDING:DRAGONBONE_FURNITURE_FORGE:CUSTOM_SHIFT_G]
[REAGENT:A:1:STONE:NO_SUBTYPE:CREATURE_MAT:DRAGON:BONE]
[PRODUCT:100:1:GRATE:NONE:CREATURE_MAT:DRAGON:BONE]
[SKILL:BONECARVE]

[REACTION:MAKE_DRAGONBONE_TABLE]
[NAME:Make Dragonbone Table]
[BUILDING:DRAGONBONE_FURNITURE_FORGE:CUSTOM_T]
[REAGENT:A:1:STONE:NO_SUBTYPE:CREATURE_MAT:DRAGON:BONE]
[PRODUCT:100:1:TABLE:NONE:CREATURE_MAT:DRAGON:BONE]
[SKILL:BONECARVE]

[REACTION:MAKE_DRAGONBONE_BED]
[NAME:Make Dragonbone Bed]
[BUILDING:DRAGONBONE_FURNITURE_FORGE:CUSTOM_SHIFT_B]
[REAGENT:A:1:STONE:NO_SUBTYPE:CREATURE_MAT:DRAGON:BONE]
[PRODUCT:100:1:BED:NONE:CREATURE_MAT:DRAGON:BONE]
[SKILL:BONECARVE]

[REACTION:MAKE_DRAGONBONE_CHAIN]
[NAME:Make Dragonbone Chain]
[BUILDING:DRAGONBONE_CRAFT_FORGE:NONE]
[REAGENT:A:1:STONE:NO_SUBTYPE:CREATURE_MAT:DRAGON:BONE]
[PRODUCT:100:1:CHAIN:NONE:CREATURE_MAT:DRAGON:BONE]
[SKILL:BONECARVE]

[REACTION:MAKE_DRAGONBONE_FLASK]
[NAME:Make Dragonbone Flask]
[BUILDING:DRAGONBONE_CRAFT_FORGE:NONE]
[REAGENT:A:1:STONE:NO_SUBTYPE:CREATURE_MAT:DRAGON:BONE]
[PRODUCT:100:1:FLASK:NONE:CREATURE_MAT:DRAGON:BONE]
[SKILL:BONECARVE]

[REACTION:MAKE_DRAGONBONE_GOBLET]
[NAME:Make Dragonbone Goblet]
[BUILDING:DRAGONBONE_CRAFT_FORGE:NONE]
[REAGENT:A:1:STONE:NO_SUBTYPE:CREATURE_MAT:DRAGON:BONE]
[PRODUCT:100:1:GOBLET:NONE:CREATURE_MAT:DRAGON:BONE]
[SKILL:BONECARVE]

[REACTION:MAKE_DRAGONBONE_FLUTE]
[NAME:Make Dragonbone Flute]
[BUILDING:DRAGONBONE_CRAFT_FORGE:NONE]
[REAGENT:A:1:STONE:NO_SUBTYPE:CREATURE_MAT:DRAGON:BONE]
[PRODUCT:100:1:INSTRUMENT:ITEM_INSTRUMENT_FLUTE:CREATURE_MAT:DRAGON:BONE]
[SKILL:BONECARVE]

[REACTION:MAKE_DRAGONBONE_HARP]
[NAME:Make Dragonbone Harp]
[BUILDING:DRAGONBONE_CRAFT_FORGE:NONE]
[REAGENT:A:1:STONE:NO_SUBTYPE:CREATURE_MAT:DRAGON:BONE]
[PRODUCT:100:1:INSTRUMENT:ITEM_INSTRUMENT_HARP:CREATURE_MAT:DRAGON:BONE]
[SKILL:BONECARVE]

[REACTION:MAKE_DRAGONBONE_DRUM]
[NAME:Make Dragonbone Drum]
[BUILDING:DRAGONBONE_CRAFT_FORGE:NONE]
[REAGENT:A:1:STONE:NO_SUBTYPE:CREATURE_MAT:DRAGON:BONE]
[PRODUCT:100:1:INSTRUMENT:ITEM_INSTRUMENT_DRUM:CREATURE_MAT:DRAGON:BONE]
[SKILL:BONECARVE]

[REACTION:MAKE_DRAGONBONE_TOY_PUZZLEBOX]
[NAME:Make Dragonbone Toy Puzzlebox]
[BUILDING:DRAGONBONE_CRAFT_FORGE:NONE]
[REAGENT:A:1:STONE:NO_SUBTYPE:CREATURE_MAT:DRAGON:BONE]
[PRODUCT:100:1:TOY:ITEM_TOY_PUZZLEBOX:CREATURE_MAT:DRAGON:BONE]
[SKILL:BONECARVE]

[REACTION:MAKE_DRAGONBONE_CAGE]
[NAME:Make Dragonbone Cage]
[BUILDING:DRAGONBONE_FURNITURE_FORGE:NONE]
[REAGENT:A:1:STONE:NO_SUBTYPE:CREATURE_MAT:DRAGON:BONE]
[PRODUCT:100:1:CAGE:NONE:CREATURE_MAT:DRAGON:BONE]
[SKILL:BONECARVE]

[REACTION:MAKE_DRAGONBONE_BARREL]
[NAME:Make Dragonbone Barrel]
[BUILDING:DRAGONBONE_FURNITURE_FORGE:NONE]
[REAGENT:A:1:STONE:NO_SUBTYPE:CREATURE_MAT:DRAGON:BONE]
[PRODUCT:100:1:BARREL:NONE:CREATURE_MAT:DRAGON:BONE]
[SKILL:BONECARVE]

[REACTION:MAKE_DRAGONBONE_BUCKET]
[NAME:Make Dragonbone Bucket]
[BUILDING:DRAGONBONE_FURNITURE_FORGE:NONE]
[REAGENT:A:1:STONE:NO_SUBTYPE:CREATURE_MAT:DRAGON:BONE]
[PRODUCT:100:1:BUCKET:NONE:CREATURE_MAT:DRAGON:BONE]
[SKILL:BONECARVE]

[REACTION:MAKE_DRAGONBONE_ANIMALTRAP]
[NAME:Make Dragonbone Animaltrap]
[BUILDING:DRAGONBONE_FURNITURE_FORGE:NONE]
[REAGENT:A:1:STONE:NO_SUBTYPE:CREATURE_MAT:DRAGON:BONE]
[PRODUCT:100:1:ANIMALTRAP:NONE:CREATURE_MAT:DRAGON:BONE]
[SKILL:BONECARVE]

[REACTION:MAKE_DRAGONBONE_HELM]
[NAME:Make Dragonbone Helm]
[BUILDING:DRAGONBONE_ARMOR_FORGE:NONE]
[REAGENT:A:1:STONE:NO_SUBTYPE:CREATURE_MAT:DRAGON:BONE]
[PRODUCT:100:1:HELM:ITEM_HELM_HELM:CREATURE_MAT:DRAGON:BONE]
[SKILL:FORGE_ARMOR]

[REACTION:MAKE_DRAGONBONE_BOX]
[NAME:Make Dragonbone Box]
[BUILDING:DRAGONBONE_FURNITURE_FORGE:NONE]
[REAGENT:A:1:STONE:NO_SUBTYPE:CREATURE_MAT:DRAGON:BONE]
[PRODUCT:100:1:BOX:NONE:CREATURE_MAT:DRAGON:BONE]
[SKILL:BONECARVE]

[REACTION:MAKE_DRAGONBONE_BIN]
[NAME:Make Dragonbone Bin]
[BUILDING:DRAGONBONE_FURNITURE_FORGE:NONE]
[REAGENT:A:1:STONE:NO_SUBTYPE:CREATURE_MAT:DRAGON:BONE]
[PRODUCT:100:1:BIN:NONE:CREATURE_MAT:DRAGON:BONE]
[SKILL:BONECARVE]

[REACTION:MAKE_DRAGONBONE_CABINET]
[NAME:Make Dragonbone Cabinet]
[BUILDING:DRAGONBONE_FURNITURE_FORGE:NONE]
[REAGENT:A:1:STONE:NO_SUBTYPE:CREATURE_MAT:DRAGON:BONE]
[PRODUCT:100:1:CABINET:NONE:CREATURE_MAT:DRAGON:BONE]
[SKILL:BONECARVE]

[REACTION:MAKE_DRAGONBONE_FIGURINE]
[NAME:Make Dragonbone Figurine]
[BUILDING:DRAGONBONE_CRAFT_FORGE:NONE]
[REAGENT:A:1:STONE:NO_SUBTYPE:CREATURE_MAT:DRAGON:BONE]
[PRODUCT:100:1:FIGURINE:NONE:CREATURE_MAT:DRAGON:BONE]
[SKILL:BONECARVE]

[REACTION:MAKE_DRAGONBONE_AMULET]
[NAME:Make Dragonbone Amulet]
[BUILDING:DRAGONBONE_CRAFT_FORGE:NONE]
[REAGENT:A:1:STONE:NO_SUBTYPE:CREATURE_MAT:DRAGON:BONE]
[PRODUCT:100:1:AMULET:NONE:CREATURE_MAT:DRAGON:BONE]
[SKILL:BONECARVE]

[REACTION:MAKE_DRAGONBONE_SCEPTER]
[NAME:Make Dragonbone Scepter]
[BUILDING:DRAGONBONE_CRAFT_FORGE:NONE]
[REAGENT:A:1:STONE:NO_SUBTYPE:CREATURE_MAT:DRAGON:BONE]
[PRODUCT:100:1:SCEPTER:NONE:CREATURE_MAT:DRAGON:BONE]
[SKILL:BONECARVE]

[REACTION:MAKE_DRAGONBONE_CROWN]
[NAME:Make Dragonbone Crown]
[BUILDING:DRAGONBONE_CRAFT_FORGE:NONE]
[REAGENT:A:1:STONE:NO_SUBTYPE:CREATURE_MAT:DRAGON:BONE]
[PRODUCT:100:1:CROWN:NONE:CREATURE_MAT:DRAGON:BONE]
[SKILL:BONECARVE]

[REACTION:MAKE_DRAGONBONE_RING]
[NAME:Make Dragonbone Ring]
[BUILDING:DRAGONBONE_CRAFT_FORGE:NONE]
[REAGENT:A:1:STONE:NO_SUBTYPE:CREATURE_MAT:DRAGON:BONE]
[PRODUCT:100:1:RING:NONE:CREATURE_MAT:DRAGON:BONE]
[SKILL:BONECARVE]

[REACTION:MAKE_DRAGONBONE_WAR_HAMMER]
[NAME:Make Dragonbone War Hammer]
[BUILDING:DRAGONBONE_WEAPON_FORGE:NONE]
[REAGENT:A:1:STONE:NO_SUBTYPE:CREATURE_MAT:DRAGON:BONE]
[PRODUCT:100:1:WEAPON:ITEM_WEAPON_HAMMER_WAR:CREATURE_MAT:DRAGON:BONE]
[SKILL:BONECARVE]

[REACTION:MAKE_DRAGONBONE_SPEAR]
[NAME:Make Dragonbone Spear]
[BUILDING:DRAGONBONE_WEAPON_FORGE:NONE]
[REAGENT:A:1:STONE:NO_SUBTYPE:CREATURE_MAT:DRAGON:BONE]
[PRODUCT:100:1:WEAPON:ITEM_WEAPON_SPEAR:CREATURE_MAT:DRAGON:BONE]
[SKILL:BONECARVE]

[REACTION:MAKE_DRAGONBONE_BATTLE_AXE]
[NAME:Make Dragonbone Battle Axe]
[BUILDING:DRAGONBONE_WEAPON_FORGE:NONE]
[REAGENT:A:1:STONE:NO_SUBTYPE:CREATURE_MAT:DRAGON:BONE]
[PRODUCT:100:1:WEAPON:ITEM_WEAPON_AXE_BATTLE:CREATURE_MAT:DRAGON:BONE]
[SKILL:BONECARVE]

[REACTION:MAKE_DRAGONBONE_MACE]
[NAME:Make Dragonbone Mace]
[BUILDING:DRAGONBONE_WEAPON_FORGE:NONE]
[REAGENT:A:1:STONE:NO_SUBTYPE:CREATURE_MAT:DRAGON:BONE]
[PRODUCT:100:1:WEAPON:ITEM_WEAPON_MACE:CREATURE_MAT:DRAGON:BONE]
[SKILL:BONECARVE]

[REACTION:MAKE_DRAGONBONE_PICK]
[NAME:Make Dragonbone Pick]
[BUILDING:DRAGONBONE_WEAPON_FORGE:NONE]
[REAGENT:A:1:STONE:NO_SUBTYPE:CREATURE_MAT:DRAGON:BONE]
[PRODUCT:100:1:WEAPON:ITEM_WEAPON_PICK:CREATURE_MAT:DRAGON:BONE]
[SKILL:BONECARVE]

[REACTION:MAKE_DRAGONBONE_MAUL]
[NAME:Make Dragonbone Maul]
[BUILDING:DRAGONBONE_WEAPON_FORGE:NONE]
[REAGENT:A:1:STONE:NO_SUBTYPE:CREATURE_MAT:DRAGON:BONE]
[PRODUCT:100:1:WEAPON:ITEM_WEAPON_MAUL:CREATURE_MAT:DRAGON:BONE]
[SKILL:BONECARVE]

[REACTION:MAKE_DRAGONBONE_2H_SWORD]
[NAME:Make Dragonbone 2-Handed Sword]
[BUILDING:DRAGONBONE_WEAPON_FORGE:NONE]
[REAGENT:A:1:STONE:NO_SUBTYPE:CREATURE_MAT:DRAGON:BONE]
[PRODUCT:100:1:WEAPON:ITEM_WEAPON_SWORD_2H:CREATURE_MAT:DRAGON:BONE]
[SKILL:BONECARVE]

[REACTION:MAKE_DRAGONBONE_LONGSWORD]
[NAME:Make Dragonbone Longsword]
[BUILDING:DRAGONBONE_WEAPON_FORGE:NONE]
[REAGENT:A:1:STONE:NO_SUBTYPE:CREATURE_MAT:DRAGON:BONE]
[PRODUCT:100:1:WEAPON:ITEM_WEAPON_SWORD_LONG:CREATURE_MAT:DRAGON:BONE]
[SKILL:BONECARVE]

[REACTION:MAKE_DRAGONBONE_GREATAXE]
[NAME:Make Dragonbone Greataxe]
[BUILDING:DRAGONBONE_WEAPON_FORGE:NONE]
[REAGENT:A:1:STONE:NO_SUBTYPE:CREATURE_MAT:DRAGON:BONE]
[PRODUCT:100:1:WEAPON:ITEM_WEAPON_AXE_GREAT:CREATURE_MAT:DRAGON:BONE]
[SKILL:BONECARVE]

[REACTION:MAKE_DRAGONBONE_FLAIL]
[NAME:Make Dragonbone Flail]
[BUILDING:DRAGONBONE_WEAPON_FORGE:NONE]
[REAGENT:A:1:STONE:NO_SUBTYPE:CREATURE_MAT:DRAGON:BONE]
[PRODUCT:100:1:WEAPON:ITEM_WEAPON_FLAIL:CREATURE_MAT:DRAGON:BONE]
[SKILL:BONECARVE]

[REACTION:MAKE_DRAGONBONE_CROSSBOW]
[NAME:Make Dragonbone Crossbow]
[BUILDING:DRAGONBONE_WEAPON_FORGE:NONE]
[REAGENT:A:1:STONE:NO_SUBTYPE:CREATURE_MAT:DRAGON:BONE]
[PRODUCT:100:1:WEAPON:ITEM_WEAPON_CROSSBOW:CREATURE_MAT:DRAGON:BONE]
[SKILL:BONECARVE]

[REACTION:MAKE_DRAGONBONE_BOW]
[NAME:Make Dragonbone Bow]
[BUILDING:DRAGONBONE_WEAPON_FORGE:NONE]
[REAGENT:A:1:STONE:NO_SUBTYPE:CREATURE_MAT:DRAGON:BONE]
[PRODUCT:100:1:WEAPON:ITEM_WEAPON_BOW:CREATURE_MAT:DRAGON:BONE]
[SKILL:BONECARVE]

[REACTION:MAKE_DRAGONBONE_BOLTS]
[NAME:Make Dragonbone Crossbow Bolts]
[BUILDING:DRAGONBONE_CRAFT_FORGE:NONE]
[REAGENT:A:1:STONE:NO_SUBTYPE:CREATURE_MAT:DRAGON:BONE]
[PRODUCT:100:5:AMMO:ITEM_AMMO_BOLTS:CREATURE_MAT:DRAGON:BONE]
[SKILL:BONECARVE]

[REACTION:MAKE_DRAGONBONE_ARROWS]
[NAME:Make Dragonbone Arrows]
[BUILDING:DRAGONBONE_CRAFT_FORGE:NONE]
[REAGENT:A:1:STONE:NO_SUBTYPE:CREATURE_MAT:DRAGON:BONE]
[PRODUCT:100:5:AMMO:ITEM_AMMO_ARROWS:CREATURE_MAT:DRAGON:BONE]
[SKILL:BONECARVE]

[REACTION:MAKE_DRAGONBONE_BREASTPLATE]
[NAME:Make Dragonbone Breastplate]
[BUILDING:DRAGONBONE_ARMOR_FORGE:NONE]
[REAGENT:A:1:STONE:NO_SUBTYPE:CREATURE_MAT:DRAGON:BONE]
[PRODUCT:100:1:ARMOR:ITEM_ARMOR_BREASTPLATE:CREATURE_MAT:DRAGON:BONE]
[SKILL:FORGE_ARMOR]

[REACTION:MAKE_DRAGONBONE_GAUNTLETS]
[NAME:Make Dragonbone Gauntlets]
[BUILDING:DRAGONBONE_ARMOR_FORGE:NONE]
[REAGENT:A:1:STONE:NO_SUBTYPE:CREATURE_MAT:DRAGON:BONE]
[PRODUCT:100:1:GLOVES:ITEM_GLOVES_GAUNTLETS:CREATURE_MAT:DRAGON:BONE]
[SKILL:FORGE_ARMOR]

[REACTION:MAKE_DRAGONBONE_GREAVES]
[NAME:Make Dragonbone Greaves]
[BUILDING:DRAGONBONE_ARMOR_FORGE:NONE]
[REAGENT:A:1:STONE:NO_SUBTYPE:CREATURE_MAT:DRAGON:BONE]
[PRODUCT:100:1:PANTS:ITEM_PANTS_GREAVES:CREATURE_MAT:DRAGON:BONE]
[SKILL:FORGE_ARMOR]

[REACTION:MAKE_DRAGONBONE_HIGH_BOOTS]
[NAME:Make Dragonbone High Boots]
[BUILDING:DRAGONBONE_ARMOR_FORGE:NONE]
[REAGENT:A:1:STONE:NO_SUBTYPE:CREATURE_MAT:DRAGON:BONE]
[PRODUCT:100:1:SHOES:ITEM_SHOES_BOOTS:CREATURE_MAT:DRAGON:BONE]
[SKILL:FORGE_ARMOR]

[REACTION:MAKE_DRAGONBONE_LOW_BOOTS]
[NAME:Make Dragonbone Low Boots]
[BUILDING:DRAGONBONE_ARMOR_FORGE:NONE]
[REAGENT:A:1:STONE:NO_SUBTYPE:CREATURE_MAT:DRAGON:BONE]
[PRODUCT:100:1:SHOES:ITEM_SHOES_BOOTS_LOW:CREATURE_MAT:DRAGON:BONE]
[SKILL:FORGE_ARMOR]

[REACTION:MAKE_DRAGONBONE_QUIVER]
[NAME:Make Dragonbone Quiver]
[BUILDING:DRAGONBONE_CRAFT_FORGE:NONE]
[REAGENT:A:1:STONE:NO_SUBTYPE:CREATURE_MAT:DRAGON:BONE]
[PRODUCT:100:1:QUIVER:NONE:CREATURE_MAT:DRAGON:BONE]
[SKILL:BONECARVE]

[REACTION:MAKE_DRAGONBONE_PIPE_SECTION]
[NAME:Make Dragonbone Pipe Section]
[BUILDING:DRAGONBONE_CRAFT_FORGE:NONE]
[REAGENT:A:1:STONE:NO_SUBTYPE:CREATURE_MAT:DRAGON:BONE]
[PRODUCT:100:1:PIPE_SECTION:NONE:CREATURE_MAT:DRAGON:BONE]
[SKILL:BONECARVE]

[REACTION:MAKE_DRAGONBONE_MECHANISM]
[NAME:Make Dragonbone Mechanism]
[BUILDING:DRAGONBONE_CRAFT_FORGE:NONE]
[REAGENT:A:1:STONE:NO_SUBTYPE:CREATURE_MAT:DRAGON:BONE]
[PRODUCT:100:1:TRAPPARTS:NONE:CREATURE_MAT:DRAGON:BONE]
[SKILL:BONECARVE]

[REACTION:MAKE_DRAGONBONE_TOTEM]
[NAME:Make Dragonbone Totem]
[BUILDING:DRAGONBONE_CRAFT_FORGE:NONE]
[REAGENT:A:1:STONE:NO_SUBTYPE:CREATURE_MAT:DRAGON:BONE]
[PRODUCT:100:1:TOTEM:NONE:CREATURE_MAT:DRAGON:BONE]
[SKILL:BONECARVE]

[REACTION:MAKE_DRAGONBONE_EARRING]
[NAME:Make Dragonbone Earring]
[BUILDING:DRAGONBONE_CRAFT_FORGE:NONE]
[REAGENT:A:1:STONE:NO_SUBTYPE:CREATURE_MAT:DRAGON:BONE]
[PRODUCT:100:1:EARRING:NONE:CREATURE_MAT:DRAGON:BONE]
[SKILL:BONECARVE]

[REACTION:MAKE_DRAGONBONE_BRACELET]
[NAME:Make Dragonbone Bracelet]
[BUILDING:DRAGONBONE_CRAFT_FORGE:NONE]
[REAGENT:A:1:STONE:NO_SUBTYPE:CREATURE_MAT:DRAGON:BONE]
[PRODUCT:100:1:BRACELET:NONE:CREATURE_MAT:DRAGON:BONE]
[SKILL:BONECARVE]

[REACTION:MAKE_DRAGONBONE_SCOURGE]
[NAME:Make Dragonbone Scourge]
[BUILDING:DRAGONBONE_WEAPON_FORGE:NONE]
[REAGENT:A:1:STONE:NO_SUBTYPE:CREATURE_MAT:DRAGON:BONE]
[PRODUCT:100:1:WEAPON:ITEM_WEAPON_SCOURGE:CREATURE_MAT:DRAGON:BONE]
[SKILL:BONECARVE]

[REACTION:MAKE_DRAGONBONE_WHIP]
[NAME:Make Dragonbone Whip]
[BUILDING:DRAGONBONE_WEAPON_FORGE:NONE]
[REAGENT:A:1:STONE:NO_SUBTYPE:CREATURE_MAT:DRAGON:BONE]
[PRODUCT:100:1:WEAPON:ITEM_WEAPON_WHIP:CREATURE_MAT:DRAGON:BONE]
[SKILL:BONECARVE]

[REACTION:MAKE_DRAGONBONE_SCIMITAR]
[NAME:Make Dragonbone Scimitar]
[BUILDING:DRAGONBONE_WEAPON_FORGE:NONE]
[REAGENT:A:1:STONE:NO_SUBTYPE:CREATURE_MAT:DRAGON:BONE]
[PRODUCT:100:1:WEAPON:ITEM_WEAPON_SCIMITAR:CREATURE_MAT:DRAGON:BONE]
[SKILL:BONECARVE]

[REACTION:MAKE_DRAGONBONE_SWORD_SHORT]
[NAME:Make Dragonbone Shortsword]
[BUILDING:DRAGONBONE_WEAPON_FORGE:NONE]
[REAGENT:A:1:STONE:NO_SUBTYPE:CREATURE_MAT:DRAGON:BONE]
[PRODUCT:100:1:WEAPON:ITEM_WEAPON_SWORD_SHORT:CREATURE_MAT:DRAGON:BONE]
[SKILL:BONECARVE]

[REACTION:MAKE_DRAGONBONE_PIKE]
[NAME:Make Dragonbone Pike]
[BUILDING:DRAGONBONE_WEAPON_FORGE:NONE]
[REAGENT:A:1:STONE:NO_SUBTYPE:CREATURE_MAT:DRAGON:BONE]
[PRODUCT:100:1:WEAPON:ITEM_WEAPON_PIKE:CREATURE_MAT:DRAGON:BONE]
[SKILL:BONECARVE]

[REACTION:MAKE_DRAGONBONE_HALBERD]
[NAME:Make Dragonbone Halberd]
[BUILDING:DRAGONBONE_WEAPON_FORGE:NONE]
[REAGENT:A:1:STONE:NO_SUBTYPE:CREATURE_MAT:DRAGON:BONE]
[PRODUCT:100:1:WEAPON:ITEM_WEAPON_HALBERD:CREATURE_MAT:DRAGON:BONE]
[SKILL:BONECARVE]

[REACTION:MAKE_DRAGONBONE_MORNINGSTAR]
[NAME:Make Dragonbone Morningstar]
[BUILDING:DRAGONBONE_WEAPON_FORGE:NONE]
[REAGENT:A:1:STONE:NO_SUBTYPE:CREATURE_MAT:DRAGON:BONE]
[PRODUCT:100:1:WEAPON:ITEM_WEAPON_MORNINGSTAR:CREATURE_MAT:DRAGON:BONE]
[SKILL:BONECARVE]

[REACTION:MAKE_DRAGONBONE_SHIELD]
[NAME:Make Dragonbone Shield]
[BUILDING:DRAGONBONE_ARMOR_FORGE:NONE]
[REAGENT:A:1:STONE:NO_SUBTYPE:CREATURE_MAT:DRAGON:BONE]
[PRODUCT:100:1:SHIELD:ITEM_SHIELD_SHIELD:CREATURE_MAT:DRAGON:BONE]
[SKILL:FORGE_ARMOR]

[REACTION:MAKE_DRAGONBONE_BUCKLER]
[NAME:Make Dragonbone Buckler]
[BUILDING:DRAGONBONE_ARMOR_FORGE:NONE]
[REAGENT:A:1:STONE:NO_SUBTYPE:CREATURE_MAT:DRAGON:BONE]
[PRODUCT:100:1:SHIELD:ITEM_SHIELD_BUCKLER:CREATURE_MAT:DRAGON:BONE]
[SKILL:FORGE_ARMOR]

[REACTION:MAKE_DRAGONBONE_STATUE]
[NAME:Make Dragonbone Statue]
[BUILDING:DRAGONBONE_FURNITURE_FORGE:NONE]
[REAGENT:A:1:STONE:NO_SUBTYPE:CREATURE_MAT:DRAGON:BONE]
[PRODUCT:100:1:STATUE:NO_SUBTYPE:CREATURE_MAT:DRAGON:BONE]
[SKILL:BONECARVE]

[REACTION:MAKE_DRAGONBONE_TRAINING_AXE]
[NAME:Make Dragonbone Training Axe]
[BUILDING:DRAGONBONE_WEAPON_FORGE:NONE]
[REAGENT:A:1:STONE:NO_SUBTYPE:CREATURE_MAT:DRAGON:BONE]
[PRODUCT:100:1:WEAPON:ITEM_WEAPON_AXE_TRAINING:CREATURE_MAT:DRAGON:BONE]
[SKILL:BONECARVE]

[REACTION:MAKE_DRAGONBONE_TRAINING_SWORD]
[NAME:Make Dragonbone Training Sword]
[BUILDING:DRAGONBONE_WEAPON_FORGE:NONE]
[REAGENT:A:1:STONE:NO_SUBTYPE:CREATURE_MAT:DRAGON:BONE]
[PRODUCT:100:1:WEAPON:ITEM_WEAPON_SWORD_SHORT_TRAINING:CREATURE_MAT:DRAGON:BONE]
[SKILL:BONECARVE]

[REACTION:MAKE_DRAGONBONE_TRAINING_SPEAR]
[NAME:Make Dragonbone Training Spear]
[BUILDING:DRAGONBONE_WEAPON_FORGE:NONE]
[REAGENT:A:1:STONE:NO_SUBTYPE:CREATURE_MAT:DRAGON:BONE]
[PRODUCT:100:1:WEAPON:ITEM_WEAPON_SPEAR_TRAINING:CREATURE_MAT:DRAGON:BONE]
[SKILL:BONECARVE]

[REACTION:MAKE_DRAGONBONE_ANVIL]
[NAME:Make Dragonbone Anvil]
[BUILDING:DRAGONBONE_FURNITURE_FORGE:NONE]
[REAGENT:A:1:STONE:NO_SUBTYPE:CREATURE_MAT:DRAGON:BONE]
[PRODUCT:100:1:ANVIL:NONE:CREATURE_MAT:DRAGON:BONE]
[SKILL:BONECARVE]

Anyways here is a simpler way to do something like this (doesn't need custom buildings, etc.):

Let's say you wanted to make a (Dragon) bone breastplate at your SMELTER
Code: [Select]
[REACTION:MAKE_DRAGONBONE_BREASTPLATE]
[NAME:Make Dragonbone Breastplate]
[BUILDING:SMELTER:NONE]
[PRODUCT:100:1:ARMOR:ITEM_ARMOR_BREASTPLATE:CREATURE_MAT:DRAGON:BONE]
[SKILL:FORGE_ARMOR]

Changing the SKILL section in the reaction will determine which skill gets used (and trained) by the reaction. For bones I like to either just use BONECARVE for everything or spread things out among the more appropriate skill types depending on the specific project.

This reaction would always produce a single breastplate out of dragonbone whenever used. In this particular form it consumes/uses no materials/reagents, so you get something for nothing. However if you wanted to be more dependent on material availability you could always do this:

Code: [Select]
[REACTION:MAKE_BONE_BREASTPLATE]
[NAME:Make Bone Breastplate]
[BUILDING:SMELTER:NONE]
[REAGENT:A:1:NONE:NONE:NONE:NONE][USE_BODY_COMPONENT]
[PRODUCT:100:1:ARMOR:ITEM_ARMOR_BREASTPLATE:GET_MATERIAL_FROM_REAGENT:A:BONE]
[SKILL:FORGE_ARMOR]

In this example any body part would likely be grabbed up and used in the reaction.. even if there was not any bone in it at all (meat, fat, etc.)

To make things easier (for using sentient critters) you can always change the Ethics tokens for your civilization of choice.
Code: [Select]
[ETHIC:EAT_SAPIENT_OTHER:ACCEPTABLE]
[ETHIC:EAT_SAPIENT_KILL:ACCEPTABLE]
[ETHIC:MAKE_TROPHY_SAME_RACE:ACCEPTABLE]
[ETHIC:MAKE_TROPHY_SAPIENT:ACCEPTABLE]
[ETHIC:MAKE_TROPHY_ANIMAL:ACCEPTABLE]

With an ethics change alone (no other custom reactions/etc) your civ entities will start using bone & other products from the corpses of their own dead as well as from enemies.
Logged
"I’m going to keep bloody gambling! Bloody, bloody gambling and drinking! Where’s my bloody drink? Anyone want to gamble for it?”

Send in the Clowns: &.&

CandyTophat

  • Bay Watcher
  • Pixels!
    • View Profile
    • The kindom of loathing!
Re: Badass bone equipment for dorfs, elves and goblins?
« Reply #3 on: February 03, 2012, 08:09:29 am »

Thanks!
It works,and i made some elves angry by deforesting the area.
and my dorfs are using orc bone hammers to smash through their human bone armor  :D.

But bone is stupidly weak...
Should i copypaste some stats of iron or bronze to bone?
Logged
Dwarf fortress ethics.
Of course there's an ethical way to train doctors! Toss children off short cliffs. Since they're not useful adults, injuring them isn't a waste of valuable labor, and since they're not nobles, it's ethical to use short cliffs instead of tall ones!

Meph

  • Bay Watcher
    • View Profile
    • worldbicyclist
Re: Badass bone equipment for dorfs, elves and goblins?
« Reply #4 on: February 03, 2012, 10:26:01 am »

Make different kinds of bone. Kitten bone is weak, dragon bone is steel like. And everything in between. ;)
Logged
::: ☼Meph Tileset☼☼Map Tileset☼- 32x graphic sets with TWBT :::
::: ☼MASTERWORK DF☼ - A comprehensive mod pack now on Patreon - 250.000+ downloads and counting :::
::: WorldBicyclist.com - Follow my bike tours around the world - 148 countries visited :::

CandyTophat

  • Bay Watcher
  • Pixels!
    • View Profile
    • The kindom of loathing!
Re: Badass bone equipment for dorfs, elves and goblins?
« Reply #5 on: February 03, 2012, 11:25:48 am »

Make different kinds of bone. Kitten bone is weak, dragon bone is steel like. And everything in between. ;)

I know i should, but in modding im adept...

help again please?
Logged
Dwarf fortress ethics.
Of course there's an ethical way to train doctors! Toss children off short cliffs. Since they're not useful adults, injuring them isn't a waste of valuable labor, and since they're not nobles, it's ethical to use short cliffs instead of tall ones!