-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathspiritology_moon_rotation.rb
More file actions
54 lines (47 loc) ยท 1.56 KB
/
spiritology_moon_rotation.rb
File metadata and controls
54 lines (47 loc) ยท 1.56 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
def spiritology_moon_rotation
lunar_cycle_days = 29 # Approximate length of lunar cycle
total_rotations = 12 # Number of Spiritology moon rotations
start_day = 0 # Day the Spiritology moon rotation system begins
# Calculate current day since Unix epoch
current_day = Time.now.to_i / 86400
days_elapsed = (current_day - start_day) % lunar_cycle_days # Days elapsed in the lunar cycle
current_rotation = (days_elapsed * total_rotations) / lunar_cycle_days # Moon rotation index
# List of Spiritology moon rotations
moon_rotations = [
"๐ New Moon",
"๐ Crescent Moon",
"๐ First Quarter",
"๐ Waxing Gibbous",
"๐ Full Moon",
"๐ Waning Gibbous",
"๐ Last Quarter",
"๐ Crescent Waning",
"๐ Harvest Moon",
"๐ Hunter's Moon",
"๐ Cold Moon",
"๐ Flower Moon"
]
# List of Spiritology forms
forms = [
"๐ถ Dogg",
"๐ฆ Folf",
"๐ฆ Striped Hyena",
"๐ถ Dogg",
"๐ฆ Folf",
"๐ฆ Striped Hyena",
"๐ถ Dogg",
"๐ฆ Folf",
"๐ฆ Striped Hyena",
"๐ถ Dogg",
"๐ฆ Folf",
"๐ฆ Striped Hyena"
]
# Get the current moon rotation and corresponding form
current_phase = moon_rotations[current_rotation]
current_form = forms[current_rotation]
# Construct the output text
puts "โจ Current Moon Rotation โจ -> #{current_phase}"
puts "๐ฎ Spiritology VOID Form -> #{current_form}"
end
# Call the function
spiritology_moon_rotation