Don't Starve

Don't Starve

95 ratings
[deprecated] Stone Slab Restock
   
Award
Favorite
Favorited
Unfavorite
File Size
Posted
Updated
99.132 KB
10 Mar, 2022 @ 5:32pm
7 May, 2023 @ 10:51am
2 Change Notes ( view )
You need DLC to use this item.

Subscribe to download
[deprecated] Stone Slab Restock

In 1 collection by Leonidas IV
Leonidas IV's Mods 🠔 See more mods!
42 items
Description


ㅤㅤㅤㅤㅤㅤㅤMake Stone Slabs restock their loot!

  • They will restock every 5-7 days, with an updated loot.

  • For work on old worlds, you need to first regenerate the stone slabs of the world with this code, in the console:

    for _, ent in pairs(Ents) do if ent.prefab == 'rock_flippable' then ent.components.pickable:Regen() end end

    Just copy and paste, hit enter and close the console with Ctrl + L. The console can be opened with the ' key by default.

Update: This mod is now officially implemented in the game. I will keep the mod in the workshop for other modders to use as a learning method. This mod will do nothing if enabled.



Search Tags: stone slab restock, refuel, regen, relics, hamlet, leonidas iv.
20 Comments
leafy loaf 15 Oct, 2023 @ 8:23am 
oh this sucks, i am not using the main branch for the game so my slabs are back to be one-time use only
Nevarek 7 May, 2023 @ 10:56am 
o7 thanks for everything
Leonidas IV  [author] 7 May, 2023 @ 10:51am 
Update: This mod is now officially implemented in the game. I will keep the mod in the workshop for other modders to use as a learning method. This mod will do nothing if enabled.
bloopah 27 Apr, 2023 @ 12:48pm 
this mod is obsolete as well, now
Leonidas IV  [author] 20 Apr, 2023 @ 12:11pm 
This crash is being caused by a mod called "Pickable Bug Fix", according to the ID mentioned in the log. It's an incompatibility between the two mods, and the solution is not available on my end.
dualInfinities 20 Apr, 2023 @ 11:02am 
always do a sanity check with whatever version of "if(<value> != null)" the language you're working with has, before doing your operations
dualInfinities 20 Apr, 2023 @ 10:57am 
I'm getting a crash about 'cycles_left' being a nil value, despite using the command. it was fine up until I jumped to the Palace island and built a second Slanty Shanty after getting the Keys To The Kingdom, oddly.

I think *these* are the relevant bits to the issue:
0:05:39]: scripts/mainfunctions.lua(961,1) ...orkshop-2925890760/scripts/rock_flippable_bugfix.lua:5: attempt to perform arithmetic on field 'cycles_left' (a nil value)
LUA ERROR stack traceback:
C:/Program Files (x86)/Steam/steamapps/common/dont_starve/data/../mods/workshop-2925890760/scripts/rock_flippable_bugfix.lua:5 in (field) getregentimefn (Lua) <2-10>
C:/Program Files (x86)/Steam/steamapps/common/dont_starve/data/../mods/workshop-2925890760/scripts/pickable_bugfix.lua:62 in (method) Pick (Lua) <20-75>
404_coffee.exe 15 Nov, 2022 @ 7:10am 
This is nice!
Leonidas IV  [author] 22 Sep, 2022 @ 9:56am 
They don't. And no, normal boulders don't respawn.
Average_deadcells_fan 22 Sep, 2022 @ 5:44am 
do they also respawn with this mod?
idk why but i always had the feeling that normal boulders and such respawn