Space Station 13 - Nebula13 - Modules - TypesVar Details - Proc Details

planet_flora

Contains data about the flora found on a planetoid, and facilities to pick and spawn them randomly. This base type is meant to be used on its own only for fixed flora lists defined at compile time.

Vars

big_flora_typesSeeds of tree-tier flora at runtime. At definition is a list of /datum/seed types or plant names.
exuded_gases_exclusionsGases that plants should never produce during their lives.
grass_colorColor used for grass floors.
plant_colorsColors allowed for generated flora.
small_flora_typesSeeds of 'small' flora at runtime. At definition is a list of /datum/seed types or plant names.

Procs

setup_floraMake sure our flora seed lists actually contains valid seeds! Call this after creating the datum to ensure everything is ready!
setup_flora_listGo through a flora list and ensure any seed names and seed datum types are properly turned into a seed instance, and carry over any existing seed instances.
spawn_random_big_floraSpawns a randomly chosen big flora from our big flora seed list.
spawn_random_small_floraSpawns a randomly chosen small flora from our small flora seed list.

Var Details

big_flora_types

Seeds of tree-tier flora at runtime. At definition is a list of /datum/seed types or plant names.

exuded_gases_exclusions

Gases that plants should never produce during their lives.

grass_color

Color used for grass floors.

plant_colors

Colors allowed for generated flora.

small_flora_types

Seeds of 'small' flora at runtime. At definition is a list of /datum/seed types or plant names.

Proc Details

setup_flora

Make sure our flora seed lists actually contains valid seeds! Call this after creating the datum to ensure everything is ready!

setup_flora_list

Go through a flora list and ensure any seed names and seed datum types are properly turned into a seed instance, and carry over any existing seed instances.

spawn_random_big_flora

Spawns a randomly chosen big flora from our big flora seed list.

spawn_random_small_flora

Spawns a randomly chosen small flora from our small flora seed list.