#How to make randomized moon phases instead of a fixed cycle?
1 messages · Page 1 of 1 (latest)
Add a random multiple of 24000 to absolute time
But you’ll mess up the days played
But how to change the phases without the player noticing? Like I wanna change the phase before the moment the moon rises.
Change it when day time is 17000
Then, I will add one of the first 8 multiples of 24000 thousand's to it?
Add a random multiple of 24000
also, is there a way to make it so that 7 of the moon phases have 10% chance to be chosen or 1 moon phase which has 90% chance to be chosen? I don't know what the calculations would be
just do math random
No for the moon calculations
Since its 10% chance for one of the 7 moon phases and 90% for 1 fixed moon phase
Then just add x * 24000 for the day and just use the first 7 days of the world