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

DNA Console

Vars

can_use_scannerUsed for setting tgui data - Whether the connected DNA Scanner is usable
connected_scannerCurrently connected DNA Scanner
delayed_actionCurrent delayed action, used for delayed enzyme transfer on scanner door close
disketteCurrently stored genetic data diskette
genetic_makeup_bufferMaximum number of enzymes we can store
injector_selectionAssoc list of all advanced injectors. Keys are injector names. Values are lists of mutations.
injectorreadyWorld time when injectors are ready to be printed
is_injector_readyUsed for setting tgui data - Whether injectors are ready to be printed
is_joker_readyUsed for setting tgui data - Whether JOKER algorithm is ready
is_pulsing_radsUsed for setting tgui data - Wheher an enzyme pulse operation is ongoing
is_scramble_readyUsed for setting tgui data - Whether Scramble DNA is ready
is_viable_occupantUsed for setting tgui data - Whether the current DNA Scanner occupant is viable for genetic modification
jokerreadyWorld time when JOKER algorithm can be used in DNA Consoles
max_injector_instabilityMaximum total instability of all combined mutations allowed on an advanced injector
max_injector_mutationsMaximum number of mutation that an advanced injector can store
max_injector_selectionsMaximum number of advanced injectors that DNA Consoles store
rad_pulse_indexIndex of the enzyme being modified during delayed enzyme pulse operations
rad_pulse_timerWorld time when the enzyme pulse should complete
raddurationDuration for enzyme radiation pulses
radstrengthStrength for enzyme radiation pulses
scanner_occupantCurrent DNA Scanner occupant
scramblereadyWorld time when Scramble can be used in DNA Consoles
stored_chromosomesList of all chromosomes stored in the DNA Console
stored_mutationsList of all mutations stored on the DNA Console
stored_researchLink to the techweb's stored research. Used to retrieve stored mutations
tgui_advinjector_mutationsUsed for setting tgui data - List of occupant mutations
tgui_console_chromosomesUsed for setting tgui data - List of DNA Console chromosomes
tgui_console_mutationsUsed for setting tgui data - List of DNA Console stored mutations
tgui_diskette_mutationsUsed for setting tgui data - List of diskette stored mutations
tgui_genetic_makeupUsed for setting tgui data - List of occupant mutations
tgui_occupant_mutationsUsed for setting tgui data - List of occupant mutations
tgui_view_stateState of tgui view, i.e. which tab is currently active, or which genome we're currently looking at.
time_to_injectorUsed for setting tgui data - Time until injectors are ready
time_to_jokerUsed for setting tgui data - Time until joker is ready
time_to_pulseUsed for setting tgui data - Time until the enzyme pulse is complete
time_to_scrambleUsed for setting tgui data - Time until scramble is ready

Procs

apply_genetic_makeup
build_chrom_list
build_genetic_makeup_listBuilds the genetic makeup list which will be sent to tgui interface.
build_mutation_list
can_modify_occupant
check_discovery
connect_to_scanner
eject_disk
get_mut_by_ref
on_scanner_close
on_scanner_open
rad_pulse
randomize_radiation_accuracy
scanner_operationalChecks if there is a connected DNA Scanner that is operational
scramble
set_default_stateSets the default state for the tgui interface.

Var Details

can_use_scanner

Used for setting tgui data - Whether the connected DNA Scanner is usable

connected_scanner

Currently connected DNA Scanner

delayed_action

Current delayed action, used for delayed enzyme transfer on scanner door close

diskette

Currently stored genetic data diskette

genetic_makeup_buffer

Maximum number of enzymes we can store

injector_selection

Assoc list of all advanced injectors. Keys are injector names. Values are lists of mutations.

injectorready

World time when injectors are ready to be printed

is_injector_ready

Used for setting tgui data - Whether injectors are ready to be printed

is_joker_ready

Used for setting tgui data - Whether JOKER algorithm is ready

is_pulsing_rads

Used for setting tgui data - Wheher an enzyme pulse operation is ongoing

is_scramble_ready

Used for setting tgui data - Whether Scramble DNA is ready

is_viable_occupant

Used for setting tgui data - Whether the current DNA Scanner occupant is viable for genetic modification

jokerready

World time when JOKER algorithm can be used in DNA Consoles

max_injector_instability

Maximum total instability of all combined mutations allowed on an advanced injector

max_injector_mutations

Maximum number of mutation that an advanced injector can store

max_injector_selections

Maximum number of advanced injectors that DNA Consoles store

rad_pulse_index

Index of the enzyme being modified during delayed enzyme pulse operations

rad_pulse_timer

World time when the enzyme pulse should complete

radduration

Duration for enzyme radiation pulses

radstrength

Strength for enzyme radiation pulses

scanner_occupant

Current DNA Scanner occupant

scrambleready

World time when Scramble can be used in DNA Consoles

stored_chromosomes

List of all chromosomes stored in the DNA Console

stored_mutations

List of all mutations stored on the DNA Console

stored_research

Link to the techweb's stored research. Used to retrieve stored mutations

tgui_advinjector_mutations

Used for setting tgui data - List of occupant mutations

tgui_console_chromosomes

Used for setting tgui data - List of DNA Console chromosomes

tgui_console_mutations

Used for setting tgui data - List of DNA Console stored mutations

tgui_diskette_mutations

Used for setting tgui data - List of diskette stored mutations

tgui_genetic_makeup

Used for setting tgui data - List of occupant mutations

tgui_occupant_mutations

Used for setting tgui data - List of occupant mutations

tgui_view_state

State of tgui view, i.e. which tab is currently active, or which genome we're currently looking at.

time_to_injector

Used for setting tgui data - Time until injectors are ready

time_to_joker

Used for setting tgui data - Time until joker is ready

time_to_pulse

Used for setting tgui data - Time until the enzyme pulse is complete

time_to_scramble

Used for setting tgui data - Time until scramble is ready

Proc Details

apply_genetic_makeup

build_chrom_list

build_genetic_makeup_list

Builds the genetic makeup list which will be sent to tgui interface.

build_mutation_list

can_modify_occupant

check_discovery

connect_to_scanner

eject_disk

get_mut_by_ref

on_scanner_close

on_scanner_open

rad_pulse

randomize_radiation_accuracy

scanner_operational

Checks if there is a connected DNA Scanner that is operational

scramble

set_default_state

Sets the default state for the tgui interface.