Created
February 24, 2012 20:05
-
-
Save jbz/1903401 to your computer and use it in GitHub Desktop.
Glow
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
To set the light level: | |
let arealight be 0cp; | |
let lights be the list of luminous things; | |
let litdevices be the list of luminous devices; | |
add litdevices to lights; | |
repeat with luminant running through lights: | |
say "LUMOS - [luminant]: [candlepower of luminant]."; | |
now arealight is arealight plus candlepower of luminant; | |
say "[arealight]."; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment