Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  

Author Topic: Encrusting weapons and armor with gems  (Read 2282 times)

Crandal

  • Bay Watcher
    • View Profile
Encrusting weapons and armor with gems
« on: January 11, 2012, 11:00:57 am »

I've been thinking of making a set of armor in game encrusted gems.  However, Dwarves aren't capable of doing this from what the wiki tells me.  Is it possible to mod it so that they will use armor for gem encrusting, or is it hard coded?
Logged

rephikul

  • Bay Watcher
  • [CURIOUSBEAST_IDEA]
    • View Profile
Re: Encrusting weapons and armor with gems
« Reply #1 on: January 11, 2012, 11:14:03 am »

I think you can with the new reaction tag IMPROVEMENT. It has already been used with clay.
Logged
Intensifying Mod v0.23 for 0.31.25. Paper tigers are white.
Prepacked Dwarf Fortress with Intensifying mod v.0.23, Phoebus graphics set, DFhack, Dwarf Therapist, Runesmith and a specialized custom worldgen param.

Crandal

  • Bay Watcher
    • View Profile
Re: Encrusting weapons and armor with gems
« Reply #2 on: January 11, 2012, 08:17:02 pm »

All right.  Thank you.  Got it working now.
Logged

Meph

  • Bay Watcher
    • View Profile
    • worldbicyclist
Re: Encrusting weapons and armor with gems
« Reply #3 on: January 11, 2012, 09:12:27 pm »

Could you please post the Raws ? I would like to have a look. :)
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 :::

Deon

  • Bay Watcher
  • 💀 💀 💀 💀 💀
    • View Profile
Re: Encrusting weapons and armor with gems
« Reply #4 on: January 12, 2012, 03:03:05 am »

Check Genesis or Lofn's wanderer's friend mod.
Logged
▬(ஜ۩۞۩ஜ)▬
✫ DF Wanderer ✫ - the adventure mode crafting and tweaks
✫ Cartographer's Lounge ✫ - a custom worldgen repository

Veylon

  • Bay Watcher
    • View Profile
Re: Encrusting weapons and armor with gems
« Reply #5 on: January 20, 2012, 07:39:05 pm »

It'll look like this:
Code: [Select]
[REACTION:ENCRUST_ARMOR]
[NAME:encrust armor]
[BUILDING:CRAFTSMAN:CUSTOM_A]

[REAGENT:gem:1:SMALLGEM:NONE:NONE:NONE]
[REAGENT:armor:1:ARMOR:NONE:NONE:NONE][NOT_IMPROVED][PRESERVE_REAGENT]

[IMPROVEMENT:100:armor:COVERED:GET_MATERIAL_FROM_REAGENT:gem:NONE]

[SKILL:ENCRUSTGEM]

Replace ARMOR with WEAPON or HELM or SHOES to encrust things besides bodywear.
Logged
At what point did the suggestion of child sacrifice become the more ethical option?

Meph

  • Bay Watcher
    • View Profile
    • worldbicyclist
Re: Encrusting weapons and armor with gems
« Reply #6 on: January 20, 2012, 07:45:02 pm »

Shiny. Thanks
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 :::

Zanielyene

  • Bay Watcher
    • View Profile
Re: Encrusting weapons and armor with gems
« Reply #7 on: March 16, 2012, 08:10:30 pm »

It'll look like this:
Code: [Select]
[REACTION:ENCRUST_ARMOR]
[NAME:encrust armor]
[BUILDING:CRAFTSMAN:CUSTOM_A]

[REAGENT:gem:1:SMALLGEM:NONE:NONE:NONE]
[REAGENT:armor:1:ARMOR:NONE:NONE:NONE][NOT_IMPROVED][PRESERVE_REAGENT]

[IMPROVEMENT:100:armor:COVERED:GET_MATERIAL_FROM_REAGENT:gem:NONE]

[SKILL:ENCRUSTGEM]

Replace ARMOR with WEAPON or HELM or SHOES to encrust things besides bodywear.

This snippet does not work; does anyone else have any some raws for encrusting weps/armor with gems?
Logged

Zanielyene

  • Bay Watcher
    • View Profile
Re: Encrusting weapons and armor with gems
« Reply #8 on: March 16, 2012, 08:34:54 pm »

It'll look like this:
Code: [Select]
[REACTION:ENCRUST_ARMOR]
[NAME:encrust armor]
[BUILDING:CRAFTSMAN:CUSTOM_A]

[REAGENT:gem:1:SMALLGEM:NONE:NONE:NONE]
[REAGENT:armor:1:ARMOR:NONE:NONE:NONE][NOT_IMPROVED][PRESERVE_REAGENT]

[IMPROVEMENT:100:armor:COVERED:GET_MATERIAL_FROM_REAGENT:gem:NONE]

[SKILL:ENCRUSTGEM]

Replace ARMOR with WEAPON or HELM or SHOES to encrust things besides bodywear.

This snippet does not work; does anyone else have any some raws for encrusting weps/armor with gems?


I take that back, an entry needs to be made in the entity file for it to work, and the world needs to be regenned.
Logged