Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  

Author Topic: Making Beds out of Rock and Leather  (Read 853 times)

Lord Zack

  • Bay Watcher
    • View Profile
Making Beds out of Rock and Leather
« on: January 22, 2012, 02:52:44 pm »

Basically I'd like to make an alternative to beds for use in low/no wood areas. I'm thinking that they'd be a bit more complex to make then beds, requiring a stone and bedding made from leather (and maybe cloth as well). So how would I do something like this?
Logged

Hugo_The_Dwarf

  • Bay Watcher
  • Modding Mentor
    • View Profile
    • Regeneration: Forced Evolution
Re: Making Beds out of Rock and Leather
« Reply #1 on: January 22, 2012, 02:59:48 pm »

Basically I'd like to make an alternative to beds for use in low/no wood areas. I'm thinking that they'd be a bit more complex to make then beds, requiring a stone and bedding made from leather (and maybe cloth as well). So how would I do something like this?
My mod Regneration uses this concept I also believe Gensis does too.
 What I have is

Code: [Select]
[REACTION:MAKE_ROCK_BED_1]
[NAME:make rock bed (cloth)]
[BUILDING:MASON_REGEN:CUSTOM_C]
[REAGENT:A:1:BOULDER:NONE:NONE:NONE][WORTHLESS_STONE_ONLY]
[REAGENT:B:15000:CLOTH:NONE:NONE:NONE]
[PRODUCT:100:1:BED:NONE:GET_MATERIAL_FROM_REAGENT:A:NONE]
[SKILL:MASONRY]

[REACTION:MAKE_ROCK_BED_2]
[NAME:make rock bed (leather)]
[BUILDING:MASON_REGEN:CUSTOM_L]
[REAGENT:A:1:BOULDER:NONE:NONE:NONE][WORTHLESS_STONE_ONLY]
[REAGENT:B:1:SKIN_TANNED:NONE:NONE:NONE]
[PRODUCT:100:1:BED:NONE:GET_MATERIAL_FROM_REAGENT:A:NONE]
[SKILL:MASONRY]
Logged

Abregado

  • Bay Watcher
    • View Profile
Re: Making Beds out of Rock and Leather
« Reply #2 on: January 22, 2012, 05:24:49 pm »

I was going to set something like this up but have:

Reaction: Wool + Cloth -> {WOOL_MAT} Mattress
Reaction: Stone -> {STONE_MAT} Bedframe
Reaction: Mattress + Bedframe = {WOOL_MAT} {STONE_MAT} Bed

Probably will cause massive item names (troll wool gneiss bed) in vanilla. Lucky none of the creature names I have are very long.

BAH looking at it my way is a lot more work...

Hugo_The_Dwarf

  • Bay Watcher
  • Modding Mentor
    • View Profile
    • Regeneration: Forced Evolution
Re: Making Beds out of Rock and Leather
« Reply #3 on: January 22, 2012, 06:14:42 pm »

I was going to set something like this up but have:

Reaction: Wool + Cloth -> {WOOL_MAT} Mattress
Reaction: Stone -> {STONE_MAT} Bedframe
Reaction: Mattress + Bedframe = {WOOL_MAT} {STONE_MAT} Bed

Probably will cause massive item names (troll wool gneiss bed) in vanilla. Lucky none of the creature names I have are very long.

BAH looking at it my way is a lot more work...
saddly when you make this frame and the matress you can only pick one material. Do you choose the Chicken? or do you choose the Egg? What came first?
Logged

Kweri

  • Bay Watcher
    • View Profile
Re: Making Beds out of Rock and Leather
« Reply #4 on: January 22, 2012, 06:16:43 pm »

An item can only be made out of one material, so you won't get absurdly long names like that. You can certainly use several materials in its construction, but in the end in your PRODUCT line tells the game the one material that the item will be made out of - usually in the form of the GET_MATERIAL_FROM_REAGENT bit.
Logged

Abregado

  • Bay Watcher
    • View Profile
Re: Making Beds out of Rock and Leather
« Reply #5 on: January 22, 2012, 11:18:46 pm »

fair enough. No doubt ill set it up so its based on the mattress material.

Would it be possible to set up a item improvement reaction to decorate a stone bedframe with a woolen mattress? It should show up in the item description then, but not in the item name?

Lord Zack

  • Bay Watcher
    • View Profile
Re: Making Beds out of Rock and Leather
« Reply #6 on: January 23, 2012, 09:18:02 am »

Thank you for all you're input guys.
Logged

Gizogin

  • Bay Watcher
  • [EVIL][RAWMANCER]
    • View Profile
Re: Making Beds out of Rock and Leather
« Reply #7 on: January 23, 2012, 10:01:14 am »

fair enough. No doubt ill set it up so its based on the mattress material.

Would it be possible to set up a item improvement reaction to decorate a stone bedframe with a woolen mattress? It should show up in the item description then, but not in the item name?

I believe so, but you'd end up with something odd.  It'd only take the material of the mattress, so you'd have a rock bed encrusted with wool.  There'd also be no way to distinguish between the bed before and after decoration.
Logged
Quote from: franti
"Let's expose our military to zombie-dust so they can't feel pain. They don't NEED skin."
Quote from: Ipwnurmom221
One FB post. Many dick jokes. Pokemon. !!VOLCANO!!. Dwarven mood thingee. Derailment itself. Girlinhat's hat. Cuba. Karl Marx. This is why i love Bay12 forums.
The rest of my sig.
Fear the fluffballs

Hugo_The_Dwarf

  • Bay Watcher
  • Modding Mentor
    • View Profile
    • Regeneration: Forced Evolution
Re: Making Beds out of Rock and Leather
« Reply #8 on: January 23, 2012, 10:12:23 am »

I would just take the material of the stone to make the bed. Stone beds sound rough, but the reaction makes me believe someone put a matress on it. If you really want you can just make bed rolls from cloth/wool + leather?
Logged