Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  

Author Topic: Stone beds?  (Read 922 times)

Need_More_War!

  • Bay Watcher
    • View Profile
Stone beds?
« on: October 19, 2009, 06:18:20 pm »

Would it be possible for me to mod it possible to make stone beds?
Logged

Deimos56

  • Bay Watcher
  • [PREFSTRING: unicorpion]
    • View Profile
Re: Stone beds?
« Reply #1 on: October 19, 2009, 07:43:59 pm »

As a reaction, yes.

Something to the effect of:

[REACTION:ROCKBED]
[NAME:make bed from stone]
[SMELTER]
[REAGENT:1:STONE:NO_SUBTYPE:STONE:NO_MATGLOSS]
[PRODUCT:100:1:BED:NO_SUBTYPE:STONE:MICA]
[FUEL]

I'm not sure if it'll work, but it should let you make rock beds. Unless I got it wrong, in which case someone else is likely to come in here with a somewhat more accurate version.
...Hopefully they won't go nuts and weigh fifteen trillion dwarf-pounds.
Logged
I'm curious what the barely conscious ai wrote about.
Well that went better than expected.  He went nuts and punched a rabbit to death, then the dogs and the whole dining hall ripped him to shreds.

Need_More_War!

  • Bay Watcher
    • View Profile
Re: Stone beds?
« Reply #2 on: October 19, 2009, 08:12:51 pm »

Thanks, if it ends up weighing that much, I better start getting my dwarf's strenght up....
Logged

sunshaker

  • Bay Watcher
    • View Profile
Re: Stone beds?
« Reply #3 on: October 20, 2009, 09:58:32 am »

As a reaction, yes.

Something to the effect of:

[REACTION:ROCKBED]
[NAME:make bed from stone]
[SMELTER]
[REAGENT:1:STONE:NO_SUBTYPE:STONE:NO_MATGLOSS]
[PRODUCT:100:1:BED:NO_SUBTYPE:STONE:MICA]
[FUEL]

I'm not sure if it'll work, but it should let you make rock beds. Unless I got it wrong, in which case someone else is likely to come in here with a somewhat more accurate version.
...Hopefully they won't go nuts and weigh fifteen trillion dwarf-pounds.

That looks fine, though you don't need to use [FUEL] (you can have reactions without fuel, fuel is for those reactions where you need to use heat, it is a kind of flavor text, though I suppose you could melt the rock and cast a bed with a mold). Instead of mica I use obsidian, makes the bed worth more. The only time you end up with items that are infinite weight (or any of the wacky other problems) is when you specify a material that is not defined (so if you have NO_MATGLOSS instead of mica).
Logged

Deon

  • Bay Watcher
  • 💀 💀 💀 💀 💀
    • View Profile
Re: Stone beds?
« Reply #4 on: October 20, 2009, 10:39:36 am »

Logged
▬(ஜ۩۞۩ஜ)▬
✫ DF Wanderer ✫ - the adventure mode crafting and tweaks
✫ Cartographer's Lounge ✫ - a custom worldgen repository

Taritus

  • Bay Watcher
    • View Profile
Re: Stone beds?
« Reply #5 on: October 21, 2009, 01:52:13 pm »

Yeah, that won't work.  This line
Code: [Select]
[REAGENT:1:STONE:NO_SUBTYPE:STONE:NO_MATGLOSS] causes the game to expect a 'stone' when you want to make a Mica bed.  You can't get stones without matglosses regularly, so you'll never even see the option to make a bed out of stone.
Logged



Deon

  • Bay Watcher
  • 💀 💀 💀 💀 💀
    • View Profile
Re: Stone beds?
« Reply #6 on: October 21, 2009, 02:12:15 pm »

Why, you can get stones in general if it's [REAGENT:1:STONE:NO_SUBTYPE:STONE:NO_MATGLOSS]
At least it worked for random metals and plants, and it worked for my reaction to destroy stones.
« Last Edit: October 21, 2009, 02:14:34 pm by Deon »
Logged
▬(ஜ۩۞۩ஜ)▬
✫ DF Wanderer ✫ - the adventure mode crafting and tweaks
✫ Cartographer's Lounge ✫ - a custom worldgen repository