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

/obj/item/seeds

Vars

enduranceAmount of health the plant has.
genesPlant genes are stored here, see plant_genes.dm for more info.
graft_geneTrait to be applied when grafting a plant.
graftedDetermines if the plant has had a graft removed or not.
growing_iconthe file that stores the sprites of the growing plant from this seed.
growthstagesAmount of growth sprites the plant has.
icon_deadUsed to override dead icon (default is "[species]-dead"). You can use one dead icon for multiple closely related plants with it.
icon_growUsed to override grow icon (default is "[species]-grow"). You can use one grow icon for multiple closely related plants with it.
icon_harvestUsed to override harvest icon (default is "[species]-harvest"). If null, plant will use [icon_grow][growthstages].
lifespanHow long before the plant begins to take damage from age.
maturationUsed to determine which sprite to switch to when growing.
mutatelistThe type of plants that this plant can mutate into.
plantnameName of plant when planted.
potencyThe 'power' of a plant. Generally effects the amount of reagent in a plant, also used in other ways.
productA type path. The thing that is created when the plant is harvested.
productdescDescribes the product on the product path.
productionChanges the amount of time needed for a plant to become harvestable.
rarityHow rare the plant is. Used for giving points to cargo when shipping off to CentCom.
reagents_addA list of reagents to add to product.
speciesUsed to update icons. Should match the name in the sprites unless all icon_* are overridden.
weed_chancePercentage chance per tray update to grow weeds
weed_rateIf the chance below passes, then this many weeds sprout during growth
yieldAmount of growns created per harvest. If is -1, the plant/shroom/weed is never meant to be harvested.

Procs

adjust_enduranceAdjusts seed endurance up or down according to adjustamt. (Max 100)
adjust_instabilityAdjusts seed instability up or down according to adjustamt. (Max 100)
adjust_lifespanAdjusts seed lifespan up or down according to adjustamt. (Max 100)
adjust_potencyAdjusts seed potency up or down according to adjustamt. (Max 100)
adjust_productionAdjusts seed production seed up or down according to adjustamt. (Max 10)
adjust_weed_chanceAdjusts seed weed chance up or down according to adjustamt. (Max 67%)
adjust_weed_rateAdjusts seed weed grwoth speed up or down according to adjustamt. (Max 10)
adjust_yieldSetters procs Adjusts seed yield up or down according to adjustamt. (Max 10)
set_enduranceSets the plant's endurance stat to the value of adjustamt. (Max 100)
set_instabilitySets the plant's instability stat to the value of adjustamt. (Max 100)
set_lifespanSets the plant's lifespan stat to the value of adjustamt. (Max 100)
set_mutabilityThis proc adds a mutability_flag to a gene
set_potencySets the plant's potency stat to the value of adjustamt. (Max 100)
set_productionSets the plant's production stat to the value of adjustamt. (Max 10)
set_weed_chanceSets the plant's weed growth percentage to the value of adjustamt. (Max 67%)
set_weed_rateSets the plant's weed production rate to the value of adjustamt. (Max 10)
set_yieldSets the plant's yield stat to the value of adjustamt. (Max 10)
unset_mutabilityThis proc removes a mutability_flag from a gene

Var Details

endurance

Amount of health the plant has.

genes

Plant genes are stored here, see plant_genes.dm for more info.

graft_gene

Trait to be applied when grafting a plant.

grafted

Determines if the plant has had a graft removed or not.

growing_icon

the file that stores the sprites of the growing plant from this seed.

growthstages

Amount of growth sprites the plant has.

icon_dead

Used to override dead icon (default is "[species]-dead"). You can use one dead icon for multiple closely related plants with it.

icon_grow

Used to override grow icon (default is "[species]-grow"). You can use one grow icon for multiple closely related plants with it.

icon_harvest

Used to override harvest icon (default is "[species]-harvest"). If null, plant will use [icon_grow][growthstages].

lifespan

How long before the plant begins to take damage from age.

maturation

Used to determine which sprite to switch to when growing.

mutatelist

The type of plants that this plant can mutate into.

plantname

Name of plant when planted.

potency

The 'power' of a plant. Generally effects the amount of reagent in a plant, also used in other ways.

product

A type path. The thing that is created when the plant is harvested.

productdesc

Describes the product on the product path.

production

Changes the amount of time needed for a plant to become harvestable.

rarity

How rare the plant is. Used for giving points to cargo when shipping off to CentCom.

reagents_add

A list of reagents to add to product.

species

Used to update icons. Should match the name in the sprites unless all icon_* are overridden.

weed_chance

Percentage chance per tray update to grow weeds

weed_rate

If the chance below passes, then this many weeds sprout during growth

yield

Amount of growns created per harvest. If is -1, the plant/shroom/weed is never meant to be harvested.

Proc Details

adjust_endurance

Adjusts seed endurance up or down according to adjustamt. (Max 100)

adjust_instability

Adjusts seed instability up or down according to adjustamt. (Max 100)

adjust_lifespan

Adjusts seed lifespan up or down according to adjustamt. (Max 100)

adjust_potency

Adjusts seed potency up or down according to adjustamt. (Max 100)

adjust_production

Adjusts seed production seed up or down according to adjustamt. (Max 10)

adjust_weed_chance

Adjusts seed weed chance up or down according to adjustamt. (Max 67%)

adjust_weed_rate

Adjusts seed weed grwoth speed up or down according to adjustamt. (Max 10)

adjust_yield

Setters procs Adjusts seed yield up or down according to adjustamt. (Max 10)

set_endurance

Sets the plant's endurance stat to the value of adjustamt. (Max 100)

set_instability

Sets the plant's instability stat to the value of adjustamt. (Max 100)

set_lifespan

Sets the plant's lifespan stat to the value of adjustamt. (Max 100)

set_mutability

This proc adds a mutability_flag to a gene

set_potency

Sets the plant's potency stat to the value of adjustamt. (Max 100)

set_production

Sets the plant's production stat to the value of adjustamt. (Max 10)

set_weed_chance

Sets the plant's weed growth percentage to the value of adjustamt. (Max 67%)

set_weed_rate

Sets the plant's weed production rate to the value of adjustamt. (Max 10)

set_yield

Sets the plant's yield stat to the value of adjustamt. (Max 10)

unset_mutability

This proc removes a mutability_flag from a gene