Jump to content

Permanently Modifying day time?


Recommended Posts

Hello

Today I were building up a new world and try to find beefalos. I found some and built a camp, but I just seen that my world was **** (13 Day ticks, 1 Dusk and 2 nights)

So I tried this command : GetClock():SetSegs(9,4,3)

It worked, the problem is that, the next day, it comes back to the original 13,1,2 ticks.

How can I get 13 Day ticks, 4 Dusk and 3 nights ticks forever on my world without typing the command every day start, and maybe without re creating a world?

Link to comment
Share on other sites

This is for Don't Starve, not Don't Starve Together.

You want a mod that does the following:

AddComponentPostInit("seasonmanager", function(self)
	self.UpdateSegs = function(self)
		GLOBAL.GetClock():SetSegs(13, 1, 2)
	end
	self:UpdateSegs()
end)

 

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
  • Create New...