mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-01-25 16:45:42 +00:00
* Completely refactors glowshroom spreading and makes them self-decay faster (#56981) * Completely refactors glowshroom spreading and makes them self-decay faster Co-authored-by: Qustinnus <Floydje123@hotmail.com>
43 lines
1.4 KiB
Plaintext
43 lines
1.4 KiB
Plaintext
/// -- Botany plant stat defines. --
|
|
/// MAXES:
|
|
#define MAX_PLANT_YIELD 10
|
|
#define MAX_PLANT_LIFESPAN 100
|
|
#define MAX_PLANT_ENDURANCE 100
|
|
#define MAX_PLANT_PRODUCTION 10
|
|
#define MAX_PLANT_POTENCY 100
|
|
#define MAX_PLANT_INSTABILITY 100
|
|
#define MAX_PLANT_WEEDRATE 10
|
|
#define MAX_PLANT_WEEDCHANCE 67
|
|
/// MINS:
|
|
#define MIN_PLANT_ENDURANCE 10
|
|
|
|
/// -- Some botany trait value defines. --
|
|
/// Weed Hardy can only reduce plants to 3 yield.
|
|
#define WEED_HARDY_YIELD_MIN 3
|
|
/// Carnivory potency can only reduce potency to 30.
|
|
#define CARNIVORY_POTENCY_MIN 30
|
|
/// Fungle megabolism plants have a min yield of 1.
|
|
#define FUNGAL_METAB_YIELD_MIN 1
|
|
|
|
/// -- Hydroponics tray defines. --
|
|
/// Macro for updating the tray name.
|
|
#define TRAY_NAME_UPDATE name = myseed ? "[initial(name)] ([myseed.plantname])" : initial(name)
|
|
/// Base amount of nutrients a tray can old.
|
|
#define STATIC_NUTRIENT_CAPACITY 10
|
|
/// Maximum amount of toxins a tray can reach.
|
|
#define MAX_TRAY_TOXINS 100
|
|
/// Maxumum pests a tray can reach.
|
|
#define MAX_TRAY_PESTS 10
|
|
/// Maximum weeds a tray can reach.
|
|
#define MAX_TRAY_WEEDS 10
|
|
/// Minumum plant health required for gene shears.
|
|
#define GENE_SHEAR_MIN_HEALTH 15
|
|
|
|
/// -- Flags for seeds. --
|
|
/// Allows a plant to wild mutate (mutate on haravest) at a certain instability.
|
|
#define MUTATE_EARLY (1<<0)
|
|
|
|
/// -- Flags for traits. --
|
|
/// Caps the plant's yield at 5 instead of 10.
|
|
#define TRAIT_HALVES_YIELD (1<<0)
|