Don't Starve Together

Don't Starve Together

526 ratings
More Drops
   
Award
Favorite
Favorited
Unfavorite
File Size
Posted
Updated
136.502 KB
27 Nov, 2015 @ 3:47pm
25 May, 2017 @ 10:06pm
13 Change Notes ( view )

Subscribe to download
More Drops

Description
Makes trees, boulders, and other resource sources drop more.

Currently allows one to configure the number of:
-Fertilization. Default is replanted plants only have to be fertilized once.
-Cut grass from grass. Default of 3.
-Twigs from saplings. Default of 2.
-Cut reeds from reeds. Default of 2.
-Logs. Default +1 for all trees and another +1 on top of that for tall trees.
-Tree Seeds. Default 20% chance for non-short trees to drop an extra pinecone, birchnut, or twiggy cone.
-Harvested Crops. Default of 1 extra crop when harvesting a farm.

Also increases (currently non-configurable):
-Rocks, flint, nitre, and gold dropped from boulders. There is now a chance for a boulder to drop a rock, flint, and/or nitre each time it is hit while mining. Gold boudlers are the same except for gold nuggets in the place of nitre, and moon boulders have moon rocks in the place of nitre.
-Ice dropped from glaciers. Functions the same as rocks from boulders.
-Rocks have a chance of giving the player a gem equal to the chance of getting a gem from tumbleweed.

Version History:
2.2 - Removed charcoal support due to issues.
2.1 - Added infinite feritilization. Made charcoal and crops configurable.
2.0 -Added support for twiggy trees. Made logs and tree seeds configurable.
1.9 - Added increased charcoal drops and increased crop products.
1.8 - Made moon boulders drop moon rocks in place of nitre. Added a chance for a boulder to give the player a gem when mined. The chances for gems are equal to the chances of getting a gem from tumbleweed and they are placed directly into the inventory rather than dropped.
1.7 - Fixed trees dropping correct seed (pinecone, birchnut, nothing for sparse)
1.6 - Fixed tall trees dropping two extra logs, and also added a chance for an extra pinecone to drop when a tree is chopped down. Also added a chance for all non-gold boulders to drop extra flint and nitre when hit. Gold boulders have a chance to drop extra gold rather than nitre.
1.5 - Split modmain and removed trying to make tall trees drop two extra logs as it was only working for spawned-in trees (will try again soon).
1.4 - Fixed in-game preview image not showing.
1.3 - Added chance for ice to drop while mining glaciers.
1.2 - Added chance for boulders to drop rocks while mining boulders.
1.1 - Added support for deciduous trees.
1.0 - Initial release.
94 Comments
nathandrake208 21 Oct, 2024 @ 6:11pm 
this fixes the game crashing entirely when mining ice
FOLLOW THIS BELOW
"C:\Program Files (x86)\Steam\steamapps\common\Don't Starve Together\mods\workshop-563754964\scripts\glaciers.lua"

(Copy and paste below on notepad) delete the previous lines or whatever is written there.

local utils = require("utils")

local function ImproveGlacier(inst)
local oldonwork = inst.components.workable.onwork
inst.components.workable.onwork = function(inst, worker, workleft, numworks)
--Allow ice to spawn while mining
utils.DropLootRandom(inst, "ice", .1)
oldonwork(inst, worker, workleft, numworks)
end
end

return ImproveGlacier
Kenkire 29 Sep, 2024 @ 2:45pm 
Wow. Crashing when mining ice. Rude. Any fix yet?
Zizo 6 Sep, 2024 @ 4:32am 
So this Mod is the one that crahes game when mine ICE!!!

Need to use it along with a ICE Crafting Mod such as
https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=577104313&searchtext=craft+ice
RedMaza 21 Aug, 2024 @ 3:32am 
Game still crashes when mining ice.
Would be amazing if there's a fix that doesn't require subscribers to mess with the codes.
Big fan of the mod if it wasn't for the mining ice crash. =((
ŁorÐ Dvořák 23 Jul, 2024 @ 4:39pm 
LuiJua117 3/out./2023 às 17:02 
Edit the Steam/Steamapps/Common/Don't Starve Together/mods/workshop-1397586934/scripts/glaciers.LUA file.

A reference to the onwork function is stored in the oldonwork variable. However, this function has evolved and now takes 4 parameters: inst, worker, workleft, numworks. We therefore need to modify both the signature of the function we wish to redefine, and the call to oldonwork.

My file now looks like this:

local utils = require("utils")

local function ImproveGlacier(inst)
local oldonwork = inst.components.workable.onwork
inst.components.workable.onwork = function(inst, worker, workleft, numworks)
--Allow ice to spawn while mining
utils.DropLootRandom(inst, "ice", .1)
oldonwork(inst, worker, workleft, numworks)
end
end

return ImproveGlacier
JonyDany12 28 Jun, 2024 @ 5:07pm 
was gonna comment how ice causes crashing, but i see i ain't the only one
原批 20 Jun, 2024 @ 7:22am 
挖冰会导致崩溃:steamfacepalm:
Mining ice causes crashing.
Mr.Blonde 15 Jun, 2024 @ 11:08pm 
краш сервера при сборе льда
Mlodyowiec 6 Jun, 2024 @ 7:38am 
Just remove lines about the glacier from the mod
Iozoiioinolosabiaz 4 Jun, 2024 @ 9:11pm 
Mining Ice causes crashes