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

simple_tree

Vars

attached_atomthe atom the farm is attached to
fertilizer_amountthe amount of fertilizer that has been applied to the tree, each increasing the chance to upgrade to the next
graft_listthe list of grafts on the tree
grafted_reagentsthe list of reagents from the grafted plants
harvest_cooldownthe cooldown for being able to harvest some fruits
honeycomb_cooldownthe cooldown to collect a honeycomb from the tree/bee
process_cooldownthe cooldown between each processing
processing_treewhether the tree will process
sap_cooldownthe cooldown for collecting sap from the tree
tapped_reagentwhat the tree will produce from the tap
tapped_treewhether the tree has been tapped
tree_beethe queen bee (if it exists) that is using this tree as a home
tree_current_healthhow much current health the tree has
tree_max_healthhow much maximum health the tree can have
tree_stagethe stage of the tree; at stage three, all functions are available depending on other variables
wood_cooldownthe cooldown for being able to safely remove some branches from the tree for wood

Procs

adjust_healthadjusts the trees health, clamped from 0 to the max health; if 0, will qdel the tree
attempt_honeycombattempts to spawn a honeycomb
attempt_upgradeattempts to stage up, which gets closer to having the full functions plus heals
attempt_woodmakingattempts to spawn a log, or damages it if it cannot
do_fertilizerapplying fertilizer to the tree; who did it, with what, how long, how much use, how much give, and whether you've forced it (bypasses the usage)
move_treeused when the attached atom somehow moves
tap_treetapping the tree, to allow for drainage of sap; who, with what, tapping or untapping, how long, and if forced
update_graft_reagentsupdates the reagents that will be inserted into the product

Var Details

attached_atom

the atom the farm is attached to

fertilizer_amount

the amount of fertilizer that has been applied to the tree, each increasing the chance to upgrade to the next

graft_list

the list of grafts on the tree

grafted_reagents

the list of reagents from the grafted plants

harvest_cooldown

the cooldown for being able to harvest some fruits

honeycomb_cooldown

the cooldown to collect a honeycomb from the tree/bee

process_cooldown

the cooldown between each processing

processing_tree

whether the tree will process

sap_cooldown

the cooldown for collecting sap from the tree

tapped_reagent

what the tree will produce from the tap

tapped_tree

whether the tree has been tapped

tree_bee

the queen bee (if it exists) that is using this tree as a home

tree_current_health

how much current health the tree has

tree_max_health

how much maximum health the tree can have

tree_stage

the stage of the tree; at stage three, all functions are available depending on other variables

wood_cooldown

the cooldown for being able to safely remove some branches from the tree for wood

Proc Details

adjust_health

adjusts the trees health, clamped from 0 to the max health; if 0, will qdel the tree

attempt_honeycomb

attempts to spawn a honeycomb

attempt_upgrade

attempts to stage up, which gets closer to having the full functions plus heals

attempt_woodmaking

attempts to spawn a log, or damages it if it cannot

do_fertilizer

applying fertilizer to the tree; who did it, with what, how long, how much use, how much give, and whether you've forced it (bypasses the usage)

move_tree

used when the attached atom somehow moves

tap_tree

tapping the tree, to allow for drainage of sap; who, with what, tapping or untapping, how long, and if forced

update_graft_reagents

updates the reagents that will be inserted into the product