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

scan_consolenew

Vars

can_use_scannerUsed for setting tgui data - Whether the connected DNA Scanner is usable
connected_scannerCurrently connected DNA Scanner
crispr_chargesCounter for CRISPR charges
delayed_actionCurrent delayed action, used for delayed enzyme transfer on scanner door close
disketteCurrently stored genetic data diskette
enzyme_copy_timerCooldown for the genetic makeup transfer actions.
genetic_damage_pulse_indexIndex of the enzyme being modified during delayed enzyme pulse operations
genetic_damage_pulse_timerWorld time when the enzyme pulse should complete
genetic_damage_pulse_typeWhich dna string to edit with the pulse
genetic_makeup_bufferMaximum number of enzymes we can store
injector_readyWorld time when injectors are ready to be printed
injector_selectionAssoc list of all advanced injectors. Keys are injector names. Values are lists of mutations.
is_crispr_readyUsed for setting tgui data - Is CRISPR ready?
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_pulsingUsed 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
joker_readyWorld 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
pulse_durationDuration for enzyme genetic damage pulses
pulse_strengthStrength for enzyme genetic damage pulses
scanner_occupantCurrent DNA Scanner occupant
scramble_readyWorld 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
genetic_damage_pulse
get_mut_by_ref
on_scanner_close
on_scanner_open
randomize_GENETIC_DAMAGE_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

crispr_charges

Counter for CRISPR charges

delayed_action

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

diskette

Currently stored genetic data diskette

enzyme_copy_timer

Cooldown for the genetic makeup transfer actions.

genetic_damage_pulse_index

Index of the enzyme being modified during delayed enzyme pulse operations

genetic_damage_pulse_timer

World time when the enzyme pulse should complete

genetic_damage_pulse_type

Which dna string to edit with the pulse

genetic_makeup_buffer

Maximum number of enzymes we can store

injector_ready

World time when injectors are ready to be printed

injector_selection

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

is_crispr_ready

Used for setting tgui data - Is CRISPR ready?

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

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

joker_ready

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

pulse_duration

Duration for enzyme genetic damage pulses

pulse_strength

Strength for enzyme genetic damage pulses

scanner_occupant

Current DNA Scanner occupant

scramble_ready

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

genetic_damage_pulse

get_mut_by_ref

on_scanner_close

on_scanner_open

randomize_GENETIC_DAMAGE_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.