Botany (#2357)
* plants and seeds go brrrr * update plants * P L A N T * brrrr * Hydroponics actually work! How about that? * Reuse resource path in visualizer * They lied to us. * Several stuffs * more werk * Add a bunch of plants * Logs go brr. * Brrr moment. * Remove unused method * Important comment. * Seed inventory, yo! * tomato moment * Balance consumption * Makes hydroponics pourable * Adds plant metabolism effect for sugar, the same as glucose. * Eggplant moment * Apple moment * Corn moment * Chanterelle mushroom moment * prototype tweaks * Seed extractor moment * typo * IPlantMetabolizable doc improvement * I should trust my gut instinct more often. * egg-plant..... * localization * Make WaterLevel and NutritionLevel setters private * Less code repetition! Wooo!
This commit is contained in:
committed by
GitHub
parent
7c57d10531
commit
484eb0bba4
@@ -7,6 +7,11 @@
|
||||
metabolism:
|
||||
- !type:DefaultFood
|
||||
rate: 1
|
||||
plantMetabolism:
|
||||
- !type:AdjustNutrition
|
||||
amount: 1
|
||||
- !type:AdjustHealth
|
||||
amount: 0.5
|
||||
|
||||
- type: reagent
|
||||
id: chem.H2SO4
|
||||
@@ -16,6 +21,13 @@
|
||||
color: "#BF8C00"
|
||||
boilingPoint: 337.0
|
||||
meltingPoint: 10.31
|
||||
plantMetabolism:
|
||||
- !type:AdjustToxins
|
||||
amount: 10
|
||||
- !type:AdjustWeeds
|
||||
amount: -2
|
||||
- !type:AdjustHealth
|
||||
amount: -4
|
||||
|
||||
- type: reagent
|
||||
id: chem.H2O
|
||||
@@ -31,6 +43,9 @@
|
||||
tileReactions:
|
||||
- !type:ExtinguishTileReaction {}
|
||||
- !type:SpillIfPuddlePresentTileReaction {}
|
||||
plantMetabolism:
|
||||
- !type:AdjustWater
|
||||
amount: 1
|
||||
|
||||
- type: reagent
|
||||
id: chem.Ice
|
||||
@@ -40,6 +55,9 @@
|
||||
color: "#bed8e6"
|
||||
meltingPoint: 0.0
|
||||
boilingPoint: 100.0
|
||||
plantMetabolism:
|
||||
- !type:AdjustWater
|
||||
amount: 1
|
||||
|
||||
- type: reagent
|
||||
id: chem.Phoron
|
||||
@@ -73,6 +91,13 @@
|
||||
color: "#ffffff"
|
||||
boilingPoint: 340282300000000000000000000000000000000 #Fun fact: Glucose can't boil. So let's just set it to the maximum float value.
|
||||
meltingPoint: 146.0
|
||||
plantMetabolism:
|
||||
- !type:AdjustNutrition
|
||||
amount: 0.1
|
||||
- !type:AdjustWeeds
|
||||
amount: 2
|
||||
- !type:AdjustPests
|
||||
amount: 2
|
||||
|
||||
- type: reagent
|
||||
id: chem.Ammonia
|
||||
@@ -82,6 +107,11 @@
|
||||
color: "#77b58e"
|
||||
boilingPoint: -33.0
|
||||
meltingPoint: -77.7
|
||||
plantMetabolism:
|
||||
- !type:AdjustNutrition
|
||||
amount: 1
|
||||
- !type:AdjustHealth
|
||||
amount: 0.5
|
||||
|
||||
- type: reagent
|
||||
id: chem.Bleach
|
||||
@@ -100,6 +130,20 @@
|
||||
color: "#a1000b"
|
||||
boilingPoint: 55.5
|
||||
meltingPoint: -50.0
|
||||
customPlantMetabolism: 0.1
|
||||
plantMetabolism:
|
||||
- !type:AdjustNutrition
|
||||
amount: 0.1
|
||||
- !type:AdjustPests
|
||||
prob: 0.1
|
||||
amount: -1
|
||||
- !type:AdjustHealth
|
||||
amount: 0.1
|
||||
- !type:AffectGrowth
|
||||
prob: 0.2
|
||||
amount: 1
|
||||
- !type:Diethylamine {}
|
||||
|
||||
|
||||
- type: reagent
|
||||
id: chem.FoamingAgent
|
||||
@@ -118,6 +162,13 @@
|
||||
color: "#a1000b"
|
||||
boilingPoint: 78.2 # This isn't a real chemical...
|
||||
meltingPoint: -19.4
|
||||
plantMetabolism:
|
||||
- !type:AdjustToxins
|
||||
amount: 20
|
||||
- !type:AdjustWeeds
|
||||
amount: -4
|
||||
- !type:AdjustHealth
|
||||
amount: -8
|
||||
|
||||
- type: reagent
|
||||
id: chem.SpaceCleaner
|
||||
@@ -152,6 +203,19 @@
|
||||
color: "#a1000b"
|
||||
boilingPoint: 1465.0
|
||||
meltingPoint: 800.7
|
||||
plantMetabolism:
|
||||
- !type:AdjustWater
|
||||
amount: -3
|
||||
- !type:AdjustNutrition
|
||||
amount: -0.3
|
||||
- !type:AdjustToxins
|
||||
amount: 8
|
||||
- !type:AdjustWeeds
|
||||
amount: -2
|
||||
- !type:AdjustPests
|
||||
amount: -1
|
||||
- !type:AdjustHealth
|
||||
amount: -2
|
||||
|
||||
- type: reagent
|
||||
id: chem.Thermite
|
||||
@@ -173,6 +237,10 @@
|
||||
color: "#00ff5f"
|
||||
boilingPoint: 340282300000000000000000000000000000000 # Ethidium bromide, which doesn't boil.
|
||||
meltingPoint: 261.0
|
||||
customPlantMetabolism: 2
|
||||
plantMetabolism:
|
||||
- !type:AdjustMutationLevel
|
||||
amount: 1
|
||||
|
||||
- type: reagent
|
||||
id: chem.WeldingFuel
|
||||
@@ -184,3 +252,110 @@
|
||||
meltingPoint: -80.7
|
||||
tileReactions:
|
||||
- !type:FlammableTileReaction {}
|
||||
|
||||
- type: reagent
|
||||
id: chem.EZNutrient
|
||||
name: EZ nutrient
|
||||
desc: Give your plants some of those EZ nutrients!
|
||||
color: "#664330"
|
||||
physicalDesc: thick
|
||||
plantMetabolism:
|
||||
- !type:AdjustNutrition
|
||||
amount: 1
|
||||
|
||||
- type: reagent
|
||||
id: chem.Left4Zed
|
||||
name: left-4-zed
|
||||
desc: A cocktail of mutagenic compounds, which cause plant life to become highly unstable.
|
||||
color: "#5b406c"
|
||||
physicalDesc: heterogeneous
|
||||
plantMetabolism:
|
||||
- !type:AdjustNutrition
|
||||
amount: 1
|
||||
- !type:AdjustHealth
|
||||
amount: -0.5
|
||||
- !type:AdjustMutationMod
|
||||
prob: 0.3
|
||||
amount: 0.2
|
||||
|
||||
- type: reagent
|
||||
id: chem.RobustHarvest
|
||||
name: robust harvest
|
||||
desc: Plant-enhancing hormones, good for increasing potency.
|
||||
color: "#3e901c"
|
||||
physicalDesc: robust
|
||||
customPlantMetabolism: 0.1
|
||||
plantMetabolism:
|
||||
- !type:AdjustNutrition
|
||||
amount: 0.05
|
||||
- !type:AdjustWeeds
|
||||
prob: 0.025
|
||||
amount: 1
|
||||
- !type:AdjustPests
|
||||
prob: 0.025
|
||||
amount: 1
|
||||
- !type:RobustHarvest {}
|
||||
|
||||
- type: reagent
|
||||
id: chem.PlantBGone
|
||||
name: plant-B-gone
|
||||
desc: A harmful toxic mixture to kill plantlife. Do not ingest!
|
||||
color: "#49002E"
|
||||
physicalDesc: bubbling
|
||||
plantMetabolism:
|
||||
- !type:AdjustToxins
|
||||
amount: 6
|
||||
- !type:AdjustWeeds
|
||||
amount: -8
|
||||
- !type:AdjustHealth
|
||||
amount: -20
|
||||
- !type:AdjustMutationMod
|
||||
amount: 0.1
|
||||
|
||||
- type: reagent
|
||||
id: chem.WeedKiller
|
||||
name: weed killer
|
||||
desc: A mixture that targets weeds.
|
||||
color: "#968395"
|
||||
physicalDesc: bubbling
|
||||
plantMetabolism:
|
||||
- !type:AdjustToxins
|
||||
amount: 4
|
||||
- !type:AdjustWeeds
|
||||
amount: -6
|
||||
|
||||
- type: reagent
|
||||
id: chem.PestKiller
|
||||
name: pest killer
|
||||
desc: A mixture that targets pests.
|
||||
color: "#9e9886"
|
||||
physicalDesc: bubbling
|
||||
plantMetabolism:
|
||||
- !type:AdjustToxins
|
||||
amount: 4
|
||||
- !type:AdjustPests
|
||||
amount: -6
|
||||
|
||||
- type: reagent
|
||||
id: chem.Toxin
|
||||
name: toxin
|
||||
desc: A Toxic chemical.
|
||||
color: "#cf3600"
|
||||
physicalDesc: opaque
|
||||
plantMetabolism:
|
||||
- !type:AdjustToxins
|
||||
amount: 10
|
||||
|
||||
- type: reagent
|
||||
id: chem.Sugar
|
||||
name: sugar
|
||||
desc: Sickly sweet.
|
||||
color: "#ffffff"
|
||||
physicalDesc: opaque
|
||||
plantMetabolism:
|
||||
- !type:AdjustNutrition
|
||||
amount: 0.1
|
||||
- !type:AdjustWeeds
|
||||
amount: 2
|
||||
- !type:AdjustPests
|
||||
amount: 2
|
||||
|
||||
@@ -29,6 +29,11 @@
|
||||
physicalDesc: bubbly
|
||||
color: "#cfa85f"
|
||||
spritePath: beerglass.rsi
|
||||
plantMetabolism:
|
||||
- !type:AdjustNutrition
|
||||
amount: 0.25
|
||||
- !type:AdjustWater
|
||||
amount: 0.7
|
||||
|
||||
- type: reagent
|
||||
id: chem.Vodka
|
||||
@@ -156,6 +161,13 @@
|
||||
metabolism:
|
||||
- !type:DefaultDrink
|
||||
rate: 1
|
||||
plantMetabolism:
|
||||
- !type:AdjustNutrition
|
||||
amount: 0.1
|
||||
- !type:AdjustWater
|
||||
amount: 1
|
||||
- !type:AdjustHealth
|
||||
amount: 0.1
|
||||
|
||||
- type: reagent
|
||||
id: chem.Coffee
|
||||
@@ -196,6 +208,11 @@
|
||||
metabolism:
|
||||
- !type:DefaultDrink
|
||||
rate: 1
|
||||
plantMetabolism:
|
||||
- !type:AdjustNutrition
|
||||
amount: 0.1
|
||||
- !type:AdjustWater
|
||||
amount: 0.9
|
||||
|
||||
- type: reagent
|
||||
id: chem.SpoiledMilk
|
||||
@@ -235,4 +252,4 @@
|
||||
color: "#9d5fb8"
|
||||
metabolism:
|
||||
- !type:DefaultDrink
|
||||
rate: 1
|
||||
rate: 1
|
||||
|
||||
@@ -78,6 +78,15 @@
|
||||
color: "#808080"
|
||||
boilingPoint: -188.11
|
||||
meltingPoint: -219.67
|
||||
plantMetabolism:
|
||||
- !type:AdjustWater
|
||||
amount: -0.5
|
||||
- !type:AdjustToxins
|
||||
amount: 25
|
||||
- !type:AdjustWeeds
|
||||
amount: -4
|
||||
- !type:AdjustHealth
|
||||
amount: -2
|
||||
|
||||
- type: reagent
|
||||
id: chem.Si
|
||||
@@ -96,6 +105,15 @@
|
||||
color: "#a2ff00"
|
||||
meltingPoint: -101.5
|
||||
boilingPoint: -34.04
|
||||
plantMetabolism:
|
||||
- !type:AdjustWater
|
||||
amount: -0.5
|
||||
- !type:AdjustToxins
|
||||
amount: 15
|
||||
- !type:AdjustWeeds
|
||||
amount: -3
|
||||
- !type:AdjustHealth
|
||||
amount: -1
|
||||
|
||||
- type: reagent
|
||||
id: chem.Li
|
||||
@@ -123,6 +141,13 @@
|
||||
color: "#ede4e4"
|
||||
meltingPoint: 44.2
|
||||
boilingPoint: 280.5
|
||||
plantMetabolism:
|
||||
- !type:AdjustNutrition
|
||||
amount: 0.1
|
||||
- !type:AdjustWater
|
||||
amount: -0.5
|
||||
- !type:AdjustWeeds
|
||||
amount: -2
|
||||
|
||||
- type: reagent
|
||||
id: chem.K
|
||||
@@ -141,6 +166,17 @@
|
||||
color: "#00ff04"
|
||||
meltingPoint: 700.0
|
||||
boilingPoint: 1737.0
|
||||
customPlantMetabolism: 2
|
||||
plantMetabolism:
|
||||
- !type:AdjustMutationLevel
|
||||
amount: 0.6
|
||||
- !type:AdjustToxins
|
||||
amount: 4
|
||||
- !type:AdjustHealth
|
||||
amount: -1.5
|
||||
- !type:AdjustMutationMod
|
||||
prob: 0.2
|
||||
amount: 0.1
|
||||
|
||||
- type: reagent
|
||||
id: chem.Na
|
||||
|
||||
@@ -18,6 +18,11 @@
|
||||
desc: A broad-spectrum anti-toxin, which treats toxin damage in the blood stream. Overdosing will cause vomiting, dizzyness and pain.
|
||||
physicalDesc: translucent
|
||||
color: "#3a1d8a"
|
||||
plantMetabolism:
|
||||
- !type:AdjustToxins
|
||||
amount: -10
|
||||
- !type:AdjustHealth
|
||||
amount: 1
|
||||
|
||||
- type: reagent
|
||||
id: chem.Arithrazine
|
||||
@@ -39,6 +44,11 @@
|
||||
desc: Required for the proper function of cryogenics. Heals all standard types of damage very swiftly, but only works in temperatures under 170K (usually this means cryo cells). Can also slowly heal clone damage, such as caused by cloning or Slimes.
|
||||
physicalDesc: fizzy
|
||||
color: "#0091ff"
|
||||
plantMetabolism:
|
||||
- !type:AdjustToxins
|
||||
amount: -3
|
||||
- !type:AdjustHealth
|
||||
amount: 3
|
||||
|
||||
- type: reagent
|
||||
id: chem.Clonexadone
|
||||
@@ -46,6 +56,11 @@
|
||||
desc: Heals standard damage in the same as Cryoxadone, with the same temperature requirement. Significantly more effective than the former at treating cellular damage, although both can be used simultaneously. Best used in cryo cells.
|
||||
physicalDesc: bubbly
|
||||
color: "#0666ff"
|
||||
plantMetabolism:
|
||||
- !type:AdjustToxins
|
||||
amount: -5
|
||||
- !type:AdjustHealth
|
||||
amount: 5
|
||||
|
||||
- type: reagent
|
||||
id: chem.Citalopram
|
||||
@@ -235,6 +250,9 @@
|
||||
desc: A hallucinogenic compound that is illegal under space law. A synthetic drug derived from Mindbreaker toxin, it blocks some neurological signals to the respiratory system which causes choking.
|
||||
physicalDesc: strong-smelling
|
||||
color: "#5f959c"
|
||||
plantMetabolism:
|
||||
- !type:AdjustToxins
|
||||
amount: 10
|
||||
|
||||
- type: reagent
|
||||
id: chem.Impedrezene
|
||||
@@ -263,6 +281,9 @@
|
||||
desc: A potent hallucinogenic compound that is illegal under space law. Formerly known as LSD.
|
||||
physicalDesc: opaque
|
||||
color: "#77b58e"
|
||||
plantMetabolism:
|
||||
- !type:AdjustToxins
|
||||
amount: 10
|
||||
|
||||
- type: reagent
|
||||
id: chem.Soporific
|
||||
|
||||
Reference in New Issue
Block a user