mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
14 lines
271 B
Plaintext
14 lines
271 B
Plaintext
/*
|
|
* Author: commy2, idea by Falke
|
|
*
|
|
* Returns a brightness value depending on the sun and moon state. Ranges from 0 to 1 (dark ... bright).
|
|
*
|
|
* Argument:
|
|
* None.
|
|
*
|
|
* Return value:
|
|
* Ambient brightness (Number)
|
|
*/
|
|
|
|
sunOrMoon * sunOrMoon + moonIntensity/5 min 1
|