Advertisement
Guest User

Moon script

a guest
Mar 25th, 2021
1,146
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 1.69 KB | None | 0 0
  1. -- moon ascii art credit to https://www.asciiart.eu/space/moons  / jgs
  2. moon = moon or {}
  3. moon.phase = nil
  4. moon.moon_color = "<white:black>"
  5.  
  6. function moon.display(phase)
  7.   cecho("\n"..moon.phases[gmcp.IRE.Time.List.moonphase].."\n\n")
  8.   send("\n")
  9. end
  10.  
  11.  
  12. moon.phases =
  13. {
  14.  
  15. ["New Moon"] =
  16. [[      _..._    
  17.      .:::::::.    
  18.     :::::::::::   NEW  MOON
  19.     :::::::::::
  20.     `:::::::::'  
  21.      `':::'' ]],
  22.  
  23. ["Waxing Crescent"] =
  24. [[       _..._    
  25.      .::::. `.    
  26.     :::::::.  :    WAXING CRESCENT
  27.     ::::::::  :  
  28.     `::::::' .'  
  29.       `'::'-' ]],
  30.  
  31. ["First Quarter"] =
  32. [[       _..._    
  33.     .::::  `.    
  34.    ::::::    :    FIRST QUARTER
  35.    ::::::    :  
  36.    `:::::   .'  
  37.       `'::.-' ]],
  38.      
  39. ["Waxing Gibbous"] =
  40. [[       _..._    
  41.      .::'   `.    
  42.    :::       :    WAXING GIBBOUS
  43.    :::       :  
  44.    `::.     .'  
  45.       `':..-']],
  46.      
  47. ["Full Moon"] =
  48. [[       _..._    
  49.      .'     `.    
  50.    :         :    FULL MOON
  51.    :         :  
  52.    `.       .'  
  53.       `-...-' ]],
  54.      
  55.      
  56. ["Waning Gibbous"] =
  57. [[       _..._    
  58.     .'   `::.    
  59.     :       :::    WANING GIBBOUS
  60.     :       :::  
  61.     `.     .::'  
  62.      `-..:'' ]],
  63.      
  64.      
  65. ["Last Quarter"] =
  66. [[       _..._    
  67.     .'  ::::.    
  68.     :    ::::::    LAST QUARTER
  69.     :    ::::::  
  70.     `.   :::::'  
  71.      `-.::'' ]],
  72.      
  73.      
  74. ["Waning Crescent"] =
  75. [[       _..._    
  76.     .' .::::.    
  77.     :  ::::::::    WANING CRESCENT
  78.     :  ::::::::  
  79.     `. '::::::'  
  80.       `-.::'' ]],
  81.      
  82. ["New Moon"] =
  83. [[       _..._    
  84.      .:::::::.    
  85.     :::::::::::    NEW MOON
  86.     :::::::::::  
  87.     `:::::::::'  
  88.      `':::'']],
  89.  }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement