Archived

This topic is now archived and is closed to further replies.

Please be aware that the content of this thread may be outdated and no longer applicable.

Nappy

Spawning chests with loot inside

Recommended Posts

Nappy    0

So the idea is to have a set piece and at the center there is a chest with predetermined loot inside.  I am able to make the set piece with any chest prefab via the Don't Starve Mod Tools - Tiled, but I do not know how to set the chest to spawn with loot inside.  Help would be appreciated! Thx.

Share this post


Link to post
Share on other sites
Nappy    0

[SOLVED]

If anyone is curious in their own mod, I found my inspiration from the Adventure Mode: Winter chest file.  It is a simple task of adding the loot file to the scenarios folder and then referencing that loot file in the in the properties = { ["scenario"] = "loot file" } of your chest within the static layout.

Share this post


Link to post
Share on other sites