WorldSim  inDev
2D tile-based sandbox RPG with procedurally generated fantasy world simulator 🌏
Public Member Functions | Public Attributes | List of all members
Effect Class Reference

#include <Static_Flora.hpp>

Public Member Functions

 Effect (std::string _name)
 

Public Attributes

std::string name
 

Detailed Description

Flora are plants which can be found in the different Biomes of the World. Flora has multiple purposes: Food for Creatures Harvestable materials Harvestable ingredients Harvestable alchemy ingredients

Each flora will be randomly generated.

Abstract flora plan.

alternatively: flora ID (0-255) -> lookup table. flora stats update once per 24 hours on average. flora growth/death won't be modelled when player is absent because it won't be noticable. each biome gets its own list of flora

flora should replenish to max amount every 7 days or so, depending on scaling.

flora generation: each biome will randomly generate its own unique flora in future flora could be given names based on various attributes

flora may be pickable and/or choppable

Flora is a little bit complicated because each Flora may have unique characteristics, but mostly will draw from a static class. I will probably give Flora objects a Package which will store any unique characteristics.

Constructor & Destructor Documentation

◆ Effect()

Effect::Effect ( std::string  _name)
inline

Member Data Documentation

◆ name

std::string Effect::name

The documentation for this class was generated from the following file: