light_template ![code/_globalvars/lighting.dm 16](git.png)
Light templates. They describe how a light looks, and links that to names/icons that can be used when templating/debugging
Vars | |
angle | The light angle we use |
---|---|
category | What category to put this template in |
color | The light color we use |
desc | Description to display to the client |
icon | Icon to use to display this clientside |
icon_state | Icon state to display clientside |
id | Unique id for this template |
ignore_type | Do not load this template if its type matches the ignore type This lets us do subtypes more nicely |
name | User friendly name, to display clientside |
power | The light power we use |
range | The light range we use |
spawn_type | The type to spawn off create() |
Procs | |
create | Create an atom with our light details |
Var Details
angle ![code/_globalvars/lighting.dm 36](git.png)
The light angle we use
category ![code/_globalvars/lighting.dm 24](git.png)
What category to put this template in
color ![code/_globalvars/lighting.dm 34](git.png)
The light color we use
desc ![code/_globalvars/lighting.dm 20](git.png)
Description to display to the client
icon ![code/_globalvars/lighting.dm 26](git.png)
Icon to use to display this clientside
icon_state ![code/_globalvars/lighting.dm 28](git.png)
Icon state to display clientside
id ![code/_globalvars/lighting.dm 22](git.png)
Unique id for this template
ignore_type ![code/_globalvars/lighting.dm 41](git.png)
Do not load this template if its type matches the ignore type This lets us do subtypes more nicely
name ![code/_globalvars/lighting.dm 18](git.png)
User friendly name, to display clientside
power ![code/_globalvars/lighting.dm 32](git.png)
The light power we use
range ![code/_globalvars/lighting.dm 30](git.png)
The light range we use
spawn_type ![code/_globalvars/lighting.dm 38](git.png)
The type to spawn off create()
Proc Details
create
Create an atom with our light details