Search the Community
Showing results for tags 'meteor'.
-
solved Mod existing prefab Function
MidrealmDM posted a topic in [Don't Starve Together] Mods and Tools
within the Shadowmeteor.lua is a function [ local function SetSize (inst, sz, mod ) ] which determines what items get spawned from meteor impact. local function SetSize(inst, sz, mod) end In the section for the large items, I would like to insert this.. ... elseif rand <= 0.05 * mod then rand = math.random() -- Randomize which chessjunk inst.loot = { { prefab = (rand <= .33 and "chessjunk1") or (rand <= .67 and "chessjunk2") or "chessjunk3", chance = 1, }, } ... However, I haven't been able to figure out how to modify an existing function. Any idea? Thank you -
So I was playing the game and realized: There is a limited number of rocks to mine. My suggestion is that every couple days (maybe 20) there is a meteor shower, it causes the ground to shake when it hits earth and drops 7-10 rocks from it. It also scorches the ground and leaves hostile aliens in the area. Just something I thought about.