Don't Starve Together

Don't Starve Together

Basements
This topic has been locked
Praash 13 Apr, 2020 @ 5:23am
Detailed documentation (please, write an official one!)
Expanding your basement
The basement walls can be mined with a normal pickaxe. You can easily create corridors, labyrinths and rooms. You can rebuild wall modules from the Basements crafting tab. Each basement has a maximum size it can reach in any direction, but it is quite massive - enough to extend multiple times past the default camera.

WARNING - The Basements mod automatically surrounds the basement area with numerous wall elements. If you design a complicated layout that has a lot of wall perimeter, you will easily spawn hundreds of wall elements. This can create stress for both the server and clients.

(Admin/host): Basements "inside" basements!
The basement mod normally prohibits you from placing new basement hatches inside another basement. If you're the server host (or you have admin rights on a dedicated one), you can move the entrance hatch of a basement inside another by moving it with the console:

Hover your mouse over the hatch, and run:
c_select()

Then go inside the basement you want to insert this hatch into, hover your mouse over the position you want to place the hatch, and run:
c_move()

Basements "Mod API"
This REALLY should be documented properly. For example, Gorge Lights checks for basements in a really hacky way...

Basements automatically injects a few handy functions that you can easily access with only a simple non-nil sanity check!

Is an entity currently inside a basement?
if (inst.IsInBasement ~= nil and inst:IsInBasement()) then -- Do a barrel roll end

Is a map location inside a basement?
(TheWorld.Map.IsBasementAtPoint ~= nil and TheWorld.Map:IsBasementAtPoint(x, y, z))

Further comments

I think Basements is one of the most impressive mods in the entire DST workshop. Your solid implementation is polished with smooth animation, beautiful artwork and custom quotes. Not only that, but your code is CLEAN. The only thing I find lacking is documentation - I suggest you either expand the workshop page to describe all the details of playing with your mod, or creating a separate discussion post. I had to see someone else's screenshot of a multi-room basement until I realized that you can actually mine the walls. The only hint about this is the replacement wall recipe in the crafting tab.
Last edited by Praash; 13 Apr, 2020 @ 5:41am
< >
Showing 1-1 of 1 comments
Quartino 16 Aug, 2020 @ 3:30pm 
Thank you for typing this out for us! It's helpful for me when I'm considering to use it or not. Could you explain a little more what you mean, here?

"If you design a complicated layout that has a lot of wall perimeter, you will easily spawn hundreds of wall elements. This can create stress for both the server and clients."

I'm not quite understanding how/why the spawning of the hundreds of wall segments happens. Just want to avoid this. Thank you! :steamhappy:
< >
Showing 1-1 of 1 comments
Per page: 1530 50