Oxygen Not Included

Oxygen Not Included

352 ratings
Customize Plants
4
4
4
3
2
   
Award
Favorite
Favorited
Unfavorite
File Size
Posted
Updated
971.065 KB
28 Jul, 2019 @ 10:40am
26 Aug @ 10:51am
51 Change Notes ( view )

Subscribe to download
Customize Plants

Description
Now all plants and compatible with other mods! Remove or add as many irrigation/fertilizer as you like. Change illumination requirements, temperature, atmosphere, harvest rate and amount.

Settings found here (after running mod)
Windows: %userprofile%\documents\Klei\OxygenNotIncluded\mods\CustomizePlants.json
Mac: ~Library/Application Support/unity.Klei.Oxygen Not Included/mods/CustomizePlants.json
Ubuntu: ~/.config/unity3d/Klei/Oxygen Not Included/mods/CustomizePlants.json

Base changes
Changeable in json file above!
- Mealwood 5kg dirt per cycle (original 10)
- Mushroom grows in 6 cycles, doesn't take slime but consumes CO2 to grow
- Bristle Blossom 5kg water per cycle (original 20kg)
- Waterweed 5kg salt water per cycle (original +500g bleach)
- Nosh Sprout 5kg ethanol (original 20kg +5kg dirt)
- Pincha Pepper 15kg polluted water per cycle (original 35kg)
- Arbor Tree 62.5kg polluted water (original 70kg)
- Mirth Leaf drop Algae and Clay, but take water to irrigate
- Bluff Briar filter chlorine from their surrounding up to 10g/s
- Jumping Joya filter natural gas from their surrounding up to 10g/s and convert it into CO2
- Sporechid exhale chlorine
- Gas Grass grows when in 100 Lux or more (instead of 20000 Lux)
- Wheezewort custom temperature delta of -20 Kelvin (normally -5 Kelvin)
- hanging flower vases and wall flower vase can be used for farming
- Oxyfern oxygen output changeable (default off)

These changes are primarily to demonstrate the possibilies. You can easily remove any change you don't like and add new ones.

List of Settings
- PlantSettings
-- id: Required. Defines which plant is affected. See ID in readme file.
-- fruitId: Must be valid Tag or listed in SpecialCropSettings.
-- fruit_grow_time: Time for the crop to grow in seconds.
-- fruit_amount: Number of objects or amount in kg, depends on Tag.
-- irrigation: List of irrigation needed. May be any liquid or solid element. Amount in kg per cycle
-- illumination: If equal 0 removes existing component. If less than 0 requires darkness. Otherwise number is light threshold required.
-- safe_elements: List of gas elements plant has to be in. If empty all elements are suitable.
-- temperatures: Array of temperatures in Kelvin. 1) death if lower 2) wilt if lower 3) wilt if higher 4) death if higher; entries after 4 are ignored; may have less than 4 entries
-- pressures: Array of pressures in kg. 1) death if lower 2) wilt if lower 3) wilt if higher 4) death if higher; entries after 4 are ignored; may have less than 4 entries
-- decor_value: Decor score.
-- decor_radius: Range at which the decor score is applied to.
-- submerged_threshold: If equal 0 ignores water. If less than 0 hates water. If higher than 0 needs water. Plant will wilt in bad conditions.
-- can_tinker: Whenever plant can be interacted with farming station.
-- require_solid_tile: Not sure...
-- max_age: If 0 or less, will never auto-harvest itself. Otherwise time in seconds for the plant to auto-harvest and plays bristled animation when at 50%+.
-- disease: Type of disease the plant spreads around it. May be: FoodPoisoning, SlimeLung, PollenGerms, or ZombieSpores.
-- disease_amount: How much disease is spread around it.
-- disease_once: How much disease is spawned on generation (only once).
-- input_element: Type of gas or liquid plant absorbs from environment. Not compatible with Wheezewort or Oxyfern.
-- input_rate: Amount absorbed per second.
-- output_element: Type of gas or liquid plant expels per second. Not compatible with Wheezewort or Oxyfern.
-- output_rate: Amount expelled per second.
-- radiation_threshold_min: Minimum radiation threshold.
-- radiation_threshold_max: Maximum radiation threshold.
- SpecialCropSettings: Defines a placeholder name and a list of recourses. When a plant tries to spawn a matching fruitId it will instead use the list provided. Note that this is only necessary when dealing with more than one recourse at once.
- SeedsGoIntoAnyFlowerPots: Whenever or not all seeds go into any flower pots / farm plots.
- WheezewortTempDelta: How much cooling wheezeworts do. Default is -5 Kelvin.
- OxyfernOxygenPerSecond: Amount of oxygen released by oxyferns.
- CheatFlowerVase: When true, the basic Flower Pot for decoration plants does not need any irrigation at all, no matter which plant is in it.
- AutomaticallyAddModPlants: When true, will automatically add any plant to the mod, that registers as a plant via ExtendEntityToBasicPlant function. Might require restart after plant was found.
- ModPlants: List of classes to patch besides the default plants. This may be extended manually or by enabling AutomaticallyAddModPlants.

