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

modpc

A simple circuit component compatible with stationary consoles, laptops and PDAs, independent from programs.

Vars

is_offSent when shut down
is_onSent when turned on
lightsToggles lights on and off. Also RGB.
on_offTurns the PC on/off
printWhen set, will print a piece of paper with the value as text.

Procs

unregister_shellSome mod pc have lights while some don't, but populate_ports() is called before we get to know which object this has attahed to, I hope you're cool with me doing it here.

Var Details

is_off

Sent when shut down

is_on

Sent when turned on

lights

Toggles lights on and off. Also RGB.

on_off

Turns the PC on/off

print

When set, will print a piece of paper with the value as text.

Proc Details

unregister_shell

Some mod pc have lights while some don't, but populate_ports() is called before we get to know which object this has attahed to, I hope you're cool with me doing it here.