How to start with a deepwoken-like year/season system

Hiyo, i’ve been making my own RPG game for a little bit and i’ve wanted to make my own Season system for some interactions in the game

If you’re unaware, deepwoken has a system where every two days it will change season, and every day is a different month. This creates a year system, and i kind of want to create that.

Just wondering where to start

os library roblox has, you can get world time and manipulate that number so it only changes every day

local dayOfYear = tonumber(os.date("%j"))
local dailyNumber = (dayOfYear - 1) % 4 + 1

print(dailyNumber) -- number between 1 and 4 (inclusive)
-- every day this number will change
1 Like

Thanks a lot, didnt know you could get the exact day from os.date

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.