Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  

Author Topic: Need help with using the Bread mod  (Read 831 times)

Visus Draconis

  • Bay Watcher
  • Prognosticationist
    • View Profile
Need help with using the Bread mod
« on: April 16, 2014, 11:06:56 am »

I have a question regarding the use of Dwarfu's Bread mod (or the one from TomiTapio's Old Genesis).

I've been trying to make bread-making use up a smaller amount of flour to make more bread. What I'm aiming for is making 1 bag of flour create a decent amount of bread: say, 9-10 pieces for one bagful. The problem is that it doesn't seem to recognize that I have enough flour, despite me having several bags of flour on hand. What pops up is a listing of what reagents need to be used, namely "Unrotten BREAD_MAT-producing powder".

All of my plant raws have the [MATERIAL_REACTION_PRODUCT:BREAD_MAT:LOCAL_PLANT_MAT:BREAD] part added so there's no chance it's that problem. I'm also using the Modest Mod fixes for milling plants.

Here are my reaction raws:

Spoiler: Baking Bread (click to show/hide)


What am I doing wrong?
Logged
"Armok, I would like a set of ☼adamantine socks☼ for the winter holiday."

Syndrome-causing cloud of creeping mist appears at the edge of the map.

"I'll take that as a no."

Dirtcopter77

  • Bay Watcher
    • View Profile
Re: Need help with using the Bread mod
« Reply #1 on: April 16, 2014, 08:18:16 pm »

The [REAGENT:flour:150 part is probably what's making it need too much flour. Unless powder uses a weird numerical system like cloth and thread, that 150 should just be 1.
Logged

Putnam

  • Bay Watcher
  • DAT WIZARD
    • View Profile
Re: Need help with using the Bread mod
« Reply #2 on: April 17, 2014, 12:22:15 am »

The [REAGENT:flour:150 part is probably what's making it need too much flour. Unless powder uses a weird numerical system like cloth and thread, that 150 should just be 1.

It does.

Deon

  • Bay Watcher
  • 💀 💀 💀 💀 💀
    • View Profile
Re: Need help with using the Bread mod
« Reply #3 on: April 17, 2014, 02:58:21 am »

It's the way it works in Genesis Reborn too.
Just add additional PRODUCT lines to increase the output, unless the issue is different.
Logged
▬(ஜ۩۞۩ஜ)▬
✫ DF Wanderer ✫ - the adventure mode crafting and tweaks
✫ Cartographer's Lounge ✫ - a custom worldgen repository

Visus Draconis

  • Bay Watcher
  • Prognosticationist
    • View Profile
Re: Need help with using the Bread mod
« Reply #4 on: April 17, 2014, 05:23:47 am »

Ahhh, so flour works like metal bars, in that the [PRODUCT_DIMENSION:150] part just affects how much can be put into a container? That tag kind of confused me for a bit. Thought that meant flour worked like cloth.

Going to try your fix now. Thanks guys!

EDIT: Still not working for some reason. I even added the fix to my savefile's raws.

Damn. And I had such a good fort going too.
« Last Edit: April 17, 2014, 07:05:37 am by Visus Draconis »
Logged
"Armok, I would like a set of ☼adamantine socks☼ for the winter holiday."

Syndrome-causing cloud of creeping mist appears at the edge of the map.

"I'll take that as a no."

Visus Draconis

  • Bay Watcher
  • Prognosticationist
    • View Profile
Re: Need help with using the Bread mod
« Reply #5 on: April 17, 2014, 10:49:44 am »

Bumping this thread, just in case.
Logged
"Armok, I would like a set of ☼adamantine socks☼ for the winter holiday."

Syndrome-causing cloud of creeping mist appears at the edge of the map.

"I'll take that as a no."

Dwarfu

  • Bay Watcher
  • Dwarven Advisor
    • View Profile
Re: Need help with using the Bread mod
« Reply #6 on: April 20, 2014, 12:56:26 am »

I'll have to fiddle with this again, so not sure if this is the issue or not, but are your flour bags all being stored in barrels?  Because this is a custom reaction, it probably isn't looking inside barrels for reagents.  It is best to make a flour-only stockpile with no barrels (or no stockpile at all, just restrict flour from your main food stockpile, since this reaction is automatic, they'll come along eventually and bake it instead of having an extra haul job to the stockpile first).

I use a reagent size of 30 and a product size of 1.  The result will be:
plant[1] (the [1] doesn't show, it will show as plant)
mill -> flour[1] (1 item of size 150)
bake -> bread[5] (150/30 = 5*1 = 5).

Likewise:
plant[2]
mill -> flour[2] (300, 2 items size 150 ea)
bake -> bread[10] (300/30 = 10*1 = 10).

Changing the reagent size to 50 and leaving the product at 1, yields:
plant[2]
mill -> flour[2] (300, 2 items size 150 ea)
bake -> bread[6] (300/50 = 6*1 = 6).

Changing the reagent size to 150 and changing the product size to 2, yields:
plant[2]
mill -> flour[2] (300, 2 items size 150 ea)
bake -> bread[4] (300/150 = 2*2 = 4).

So you see, you can manipulate the results by changing either the inputs or the outputs, or both.

Hope that helps.
« Last Edit: April 20, 2014, 04:18:05 am by Dwarfu »
Logged

Visus Draconis

  • Bay Watcher
  • Prognosticationist
    • View Profile
Re: Need help with using the Bread mod
« Reply #7 on: April 21, 2014, 10:28:03 pm »

I'll have to fiddle with this again, so not sure if this is the issue or not, but are your flour bags all being stored in barrels?  Because this is a custom reaction, it probably isn't looking inside barrels for reagents.  It is best to make a flour-only stockpile with no barrels (or no stockpile at all, just restrict flour from your main food stockpile, since this reaction is automatic, they'll come along eventually and bake it instead of having an extra haul job to the stockpile first).

I use a reagent size of 30 and a product size of 1.  The result will be:
plant[1] (the [1] doesn't show, it will show as plant)
mill -> flour[1] (1 item of size 150)
bake -> bread[5] (150/30 = 5*1 = 5).

Likewise:
plant[2]
mill -> flour[2] (300, 2 items size 150 ea)
bake -> bread[10] (300/30 = 10*1 = 10).

Changing the reagent size to 50 and leaving the product at 1, yields:
plant[2]
mill -> flour[2] (300, 2 items size 150 ea)
bake -> bread[6] (300/50 = 6*1 = 6).

Changing the reagent size to 150 and changing the product size to 2, yields:
plant[2]
mill -> flour[2] (300, 2 items size 150 ea)
bake -> bread[4] (300/150 = 2*2 = 4).

So you see, you can manipulate the results by changing either the inputs or the outputs, or both.

Hope that helps.

Yeah, the flour was in barrels. Making a 0-barrel storage for flour made it work. Thanks for the fix.

Also, that information on the reagent is pretty helpful. I'll keep that in mind, especially the first one (since that's what I had in mind for the bread reaction in the first place).
Logged
"Armok, I would like a set of ☼adamantine socks☼ for the winter holiday."

Syndrome-causing cloud of creeping mist appears at the edge of the map.

"I'll take that as a no."