Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  

Author Topic: stone beds  (Read 1371 times)

nopeasants

  • Bay Watcher
    • View Profile
stone beds
« on: August 22, 2012, 07:42:49 am »

hey everyone, im on a few treeless maps at the moment, just wondering how i could make myself stone beds at the masons workshop,
any help would be appreciated.
cheers
Logged

peregarrett

  • Bay Watcher
  • Гномовержец Enjoyed throwing someone recently
    • View Profile
Re: stone beds
« Reply #1 on: August 22, 2012, 07:46:02 am »

[REAGENT:1:stone:BOULDER:NONE:NONE:NONE]
[PRODUCT:100:1:BED:NONE:GET_MATERIAL_FROM_REAGENT:stone:NONE]

something like that
Logged
Did you know that the Russian word for "sock" is "no sock"?
I just saw a guy with two broken legs push a minecart with a corpse in it. Yeah.

Quietust

  • Bay Watcher
  • Does not suffer fools gladly
    • View Profile
    • QMT Productions
Re: stone beds
« Reply #2 on: August 22, 2012, 10:49:08 am »

[REAGENT:1:stone:BOULDER:NONE:NONE:NONE]
[PRODUCT:100:1:BED:NONE:GET_MATERIAL_FROM_REAGENT:stone:NONE]

something like that
That alone won't do anything at all - you need the rest of the tags from a working custom reaction (along with adding it to your entity definitions as a permitted reaction). Also, you got the REAGENT wrong - name first, then quantity.

Code: [Select]
[REACTION:MAKE_STONE_BED]
[NAME:make rock bed]
[BUILDING:SMELTER:NONE]
[REAGENT:stone:1:BOULDER:NONE:NONE:NONE]
[PRODUCT:100:1:BED:NONE:GET_MATERIAL_FROM_REAGENT:stone:NONE]
[SKILL:MASON]

Also, you can't do it at a Mason's workshop because it's not one of the specific workshops that can accept custom reactions.
« Last Edit: August 22, 2012, 10:50:43 am by Quietust »
Logged
P.S. If you don't get this note, let me know and I'll write you another.
It's amazing how dwarves can make a stack of bones completely waterproof and magmaproof.
It's amazing how they can make an entire floodgate out of the bones of 2 cats.

Lurking Grue

  • Bay Watcher
    • View Profile
Re: stone beds
« Reply #3 on: August 22, 2012, 01:22:56 pm »

You might want to add [WORTHLESS_STONE_ONLY] to the reaction so the mason doesnt go using up precious flux and what not.
Logged

nopeasants

  • Bay Watcher
    • View Profile
Re: stone beds
« Reply #4 on: August 23, 2012, 03:12:38 am »

what about the crafts shop?
and what file is the bed entity in?
Logged

peregarrett

  • Bay Watcher
  • Гномовержец Enjoyed throwing someone recently
    • View Profile
Re: stone beds
« Reply #5 on: August 23, 2012, 03:36:59 am »

what about the crafts shop?
and what file is the bed entity in?
you can use KILN, SMELTER, TANNER, KITCHEN, QUERN, MILLSTONE, STILL, CRAFTSMAN, SOAP_MAKER, SCREW_PRESS, and any custom buildings.
It's nowhere in raws, beds are hardcoded. But you still can make reactions with them.
*I wish so much Toady finally put ALL hardcoded stuff into raws!*
Logged
Did you know that the Russian word for "sock" is "no sock"?
I just saw a guy with two broken legs push a minecart with a corpse in it. Yeah.

TomiTapio

  • Bay Watcher
  • OldGenesis since 2012
    • View Profile
    • My Flickr animal photos
Re: stone beds
« Reply #6 on: August 23, 2012, 11:28:24 am »

Try this reaction from Genesis. Rock plus cloth into a bed.
[REACTION:CRAFT_STONE_BED]
   [NAME:craft rock bed]
   [BUILDING:CRAFTSMAN:CUSTOM_SHIFT_B]
   [REAGENT:A:1:BOULDER:NONE:NONE:NONE][WORTHLESS_STONE_ONLY]
   [REAGENT:B:1:CLOTH:NONE:NONE:NONE]
   [PRODUCT:100:1:BED:NONE:GET_MATERIAL_FROM_REAGENT:A:NONE]
   [SKILL:MASONRY]
and into the dwarf entity you put [PERMITTED_REACTION:CRAFT_STONE_BED].

Oh, and you can't add a NEW reaction into an existing save, you can only edit existing reactions.
« Last Edit: August 23, 2012, 11:30:07 am by TomiTapio »
Logged
==OldGenesis mod== by Deon & TomiTapio. Five wood classes, four leather classes. Nine enemy civs. So much fine-tuning.
47.05e release: http://dffd.bay12games.com/who.php?id=1538
OldGenesis screenshots: https://twitter.com/hashtag/OldGenesis?src=hashtag_click&f=image
My Finnish language file: http://dffd.bay12games.com/file.php?id=14884