Compatibility
- Wild Planter Mod: put Customize Plants first in load order

GitHub
If Steam Download does not work or you need an older version, you find the files also here: GitHub[github.com]
Popular Discussions View All (18)
12
28 Aug @ 1:51pm
Crash relating to mutant CritterTrapPlantSeed
Spontaneite
14
29 Aug @ 1:22pm
Crash when modifying fruit amount of Ovagro Vines
Gariba
2
1 Sep @ 1:12pm
Wheezewort no longer emit radiation
ArKano
1,135 Comments
Kaedys 12 Oct @ 9:49am 
Ya, unfortunately the scope of most of Fumihiko's mods would really not work in a traditional options UI, even if PLib supported lists. Personally, I'm grateful for something as flexible and easily edited as JSON for modifying these values, and the ones in the other mods, since the alternative is writing C# Harmony patches, and that's much more of a pain.
Fumihiko  [author] 12 Oct @ 1:10am 
There is no ready-to-use mod option resource. PLib used by my mods does not allow for lists, which is essential for what I do.
[RTB] Sarianos 11 Oct @ 7:44am 
@Fumihiko
I suspect they're complaining that the mod settings aren't using an in-game UI for setting adjustment, possibly for user ease reasons, I'd guess that most people don't find locating, deciphering and editing .json files to be a particularly convenient or user friendly process.
Fumihiko  [author] 1 Sep @ 7:28am 
Can you elaborate? Because that sentence makes no sense to me.
n3mes1s 31 Aug @ 3:50pm 
Sad that you didnt add the settings to the mod options. We cant keep the mod updated otherwise.
Fumihiko  [author] 10 Aug @ 12:08am 
Update the mod. Download [github.com] the mod and overwrite the files here C:\Users\%username%\Documents\Klei\OxygenNotIncluded\mods\Steam\1818145851
starfall_种田中 9 Aug @ 2:36pm 
Not sure if this is vanilla bug or mod related but it seems that game spawns a mutated saturn trap seed buried in one of the tiles, soon as i dig it would cause a crash.
Error in CritterTrapPlantSeed.MutantPlant.OnSpawn at (83.50, 41.31, -25.50)

System.NullReferenceException: Object reference not set to an instance of an object
at MutantPlant.UpdateNameAndTags () [0x0002f] in <3b73c925114143c5bad31ccbc5facdf1>:0
at MutantPlant.OnSpawn () [0x00052] in <3b73c925114143c5bad31ccbc5facdf1>:0
at KMonoBehaviour.Spawn () [0x0005d] in <7becb3f73037484c93dc2b548fe42a58>:0
Build: U56-679336-SCRPD
Kaedys 7 Aug @ 8:11am 
May also be worth posting about that bug over on Stock Bug Fixes and see if that mod author can quick-fix it. They tackled another bug I ran into really quickly (that being, Outhouse remaining uses are not reset when cleaning is manually triggered).
MiserableGamer 7 Aug @ 7:42am 
Could you possibly add a tuning option to have the plants default to Harvest Disable? There is a bug with Grubfruit plants that when they get tended by a sweetle as a spindly plant and convert to a normal plant, they revert from Disable Autoharvest to Autoharvest.....I feel this *may* resolve this problem, but even if it doesn't, I still believe its a good tuning option to have
Kaedys 25 Jul @ 11:25am 
Much appreciated!