Don't Starve Together

Don't Starve Together

Improved Additional Set Pieces
56 Comments
thegreatmanagement  [author] 21 Apr @ 2:20am 
How much are you setting each value to? You must understand that (especially when you set values very high), that the sheer amount of resource/maxwell set pieces far outnumbers singular set pieces like the imprisoned pig and the dev grave. Try independently increasing these values and let me know how that works.
Grimmr 20 Apr @ 7:37am 
Even I choose to increase trap, imprison pig and dev grave, and not touch the resource part, the world generation always favour the resource set piece and maxwell set piece
thegreatmanagement  [author] 9 Apr @ 1:02am 
@yarrock holmes you have a good eye for noticing this; you're correct, I used the wrong variable for those functions :( I'll push a fix out for this ASAP!

Also to the mod's design, I personally found in my testing that adding additional instances of biomes worked significantly better in my opinion for successful world gens vs larger biomes; for those who call for many/a specific set piece also, allocating space for 2-4 more of a biome to spawn worked quite efficiently at avoiding crashes and making sure the number of set pieces requested were accomplished :) Another issue is also set pieces are not duplicated in a biome, for instance there wouldn't be 2 reed traps in the same swamp biome; because of that, adding more reed trap set pieces in the world requires adding biome tasksets, if that makes sense.

I may consider your methodology more broadly and to a limited extent, but at the moment I think the mod is in an okay place design wise, I'll think on it some more though :)
yarrock holmes 8 Apr @ 1:55pm 
hello, gj but i have some questions. can u check addtask function second arguments in worldgenmainlua line 533-534 ? is that normal "badlands data" or was it just an oversight (maybe should be lightningbluffdata)? and when the mod uses addtask manuelly, it seems to create the biome more than 1. wouldn t it be better to just make the existing biome a little bigger instead? like AddTaskPreInit("Lightning Bluff", function (task)
base = task.room_choices["LightningBluffLightning"]
task.room_choices["LightningBluffLightning"] = base + 2
end) or does worldgen care more about how many biomes there ar rather than how big each one is? good modding
dvd_d8 24 Mar @ 4:37pm 
It's alr, I deduced it was harder bc how ocean generation works
I hope you can manage to do it in the future
Ty for answering :celeste_strawberry:
thegreatmanagement  [author] 24 Mar @ 1:12am 
@dvd_d8 I have that as a long term goal, I have looked briefly at the code for adding set pieces to ocean biomes but the code functions differently than how this mod implements land based set pieces, so it will be challenging and probably a far in the future sort of deal unfortunately :( I do have it on the list though at least c,:
dvd_d8 23 Mar @ 2:20pm 
Could you update this mod to configure ocean setpieces? (sunken chests, trap boats)
I love this mod btw, ty :steamhappy:
# 1 Mar @ 3:32am 
Thank you for the detailed explanation! Cheers!
thegreatmanagement  [author] 28 Feb @ 10:15pm 
@# You're welcome, glad you're enjoying it! I should mention that the Triple Mactusk is not a set piece also, but rather a biome that has a guaranteed 3 of the camps located somewhere within the biome; because of that, it is technically not possible to add more Triple MacTusk biomes. What you can do is use a mod that spawns biomes instead, like this one: https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=932946524
# 28 Feb @ 11:53am 
Hello and thank you for this mod! Could you add Triple Mac Tusk as an option?
pickle780 12 Feb @ 1:34am 
Finally found this mod. thk you
thegreatmanagement  [author] 9 Dec, 2024 @ 12:00am 
@DoomRanger It should, the mods should be compatible :) Be careful with the generation settings though, I'd advise not setting any amount of set pieces too high!
DoomRanger 7 Dec, 2024 @ 7:02am 
Does this work well with Force Biomes?

My intention is to have set pieces like Reed Traps etc as well as Biome Set Pieces like Quad Goose Eggs
thegreatmanagement  [author] 29 Oct, 2024 @ 11:09pm 
Unfortunately the biomes that set pieces are added to are randomized in this mod, I will consider this functionality though. Thank you for your suggestion/question!
KleinMoretti 29 Oct, 2024 @ 12:49pm 
Is it possible to add Dev Graveyard to near oasis consistenly? "Setpiece Config Revisited" had that feature, unfortunately this one doesn't have it
thegreatmanagement  [author] 19 Aug, 2024 @ 11:30am 
неокортекс антропоморф I can consider doing that, no worries! I will look into the mod you mentioned also as well, sounds like a very useful implementation of set piece control in world generation. Also what you mention is not practical as well, as limiting the # of possible prefabs that can spawn still doesn't do terribly much to prevent the world from crashing if specifying a higher number of set pieces. From my testing, on the higher settings the world would crash 25-30% of the the time without the additional biomes setting (even on more conservative settings), but with the extra biomes spawning, the world only crashed once in over 50 trials, even with very, very high numbers of set pieces configured.
thanks for the hint. i was going to try messing with files but i was a little lazy. there is a mod in workshop that have individual forcing and location settings for almost all setpieces. sadly it does not have ds setpieces and didn't work at all when i tried it. it's called "better setpiece function" or something like that if you are curious. maybe this is a stupid idea but if you willing to make that setting you mentioned it could despawn setpieces that don't fit in the world when extra biomes are disalbed. i have no idea about how that works so please ignore me if it sounds silly
thegreatmanagement  [author] 16 Aug, 2024 @ 11:02pm 
неокортекс антропоморф Thank you for your feedback, I do really appreciate it! You are right, however there are so many different set pieces in the game it is very difficult for me (or anyone) to categorize them all :( However, a form of what you are seeking is configurable though; in the modoverrides.lua, in the last table setting, you can specify each set piece you want to manually force generate! Follow the format listed in the description or in the modinfo.lua itself, and review the listed game files for the list of all possible set pieces.

On another note, your issue with the multiple biomes is noted; if you are seeing a lot of extra biomes being spawned, that means you are specifying too many of a certain kind of set piece. I may consider making this feature itself configurable instead of auto, but if I do, then the mod becomes less stable for lots of set pieces, and they will crash; it is a hard balance on my side to manage; I will brainstorm this.
thank you for your reply and this mod. it's very helpful and stable. however there is an issue. i don't see a simple way to generate world that i want to generate. look. setpieces are divided into groups. description of the group doesnt list all of the setpieces it contain. all contained setpieces have different biome list that it can spawn in. and i can't control will extra biomes be generated or not. i have to tinker with mod settings and reroll worlds over and over again to reach result i desire. i don't really know how to fix that. the only way i see is to redone all mod settings and make all setpieces individually configurable. i don't insist of course but current settings are not very convenient to me. anyway this is the best mod from "setpiece config" category i have found so far and i'm going to be using it the foreseeable future :)
thegreatmanagement  [author] 16 Aug, 2024 @ 12:15am 
@Eddie the Mammoth Glad to hear also! Did you test that 2nd mod you linked? :eyes: I will check out its code, tbh the touchstone set piece isnt a huge deal considering there is a default world setting that lets you add more already, so I am not sweating over it, but I appreciate this mod as a reference anyway! Thank you for using this mod as well, I worked pretty hard on it, so I'm glad to hear people enjoy it :)
thegreatmanagement  [author] 16 Aug, 2024 @ 12:13am 
неокортекс антропоморф Yes, this mod was revamped to make it so that extra biomes will spawn if you set your mod config to have too many of a certain kind of set piece! (in this instance, swamp set pieces), since each biome can only have so many set pieces, the solution to accommodate everything requested is to spawn more biomes!
Eddie the Mammoth 15 Aug, 2024 @ 11:55pm 
and btw, I found that this mod (https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=756647525) allows for extra touch stones beyond the insane amount (i can spawn 11 with it on). Idk anything about modding but maybe this could be of use :D Ty again for mod~
Eddie the Mammoth 15 Aug, 2024 @ 11:49pm 
Ty for the fix! Tested and worked normally now!
it seems like this mod also generates new biomes. i'm pretty sure that 3 swamps is impossible with vanilla worldgen
thegreatmanagement  [author] 15 Aug, 2024 @ 5:22pm 
@Eddie the Mammoth @Silgueria I've identified and fixed the issue, thank you both for bringing it to my attention! It was a very strange bug, the touchstone set pieces do not like to be manipulated at all during worldgen it seems, so even if you're adding 0, it will still cause them to not spawn :( Because of that, I've removed the ability to add touchstones through the mod, that should solve this issue. Let me know if you guys encounter the issue again when you are generating your worlds, and thank you again! (I can credit you guys in the mod's change notes if you'd like, let me know of that too :) )
Silgueira 15 Aug, 2024 @ 2:03am 
I actually also have the problem with touchstones not spawning after using this mod sadly
thegreatmanagement  [author] 13 Aug, 2024 @ 9:02am 
@Eddit the Mammoth how are you setting touchstones to insane? As mentioned, this mod does not remove or alter anything your native worldgen (configured through world settings or otherwised) would add to the world, so I am speculating that this is a separate issue. Is it possible you have the incorrect setting name for touchstones? Please send your server_log.txt through https://pastebin.com or another similar website.
Eddie the Mammoth 13 Aug, 2024 @ 7:47am 
Edit: I've tried to leave world settings as default with this mod on without enabling any option and the world still doesn't spawn any touch stone. No other mod were used.
Eddie the Mammoth 13 Aug, 2024 @ 7:35am 
Hello, does this mod affect the settings for number of touch stones? I like to have touch stones on "insane" setting but with the mod on the world doesn't spawn any, even when I set "none" for all mod options. Thanks for any help.
thegreatmanagement  [author] 14 Mar, 2024 @ 11:37pm 
@Jesica K-J I do not believe so, not without default console commands anyway; you would need to know a lot of code, to create your own custom executable command or use a mod for it unfortunately :(
Jesica K-J 12 Mar, 2024 @ 9:59am 
Is there a way to spawn those set pieces AFTER World generation already happened? Like with that mod enabled, typing c_spawn("xxx") and xxx represents the name of the set piece?
thegreatmanagement  [author] 15 Oct, 2022 @ 10:31pm 
@Dullahan Yes, this only adds set pieces. It does not override or remove any natural ones!
󰀋 Dullahan 󰀋 15 Oct, 2022 @ 8:33pm 
if i set certan set pieces to none can i still get them naturally?
SirYawns 22 Jul, 2022 @ 10:12pm 
@Marf Master of Desaster Triple mac is not a setpiece rather a biome so if you want to gaurentee a triple mac I suggest the Force Biomes mod (and maybe some other biomes)
MarfMaster 17 Jul, 2022 @ 3:09am 
I suggest adding the triple tusk setpiece
xtdycxtfuv 2 Feb, 2022 @ 1:14pm 
We miss you, Joe...
EmuLegs 9 Jul, 2021 @ 5:49am 
some mod compadability problems, however if it loads the server the first time, then i havent had a problem with it
leafy loaf 3 Apr, 2021 @ 9:10pm 
yeah, i saw. for sure though asp isnt playing well with even the vanilla game atm XD
thegreatmanagement  [author] 3 Apr, 2021 @ 8:14pm 
@leafy loaf Tropical Experience does not mesh well with a lot of mods

@grumpy.dad.gamer yes, this mod still works (it has never not worked)
grumpy.dad.gamer 22 Mar, 2021 @ 2:47pm 
Does the mod work anymore?
leafy loaf 2 Feb, 2021 @ 12:03am 
oh, and turning autostack off doesn't change anything. turning on caves just causes a failure to connect the two shards
thegreatmanagement  [author] 29 Jan, 2021 @ 11:03pm 
it should be; @leafy load i haven't tried it myself though.
leafy loaf 26 Jan, 2021 @ 11:43pm 
is this compatible with tropical experience? the old version couldn't load several set pieces and would cause world-gen to stop mid-generation
WiseCog 18 Jan, 2021 @ 12:14pm 
The mod "Force Biomes" have some code which does seem to limit multiple spawns.
WiseCog 18 Jan, 2021 @ 11:58am 
Well that's a shame. I will keep look around for a set piece mod that adds exactly what you pick in options. In any way as a side note, I have a very similar mod that also adds option for mushroom circles (only large ones). You could add that into your mod. PS: Yes it can be supported.
thegreatmanagement  [author] 18 Jan, 2021 @ 11:33am 
If you desire to remove and fully control mods in the way you describe, feel free to do that. This mod is not intended to create exact world gens with exact knowledge of what set pieces are spawning; it is designed to merely add set pieces of your choice to the world. I dont see the need to remove natural set piece spawning with my mod, your description can be maybe supported in the future though? I personally dont find that kinda useful for myself though.
WiseCog 18 Jan, 2021 @ 10:58am 
They way I turn off the pig set piece random chance is by changing the "1" to a "0" on the mandrake room.lua. The way I do it with Dev Graveyard is simply adding a "--" infront of it in the traps.lua. The mod will STILL activate and work as intended with those changes. I only removed the % chance for a random spawn.
WiseCog 18 Jan, 2021 @ 10:19am 
I do not think you are correct here as I have found one mod in the past that solved this (trying to remember which). I myself can also edit the package files of the game and turn the % set piece soawn chance off, and STILL have your mod working as intended. This should be solvable as iv'e seen it done and as it can be done if you are editing base files.
thegreatmanagement  [author] 18 Jan, 2021 @ 9:54am 
@Greenpakto that is the nature of chance; the base game itself will always, always have a chance to spawn set pieces anyway, that is “baked into” the world gen. You would need to modify the entire world generation process to do what you request.