Daedalus Dock - Modules - TypesVar Details - Proc Details

modular_computer

Vars

all_componentsList of "connection ports" in this computer and the components with which they are plugged
allow_chunkyAllow people with chunky fingers to use?
comp_light_colorThe built-in light's color, editable by players.
comp_light_luminosityHow far the computer's light can reach, is not editable by players.
expansion_baysLazy List of extra hardware slots that can be used modularly.
idle_threadshonk honk honk honk honk honkh onk honkhnoohnk
imprint_prefixIs this computer allowed to save imprint information? (truthy), If so, what's the prefix?
inserted_paiStored pAI in the computer
last_ambient_soundLast world.time a beep played.
looping_soundWhether or not this modular computer uses the looping sound
max_baysNumber of total expansion bays this computer has available.
max_idle_programsAmount of programs that can be ran at once
saved_jobThe title of the job saved to this PC. Will often not be a real job, this is for flavor.
soundloopLooping sound for when the computer is on

Procs

alert_callDisplays notification text alongside a soundbeep when requested to by a program.
find_hardware_by_nameChecks all hardware pieces to determine if name matches, if yes, returns the hardware piece, otherwise returns null
forget_componentThis isn't the "uninstall fully" proc, it just makes the computer lose all its references to the component
install_componentInstalls component.
notify_hardware_changeNotify all programs of hardware changes.
notify_id_insertedNotify all programs about an ID insertion.
notify_id_removedNotify all programs about an ID removal.
play_pingPlays a ping sound.
set_flashlight_colorSets the computer's light color, if it has a light.
toggle_flashlightToggles the computer's flashlight, if it has one.
uninstall_componentUninstalls component.
wipe_programWipes the computer's current program. Doesn't handle any of the niceties around doing this

Var Details

all_components

List of "connection ports" in this computer and the components with which they are plugged

allow_chunky

Allow people with chunky fingers to use?

comp_light_color

The built-in light's color, editable by players.

comp_light_luminosity

How far the computer's light can reach, is not editable by players.

expansion_bays

Lazy List of extra hardware slots that can be used modularly.

idle_threads

honk honk honk honk honk honkh onk honkhnoohnk

imprint_prefix

Is this computer allowed to save imprint information? (truthy), If so, what's the prefix?

inserted_pai

Stored pAI in the computer

last_ambient_sound

Last world.time a beep played.

looping_sound

Whether or not this modular computer uses the looping sound

max_bays

Number of total expansion bays this computer has available.

max_idle_programs

Amount of programs that can be ran at once

saved_job

The title of the job saved to this PC. Will often not be a real job, this is for flavor.

soundloop

Looping sound for when the computer is on

Proc Details

alert_call

Displays notification text alongside a soundbeep when requested to by a program.

After checking tha the requesting program is allowed to send an alert, creates a visible message of the requested text alongside a soundbeep. This proc adds text to indicate that the message is coming from this device and the program on it, so the supplied text should be the exact message and ending punctuation.

Arguments: The program calling this proc. The message that the program wishes to display.

find_hardware_by_name

Checks all hardware pieces to determine if name matches, if yes, returns the hardware piece, otherwise returns null

forget_component

This isn't the "uninstall fully" proc, it just makes the computer lose all its references to the component

install_component

Installs component.

notify_hardware_change

Notify all programs of hardware changes.

notify_id_inserted

Notify all programs about an ID insertion.

notify_id_removed

Notify all programs about an ID removal.

play_ping

Plays a ping sound.

Timers runtime if you try to make them call playsound. Yep.

set_flashlight_color

Sets the computer's light color, if it has a light.

Called from ui_act(), this proc takes a color string and applies it. It is separated from ui_act() to be overwritten as needed. Arguments:

toggle_flashlight

Toggles the computer's flashlight, if it has one.

Called from ui_act(), does as the name implies. It is separated from ui_act() to be overwritten as needed.

uninstall_component

Uninstalls component.

wipe_program

Wipes the computer's current program. Doesn't handle any of the niceties around doing this