Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  

Author Topic: Help with gem crafted weapons - specific material names  (Read 1087 times)

MJOne

  • Escaped Lunatic
    • View Profile
Help with gem crafted weapons - specific material names
« on: February 21, 2013, 06:37:34 pm »

Hi all!

I have a question when it comes to gem crafted items...
Im currently fidling with making gem crafted weapons and such...

Ive managed to make the workshop and the reaction work...

However... when I craft the weapon it only says: "gem battle axe"...
How would I make my reaction and what else do I need to do to make it specify what material was used rather then name it generic...

If i use rubies I want the game to tell me its a ruby battle axe etc... is there a way to do that without have to specify every reaction for every gem type?

Is this something I should use in my reaction and how does it work?
GET_MATERIAL_FROM_REAGENT ?

Plz be gentle with me Im pretty green on all this :P
Logged

evictedSaint

  • Bay Watcher
  • if (ANNOYED_W_FANS==true) { KILL_CHAR(rand()); }
    • View Profile
Re: Help with gem crafted weapons - specific material names
« Reply #1 on: February 21, 2013, 06:56:23 pm »

Could you please post the mods you've made in the raws? It would make troubleshooting so much easier.

MJOne

  • Escaped Lunatic
    • View Profile
Re: Help with gem crafted weapons - specific material names
« Reply #2 on: February 21, 2013, 06:56:51 pm »

Never mind I got that to work now...

However... how do I make them put the gem weapons in the stockpile?
Logged

i2amroy

  • Bay Watcher
  • Cats, ruling the world one dwarf at a time
    • View Profile
Re: Help with gem crafted weapons - specific material names
« Reply #3 on: February 21, 2013, 07:53:30 pm »

I'm not quite sure what you are trying to store here. IS this a weapon made out of a gem? Are you encrusting or improving weapons with gems? If you post your reaction then we will know exactly what you are doing an will be able to help, elsewise there isn't much we can do.
Logged
Quote from: PTTG
It would be brutally difficult and probably won't work. In other words, it's absolutely dwarven!
Cataclysm: Dark Days Ahead - A fun zombie survival rougelike that I'm dev-ing for.

evictedSaint

  • Bay Watcher
  • if (ANNOYED_W_FANS==true) { KILL_CHAR(rand()); }
    • View Profile
Re: Help with gem crafted weapons - specific material names
« Reply #4 on: February 21, 2013, 08:00:27 pm »

However... how do I make them put the gem weapons in the stockpile?

They won't.  It's not made of a material the stockpile recognizes (steel, bronze, copper, etc).

MJOne

  • Escaped Lunatic
    • View Profile
Re: Help with gem crafted weapons - specific material names
« Reply #5 on: February 21, 2013, 08:07:09 pm »

Alright I see... what a bugger...

Thanks though :)

Logged

Meph

  • Bay Watcher
    • View Profile
    • worldbicyclist
Re: Help with gem crafted weapons - specific material names
« Reply #6 on: February 21, 2013, 08:56:38 pm »

I have a clunky solution for this problem: Make a metal called "gem", then make redirect all reactions that use gems to make weapons/armor to this "gem metal". The weapons will be called gem and will be properly stockpiled. Since there are 3 types of gems in the game (ornamental, semi-precious and precious) it would make sense to make 3 "gem metals" with different strengths. That way rock crystal gem swords are weaker then diamond gem swords.

Hope that helps.
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 :::