/tg/ Station 13 - Modules - TypesVar Details

flora

Vars

can_uprootIf the user is allowed to uproot the flora
flora_flagsFlags for the flora to determine what kind of sound to play when it gets hit
harvest_amount_highThe high end of how many product_type items you get
harvest_amount_lowThe low end of how many product_type items you get
harvest_message_true_thresholdsSee proc/harvest() and where this is used for an explaination on how this works
harvest_timeHow long it takes to harvest the flora with the correct tool
harvest_verbThe "verb" to use when the user harvests the flora
harvest_verb_suffixWhat should be added to harvest_verb depending on the context ("user harvest(s) the tree" / "user chop(s down) the tree")
harvest_with_handsIf the user is able to harvest this with their hands
harvestableIf false, the flora won't be able to be harvested at all. If it's true, go through checks normally to determine if the flora is able to be harvested
harvested_descIf set, the flora will have this as its description after being harvested. When the flora becomes harvestable again, it regerts to its initial(desc)
harvested_nameIf set, the flora will have this as its name after being harvested. When the flora becomes harvestable again, it reverts to its initial(name)
product_typesA lazylist of products that could be created when harvesting this flora, syntax is (type = weight) Because of how this works, it can spawn in anomalies if you want it to. Or wall girders
regrowth_time_highStops the flora from regrowing if this is set to 0
regrowth_time_lowVariables for determining the low/high ends of how long it takes for the flora takes to grow.

Var Details

can_uproot

If the user is allowed to uproot the flora

flora_flags

Flags for the flora to determine what kind of sound to play when it gets hit

harvest_amount_high

The high end of how many product_type items you get

harvest_amount_low

The low end of how many product_type items you get

harvest_message_true_thresholds

See proc/harvest() and where this is used for an explaination on how this works

harvest_time

How long it takes to harvest the flora with the correct tool

harvest_verb

The "verb" to use when the user harvests the flora

harvest_verb_suffix

What should be added to harvest_verb depending on the context ("user harvest(s) the tree" / "user chop(s down) the tree")

harvest_with_hands

If the user is able to harvest this with their hands

harvestable

If false, the flora won't be able to be harvested at all. If it's true, go through checks normally to determine if the flora is able to be harvested

harvested_desc

If set, the flora will have this as its description after being harvested. When the flora becomes harvestable again, it regerts to its initial(desc)

harvested_name

If set, the flora will have this as its name after being harvested. When the flora becomes harvestable again, it reverts to its initial(name)

product_types

A lazylist of products that could be created when harvesting this flora, syntax is (type = weight) Because of how this works, it can spawn in anomalies if you want it to. Or wall girders

regrowth_time_high

Stops the flora from regrowing if this is set to 0

regrowth_time_low

Variables for determining the low/high ends of how long it takes for the flora takes to grow.