Linden text version 2
{
LLEmbeddedItems version 1
{
count 0
}
Text length 1592

I love the simple yet elegant beauty of everything Arcadia Asylum created.
I wanted to script this light so it toggled on/off with the Second Life days and nights.

I added three scripts: 
the "lightpole touch" and "lightpole" scripts from the Free Script Library (thank you, open source) into the pole (root) prim and the beam of light prim, respectively.  I added some slight mods to the "lightpole" script, all noted, to toggle the transparancy of the beam of light when it is on/off.  I also added a simple script to the lightbulb prim itself to toggle full bright via a linked message from the "lightpole" script.

The "lightpole touch" and "lightpole" scripts are set up to also toggle the light on/off upon being touched.  This is a nice feature- especially if you have your environmental settings set to midnight, because the function llGetSunDirection(); responds to the region, not the way your viewer is set.  But unfortunately the "lightpole touch" script also responds to ANYone's touch.  The "lightpole" script functions independently and just fine without this controlling script, so you can stop the "lightpole touch" script from running (but still leave it in if you change your mind later).

(I changed the quality of the light from Arcadia's original version in the lightpole script; these values can be easily changed in that script.  The original was intensity=1.0, radius=20, falloff=0.0)

I also took the liberty of straightening the bulb prim (Arcadia wasn't always perfect!)

Enjoy!
And thank you, Arcadia, whoever and wherever you are!
Tonto Zerbino, February 2009
}
 