Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  

Author Topic: stone beds?  (Read 721 times)

stillrabbit730

  • Bay Watcher
    • View Profile
stone beds?
« on: January 26, 2016, 03:53:58 pm »

Ive been trying to implement stone beds but to no avail. can someone please tell me how to do this or point me to a mod that can?
Logged

vjmdhzgr

  • Bay Watcher
  • Hehehe
    • View Profile
Re: stone beds?
« Reply #1 on: January 26, 2016, 11:24:59 pm »

From everything I've ever heard directly from people, you can't make new furniture making reactions, however, I might just be remembering it wrong as it seems quite simple considering what's on the wiki.
http://dwarffortresswiki.org/index.php/DF2014:Reaction
Use this to guide you. Considering how you expected to be able to at some point, I'd guess you already somewhat know how to make reactions, so specifically the product is what matters for beds.
For that you'd want something like [PRODUCT:100:1:BED:NONE:GET_MATERIAL_FROM_REAGENT:whatever you called the reagent:NONE]
Logged
Its a feature. Impregnating booze is a planned tech tree for dwarves and this is a sneak peek at it.
Unless you're past reproductive age. Then you're pretty much an extension of your kids' genitalia

Bearskie

  • Bay Watcher
  • Nyam nyam
    • View Profile
Re: stone beds?
« Reply #2 on: January 26, 2016, 11:28:35 pm »

From everything I've ever heard directly from people, you can't make new furniture making reactions, however, I might just be remembering it wrong as it seems quite simple considering what's on the wiki.

Wait. Whaaaaaat?

Putnam

  • Bay Watcher
  • DAT WIZARD
    • View Profile
Re: stone beds?
« Reply #3 on: January 27, 2016, 01:00:30 am »

That was heard wrong. You cannot make new furniture. You can make new reactions that make furniture.

A_Cuter_Triangle

  • Bay Watcher
    • View Profile
Re: stone beds?
« Reply #4 on: January 27, 2016, 12:14:03 pm »

Here is my mod for adding hammocks.  The game calls them "wool beds" because you can't change the names of furniture.  Maybe this will give you some idea of what is required.  I would change it for you to make stone bed, but I'm not a very good modder, so I may mess it up.

This goes in a file called "reaction_hammocks.txt."
Code: [Select]
reaction_hammocks

[OBJECT:REACTION]
[REACTION:SEW_LEATHER_HAMMOCK]
[NAME:Sew leather hammock]
[BUILDING:HAMMOCK_MAKER:NONE]
[REAGENT:A:1:SKIN_TANNED:NONE:NONE:NONE]
[PRODUCT:100:1:BED:NONE:GET_MATERIAL_FROM_REAGENT:A:NONE]
[SKILL:LEATHERWORK]

[REACTION:SEW_CLOTH_HAMMOCK]
[NAME:Sew cloth hammock]
[BUILDING:HAMMOCK_MAKER:NONE]
[REAGENT:A:10000:CLOTH:NONE:NONE:NONE]
[PRODUCT:100:1:BED:NONE:GET_MATERIAL_FROM_REAGENT:A:NONE]
[SKILL:CLOTHESMAKING]

Add these lines to the dwarf entity.
Code: [Select]
[PERMITTED_REACTION:SEW_LEATHER_HAMMOCK]
[PERMITTED_REACTION:SEW_CLOTH_HAMMOCK]
[PERMITTED_BUILDING:HAMMOCK_MAKER]

Put this at the end of building_custom.txt, or make another building file.  Here is a link to a building designer:  http://www.bay12forums.com/smf/index.php?topic=54004
Code: [Select]
[BUILDING_WORKSHOP:HAMMOCK_MAKER]
[NAME:Hammock Maker's Workshop]
[NAME_COLOR:7:0:1]
[WORK_LOCATION:2:2]
[DIM:3:2]
[BLOCK:1:0:0:0]
[BLOCK:2:0:0:0]
[TILE:0:1:179:179:179]
[TILE:0:2:179:179:179]
[COLOR:0:1:7:0:0:7:0:0:7:0:0]
[COLOR:0:2:7:0:0:7:0:0:7:0:0]
[TILE:1:1:0:205:185]
[TILE:1:2:32:32:32]
[COLOR:1:1:7:0:0:7:0:0:7:0:0]
[COLOR:1:2:0:0:0:0:0:0:0:0:0]
[TILE:2:1:219:205:185]
[TILE:2:2:176:176:176]
[COLOR:2:1:7:0:0:7:0:0:7:0:0]
[COLOR:2:2:7:0:0:7:0:0:7:0:0]
[TILE:3:1:15:205:185]
[TILE:3:2:176:176:176]
[COLOR:3:1:0:7:0:7:0:0:7:0:0]
[COLOR:3:2:7:0:0:7:0:0:7:0:0]
[BUILD_ITEM:1:NONE:NONE:NONE:NONE][BUILDMAT][WORTHLESS_STONE_ONLY][CAN_USE_ARTIFACT]
Logged