Jump to content

Recommended Posts

Hi, I'm wondering if anyone knows how to detect when the season changes in the world? I've been trying to modify a mod to make it clean the world of certain prefabs every time a new season starts instead of every time period like for example like every 1 hour, 2 hours, 3 hours, etc.. I've been doing my own searching and have used the following to detect a season change, but it seems to also trigger the cleaning when a new day begins. Anyone know how to avoid that? 

I've tried this:

inst:ListenForEvent("seasontick", Clean)

As well as this:

inst:WatchWorldState("seasonprogress", Clean)

 

In case you'd like to test it out for your own, the mod I'm trying to modify for personal use on my world is this one: https://steamcommunity.com/sharedfiles/filedetails/?id=597417408

Any help would be appreciated thank you!
 

 

 

Edited by Luis95R

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
×
  • Create New...