/tg/ Station 13 - Modules - TypesProc Details

plant_analyzer

Procs

get_analyzer_text_chem_contentsThis proc is formats the chemical CONTENTS of a plant into a message.
get_analyzer_text_chem_genesThis proc is formats the chemical GENES of a seed into a message.
get_analyzer_text_traitsThis proc is formats the traits and stats of a seed into a message.
get_graft_textThis proc is formats the scan of a graft of a seed into a message.
pre_attackWhen we attack something, first - try to scan something we hit with left click. Left-clicking uses scans for stats
pre_attack_secondarySame as above, but with right click. Right-clicking scans for chemicals.
scan_plant_chemsThis proc is called when a seed or any grown plant is scanned on right click (chemical mode). It formats the plant name as well as its chemical contents.
scan_plant_statsThis proc is called when a seed or any grown plant is scanned on left click (stats mode). It formats the plant name as well as either its traits and stats.
scan_tray_chemsThis proc is called when we scan a hydroponics tray or soil on right click (chemicals mode) It formats the plant name and age, as well as the plant's chemical genes and the tray's contents.
scan_tray_statsThis proc is called when we scan a hydroponics tray or soil on left click (stats mode) It formats the plant name, it's age, the plant's stats, and the tray's stats.

Proc Details

get_analyzer_text_chem_contents

This proc is formats the chemical CONTENTS of a plant into a message.

Returns the formatted output as text.

get_analyzer_text_chem_genes

This proc is formats the chemical GENES of a seed into a message.

Returns the formatted output as text.

get_analyzer_text_traits

This proc is formats the traits and stats of a seed into a message.

Returns the formatted output as text.

get_graft_text

This proc is formats the scan of a graft of a seed into a message.

Returns the formatted output as text.

pre_attack

When we attack something, first - try to scan something we hit with left click. Left-clicking uses scans for stats

pre_attack_secondary

Same as above, but with right click. Right-clicking scans for chemicals.

scan_plant_chems

This proc is called when a seed or any grown plant is scanned on right click (chemical mode). It formats the plant name as well as its chemical contents.

Returns the formatted output as text.

scan_plant_stats

This proc is called when a seed or any grown plant is scanned on left click (stats mode). It formats the plant name as well as either its traits and stats.

Returns the formatted output as text.

scan_tray_chems

This proc is called when we scan a hydroponics tray or soil on right click (chemicals mode) It formats the plant name and age, as well as the plant's chemical genes and the tray's contents.

Returns the formatted message as text.

scan_tray_stats

This proc is called when we scan a hydroponics tray or soil on left click (stats mode) It formats the plant name, it's age, the plant's stats, and the tray's stats.

Returns the formatted message as text.