Jump to content

Recommended Posts

Posted

Hello! 

I am a bit confuse about the building of cellars. The wiki states that 7x7x7 is the biggest you can go in a cube shape. But any other shape can only have a 150 block volume compared to the 7x7x7= 343 block volume.

Am I understanding the rules wrong?

Wiki topic

Posted

No it's 7x7x7 room inside. I just tested it and it had the cellar benefits, so the maximum on the standard dimensions is 7x7x7 on the inside.

9 hours ago, Straille said:

my guess is that the walls are included in the 7x7x7, meaning the inside is 5x5x5 = 125
the language is definitely confusing

 

  • Thanks 1
Posted

I tested it with a 10x3x5 = 150 inside room cellar, which does not deem to work. Then I tried with 150 whole volume with the same dimensions and it also did not give any cellar benefits. I then tried with an inside of 7x3x7 = 147 which worked. Then I did 9x3x5 which also worked.

So my conclusion is that the rules in the wiki are absolutely bad wording and the actual rules seem different.

 

  • Solution
Posted (edited)

That's the actual game code (Systems/RoomRegistry.cs)

            bool isCellar = sizex <= MAXCELLARSIZE && sizey <= MAXCELLARSIZE && sizez <= MAXCELLARSIZE;
            if (!isCellar && volumeCount <= ALTMAXCELLARVOLUME)
            { 
                isCellar = sizex <= ALTMAXCELLARSIZE && sizey <= MAXCELLARSIZE && sizez <= MAXCELLARSIZE
                    || sizex <= MAXCELLARSIZE && sizey <= ALTMAXCELLARSIZE && sizez <= MAXCELLARSIZE
                    || sizex <= MAXCELLARSIZE && sizey <= MAXCELLARSIZE && sizez <= ALTMAXCELLARSIZE;
            }

A 7x7x7 cellar is always ok. A 9 dimension is ok, if the cellar volume is 150 or less. (MAXCELLARSIZE is 7. ALTMAXCELLARSIZE is 9. ALTMAXCELLARVOLUME is 150.)

Edited by sushieater
  • Like 1
  • Amazing! 1
  • Thanks 1
Posted (edited)

Nice, @sushieater! Doesn't make much difference to my builds, as they are usually 6x6x6 or 6x6x7 (6 high -- still confuse the coordinate order), so I can't use that information to any effect. At least I can't think right offhand how I can access those other blocks. I'm already reaching past the blank space around vessels and firepits and the table. Not that I really need any more storage -- fully decked out, there are 21 trunks glued to the ceiling, and 20, I think, below my main walkway, which is the tops of storage vessels. Plus a bunch more...

[EDIT]

Oh, wait, maybe I can reach the one on the bottom I couldn't figure out. Just replace the blocks my firepits are on with fenceposts. Then I should be able to reach that back one. Oh,  but wait, there's more. The obligatory water block could be around the fence(s), freeing up one more space. If I were willing to make do with fewer than 4 firepits and 4 ovens, I could do even better.

[/EDIT]

Edited by Thorfinn
  • Haha 1
  • 1 year later...
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.