Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  

Author Topic: Making a metal bed  (Read 715 times)

Nibble

  • Bay Watcher
    • View Profile
Making a metal bed
« on: July 18, 2010, 09:15:49 am »

I tried searching for this, but nothing came up.  I'd like to be able to make gold and adamantine beds.  How would I go about editing this into the raws?  Would I be able to put it into my current game, or would I have to generate a new world?
Logged

GaxkangtheUnbound

  • Bay Watcher
  • To the skies!
    • View Profile
Re: Making a metal bed
« Reply #1 on: July 18, 2010, 10:00:58 am »

I tried searching for this, but nothing came up.  I'd like to be able to make gold and adamantine beds.  How would I go about editing this into the raws?  Would I be able to put it into my current game, or would I have to generate a new world?
Somewhere along the lines of this:
Code: [Select]
[REACTION:MAKE_BED_METAL]
    [NAME:smelt metal bed]
    [BUILDING:SMELTER:CUSTOM_B]
    [REAGENT:A:2:BAR:NO_SUBTYPE:METAL:NONE]
    [PRODUCT:100:1:BED:NONE:GET_MATERIAL_FROM_REAGENT:NONE]
    [SKILL:SMELT]
And for entity_default:
Code: [Select]
[PERMITTED_REACTION:MAKE_BED_METAL]I used the smelter so you would not have to worry about making a custom workshop.
« Last Edit: July 18, 2010, 10:31:52 am by GaxkangtheUnbound »
Logged
Proud of my heritage.
Prepare to lose your sanity.

Nibble

  • Bay Watcher
    • View Profile
Re: Making a metal bed
« Reply #2 on: July 18, 2010, 10:19:17 am »

Thanks!  I see that you used "MAKE_METAL_BED" for the reaction, and "CRAFT_METAL_BED" in the entity file.  Shouldn't they both have the same name?
Logged

GaxkangtheUnbound

  • Bay Watcher
  • To the skies!
    • View Profile
Re: Making a metal bed
« Reply #3 on: July 18, 2010, 10:31:39 am »

Thanks!  I see that you used "MAKE_METAL_BED" for the reaction, and "CRAFT_METAL_BED" in the entity file.  Shouldn't they both have the same name?
My bad. Yes, they should be the same.
Logged
Proud of my heritage.
Prepare to lose your sanity.