Skip to content

Plant Properties and Types

Tom edited this page Sep 23, 2023 · 32 revisions

There will be many types of plants in the game which can be harvested. Once harvested plants will drop items that a player can pick up and add to their inventory, which can later be consumed or used to aid them in other areas of the game.

Plant Properties

Plants will have each of the following properties:

Current Health

Represented as an integer. If a plant's health reaches 0 it dies. Health can decrease due to receiving damage from other entities in the game. Health increases on plant growth, or can be increased if the player uses growth-purpose consumables on the plant. Each plant type is assigned a maximum health.

Maximum Health

An integer representing the maximum health that a plant has at each stage of growth.

Ideal Water Level

Represented as a float between 0 and 2. The ideal water level will determine the growth rate of the plant, depending on the water level of the tile the plant is placed on.

Current Age

Represented as a float. Starts at 0 when a seedling is first planted onto a tile on the map. Every 6 minutes (half day) the age is incremented by 0.5. The age will be used to keep track of how many in game days the plant has been alive.

Growth Stage

A plant has 6 stages of growth each represented by an integer. At each stage the plant has a percentage of the maximum health of the fully grown plant.

1 Seedling: initial stage of a plant. Can be planted on the tile. 5% maximum health.

2 Sprout: a plant in the first stages of growth. Not harvestable. 10% maximum health.

3 Juvenile: the plant is showing signs of growth. Has 30% maximum health.

4 Adult: the plant is fully grown and is harvestable. The plant will no longer grow at this stage. When harvested the plant will drop its items. Plants can stay at this stage depending on their adult lifespan. 100% maximum health.

5 Decaying: after the plant has exhausted their adult lifespan the plant's health is reduced by 10% every 3 minutes.

6 Dead: the plant's health reaches 0 after decay. The plant is no longer harvestable and can only be removed from the tile or will disappear.

Growth will be determined by the type of plant and the state of the tile at which it is placed. When a plant meets the requirements to grow, a method is called to increase the growth stage to the subsequent growth level. The maximum health and plant texture will also be updated according to the new level. The method is called once every one in-game day.

Harvest Drops

Once reaching the adult growth stage, plants will have the ability to drop items that will benefit the player. The mechanism for items being dropped will vary based on the type of plant. FOOD, HEALTH, and DEADLY plant types will drop items on harvest. REPAIR and PRODUCTION plant types will drop items at regular time intervals.

Adult Lifespan

An integer representing the number of cycles a plant can exist at the Adult Growth Stage before its Growth Stage is changed to 6 Decaying.

Area of Effect

Decay / Dead: Triggered when a plant is decaying or dead. This effect decreases the health of all plants near the decaying or dead plant. This encourages the player to remove dead and decaying plants.

Health: Triggered by adult REPAIR type plants. This effect increases the health of plants, animals, and the player when they are near the REPAIR plant.

Eat: Triggered by adult DEFENCE type plants. This effect allows the DEFENCE plant to eat any animals that are near it. There is a cool down period after eating an animal.

Poison: Triggered by adult DEADLY type plants. This effect damages the health of the player or animals when they come near it.

Plant Types

There are a total of 6 different plants.

cosmicCob

A special variety of corn with purple leaves and fantastic multicoloured cobs. The fruit from this plant is essential for sustaining human life on this harsh planet.

Name: Cosmic Cob

Type: FOOD

Description: Nutritious space corn!

Ideal water level: 0.7

Adult lifespan: 5

Maximum health: 400

corn_set image

aloeVera

Aloe Vera produces a healing gel that serves as a remedy for various health issues. The healing gel can be applied to humans and plants to restore lost health.

Name: Aloe Vera

Type: HEALTH

Description: Produces gel that can be used for healing.

Ideal water level: 0.7

Adult lifespan: 5

Maximum health: 300:

aloevera_set image

hammerPlant

Name: Hammer Plant

Type: REPAIR

Description: Repairs plants within its healing radius.

Ideal water level: 0.7

Adult lifespan: 5

Maximum health: 200:

hammer_set image

spaceSnapper

Once this plant reaches maturity it will try to eat any animal that comes in its path. Luckily is hates the taste of humans.

Name: Space Snapper

Type: DEFENCE

Description: I eat the fauna!

Ideal water level: 0.7

Adult lifespan: 5

Maximum health: 400:

venus_set image

atomicAlgae

Name: Atmoic Algae

Type: PRODUCTION

Description: A highly efficient oxygen-producing plant.

Ideal water level: 0.7

Adult lifespan: 5

Maximum health: 100:

waterweed_set image

deadlyNightshade

Once this plant reaches maturity it will poison any animal that comes too close. The berries it produces are highly poisonous to humans but not the aliens native to the planet. Be sure to have some Aloe Vera gel handy if you plan on collecting some berries!

Name: Deadly Nightshade

Type: DEADLY

Description: grows deadly poisonous berries.

Ideal water level: 0.7

Adult lifespan: 5

Maximum health: 200

belladona_set image

Destroy Animation

plant_destroy plant_destroy

Original Plant Designs - from Team 6

Corn Aloe Hammer VenusTrap waterweed belladonna

Clone this wiki locally