mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-06-28 00:34:22 +01:00
355666e1a825252a4d08fa4e5cfced85e107ce39
2 Commits
| Author | SHA1 | Message | Date | |
|---|---|---|---|---|
|
|
4ad00d93a5 |
Botany Atmospheric Interactions
Re-enables botany's interactions with atmospheric conditions and gases. Seeds can now consume and exude gases as part of their growth process. Most seeds do not have this functionality, however it can be found on random seeds. Random seeds will occasionally require a gas to grow, or will produce a gas while planted. Possible gases are Oxygen (O2), Nitrogen (N2), Carbon Dioxide (CO2), or Plasma gas. If a plant that affects a gas is planted, it will attempt to interact with the environment differently depending on conditions as detailed below: - Tray lid down: Will always utilize the air of it's tile for atmos interaction. - Tray lid up, nothing connected/inserted: Will utilize the air of it's tile for atmos interaction. - Tray lid up, tray connected to a connector port pipe: Will attempt to utilize the air of the pipe network the connector is part of, allowing you to utilize canisters or direct feeds into the station's piping. If there are no gases at all (0 total moles) in the network, it will create an empty gas_mixture at 20C (standard room temp) in the network before attempting atmos interactions. - Tray lid up, tank inserted into tray: Will attempt to utilize the contents of the inserted tank for atmos interaction. If the tank is completely empty (0 total moles), it will create a new empty gas_mixture at 20C before attempting atmos interactions. - Tray lid up, tank inserted AND connector port: Will attempt to utilize the contents of the inserted tank for atmos interaction. If the tank is completely empty (0 total moles), it will create a new empty gas_mixture at 20C before attempting atmos interactions. (Pretty much just ignores the connector port) In case it wasn't apparent from the above mentions, you can now insert any portable tank (emergency oxygen, plasma tank, pretty much any tank that could be hooked up to internals) into a hydroponics tray. You can remove them with the previously added eject internal tank verb. There is currently no visual indication of whether or not there is a tank inserted (the tray icons are already cluttered with the sheer number of overlays, and I didn't want to sprite another monstrosity like my past spriting attempts yielded) When utilizing an inserted tank for the plant's atmos interactions, it will attempt to use distribution pressure set on the tank for the atmospheric pressure inside the closed lid. If the tank's internal pressure drops lower than the distribution pressure, it will use the tank's internal pressure instead. The alter temperature trait is now functional, and will heat/cool the air used for the plant's atmos interactions. This means it can heat/cool the surrounding air, inserted tanks, or the contents of a connected pipe network. Plant analyzers have had their readouts updated to report what (if any) gases the plant consumes or produces during it's life. Also edited the alter temperature trait's message on the plant analyzer to not incorrectly refer to the change in "degrees Kelvin". There may be a bit of wonkiness with open-air atmos interaction and gas redistribution, which would be an issue with LINDA's processing and not the changes in this PR. Also, a major reminder that atmos grief is a bannable offense, and releasing plasma-producing vines into the halls will be considered equal to causing an atmos flood from atmospherics and dealt with accordingly. |
||
|
|
db9d9fc647 |
Botany / Xenobotany Update
Largely a port of https://github.com/Baystation12/Baystation12/pull/8038 (Credit to Zuhayr for his hard work on botany) Breakdown of the port: - Plant traits have been expanded drastically - You want a bio-luminescent tomato that explodes into a cloud of acid when thrown or stepped on? Or maybe a corn vine that entangles people and injects them with mannitol and it's harvests that can be used as a battery? Totally possible. - Adds new random seeds! Replaces the egg-plant seed in the exotic seeds crate from cargo with 2 of these. - Literally random, they have randomly generated stats, chemicals, and traits. Great for researching, and/or wasting cargo's supply points. - Plant analyzers can now print off the last scan they recorded, meaning you can distribute copies of the report to validate your claims of having the dankest weed on station. - Potatoes, carrots, watermelons, soybeans, and pumpkins can all be sliced/diced/carved with ANY sharp object, such as knives, hatchets, glass shards, and e-swords. - This should give the chef a bit more room to make it look like he actually is doing the work by slicing up fries by hand. The processor still also works. - New reagent: Wood Pulp - Currently has no use in recipes, but any plant with this reagent in it can be chopped into planks with a hatchet. Did someone order some Ambrosia Deus planks? - Also, vines with woodpulp are dense. You have been warned. Now onto the stuff I did in addition to the stuff from Bay. - Fixed typos where plasma was mistakenly called "phoron" in the port. (Sorry bay) - Replaced bay's botany mutation chances with our tiered mutation system. - Re-re-added tobacco, space tobacco, tea aspera, tea astra, coffee arabica, and coffee robusta. - Re-enabled the rolling of joints - Made it possible to hand-roll cigarettes from tobacco / space tobacco. (A requested / promised addition) - Just like with joints, it will inherit any chems in the tobacco, has the same reagent capacity as a joint, but looks and smokes like a cig (lasts as long as the cigarettes) with a different name/description to differentiate it from pre-made cigs. - Corn can now be juiced in the grinder, in addition to grinding it. Grinding corn will result in it's contained reagents (like corn starch), while juicing corn will result in corn oil. - Re-added the additional plant analyzer information when scanning trays (displays age, weed level, etc) Also cleaned up the recipes_microwave.dm file, removing the commented out recipes that were distributed to the other machines during the Kitchen Overhaul. Shortens the file a bit and makes it more readable. I probably forgot stuff, so I will add things as I remember them / they get pointed out. |