Skip to content

Moon Phase Cycle config - #1465

Open
dwinters99 wants to merge 7 commits into
DarkPack13:masterfrom
dwinters99:lunacy
Open

Moon Phase Cycle config#1465
dwinters99 wants to merge 7 commits into
DarkPack13:masterfrom
dwinters99:lunacy

Conversation

@dwinters99

@dwinters99 dwinters99 commented Aug 26, 2026

Copy link
Copy Markdown
Member

About The Pull Request

Moon phase is now decided by server config.
Options are:

  • Use current behavior.
  • Moon phase changes every N rounds
  • Random moon phase per round

Why It's Good For The Game

We've had several complaints about how long a particular moon phase lasts and I talked with @Iamgoofball about it in the discord a while back so I decided it'd be best to leave it to the servers.

Changelog

🆑
config: Added 3 options for the Lunar Cycle
/:cl:

@dwinters99
dwinters99 requested a review from a team as a code owner August 26, 2026 14:43
@@ -1,8 +1,23 @@
/// Current phase of the moon, randomly chosen
GLOBAL_VAR_INIT(moon_state, get_moon_phase())

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This has a race condition, config gets loaded AFTER var init

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants