/tg/ Station 13 - Modules - TypesVar Details - Proc Details

light_template

Light templates. They describe how a light looks, and links that to names/icons that can be used when templating/debugging

Vars

angleThe light angle we use
categoryWhat category to put this template in
colorThe light color we use
descDescription to display to the client
iconIcon to use to display this clientside
icon_stateIcon state to display clientside
idUnique id for this template
ignore_typeDo not load this template if its type matches the ignore type This lets us do subtypes more nicely
nameUser friendly name, to display clientside
powerThe light power we use
rangeThe light range we use
spawn_typeThe type to spawn off create()

Procs

createCreate an atom with our light details

Var Details

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()

Proc Details

create

Create an atom with our light details