Make chem, booze and soda dispensers work like SS13#74
Conversation
|
This could off-set a balance to gameplay regarding thirst as it would be near infinite (Power cells are extremely easy to get but also to recharge). And would diminish Cargo's ability for restocking such machines (as they are supposed to, or just hand it over to the respective crew crew and let them restock it). This could and probably would spiral further when more systems are replace to make it be like 13's systems. I don't have the words to say it, but it's designed in a way to allow cargo to interact a bit more then just drop off generic crate number 233 |
@Clawy111 fair points, appreciate the feedback.
It's still gated by cell charge and station power (no power, no dispensing), and all the numbers live on And yeah, this is intentionally moving toward the SS13 feel, which is kind of the point of the server. Open to tuning but I'd like to keep the core mechanic. |
|
This is what I said on discord, to avoid it getting lost to sea
|
|
i think powerchem is cool but that's mostly because i'm jugmixing's number 1 hater. even without doing crazy jugmixing, right now the technical objective best way of doing chem is to empty out the chemvend/chem dispensers and dump all the reagents into the chemmaster 3000, which is way better at manipulating chems. this both kills jugmixing (which i can't be unbiased about) and makes it REQUIRE the chem dispenser to do work rather than the aforementioned chemmaster method, which justifies the machines existence. it should be noted that actual 14 chemist mains will really hate this change, as speedchem is so reliant on jugs/chemmaster optimisation. (also in current roundflow, its sci that would provide the upgraded cell, not engie :p) |
jugs are not removed, but jumping all the contents in one machine and mixing from there does not seems that different from having and ilimitted ammount from chemamster, maybe slower, but I think the tradeoff of being unlimitted + upgradeable, its worth it + eventually I want to give every deparment his own lathe and making engi being able to upgrade stuff |
|
i'm of the opinion if you're going to do this, you should also kill the chemvend too. migrate it to a locker filled with empty jugs so the standard practice of jugging for chem storage still exists, without jugmixing and chem dumping being possible. but im also the devil so you dont have to listen to what i say. also one thing from the original post, buying chemvend restocks was standard practice rather than the chem crates themselves. i dont know why those are still in the game for anything beyond for some reason wanting to carry on after the chemvend gets completely destroyed. |
|
I'm not fundamentally opposed to this, it is how 13 works and it works well. My concern is with medical being 90% chems, this feels like a massive buff. |
yes and no. it's a much tighter rate limit on chem production compared to it being jug-based, so what it does is moves the choke point from running out of carbon in the chemvend (provided that gets killed) to hitting a wall on running out of power after like 10-15 jugs' worth of chems. it could honestly do with being bumped down from that amount actually. there's also no easy way of getting medium cells any more now that flashlights and the like don't have them, right? |
About the PR
Reworks the chemical, booze and soda dispensers so they behave like they do in SS13. Instead of holding physical reagent jugs that empty out and have to be restocked, they now generate reagents from a fixed list and pay for it with an internal power cell that recharges from the grid whenever the machine has power. No power means no dispensing.
The cell sits in a normal cell slot, so a dispenser can be upgraded during the round by swapping its cell for a bigger one. A better cell gives both a larger buffer and a faster recharge, since there is no separate manipulator part in this codebase. They spawn with a small cell so there is room to upgrade.
Why / Balance
The jug system meant chemists ran dry mid round and had to drag crates of jugs around, which was mostly busywork. The SS13 style keeps the machine useful the whole round, gives engineering something to improve, and ties the dispensers to station power.
Default tuning lives on
ReagentDispenserBaseand is easy to change:energyPerUnit: 0.2,rechargeFractionPerSecond: 0.02, starting cellPowerCellSmall. That works out to roughly 1800 units of buffer and 36 units per second of recharge on a small cell, scaling up to the hyper cell (9000 buffer, 180/s).Technical details
ReagentDispenserComponentdrops the jug storage and holds a fixedreagentIdslist plus the energy tuning fields.ReagentDispenserSystemrecharges the installed cell from mains in its update loop, and dispensing generates the reagent and spends cell charge viaPowerCellSystem.TryUseCharge.PowerCellSlotalready blocks anything without aPowerCellComponent, and aPowerCelltag whitelist would wrongly reject the small cell, which does not carry that tag.ReagentDispenserBase, so all three get the same treatment. Their reagent lists match what the jugs used to hold.Test plan
ChemDispenser, drop in a beaker and dispense. The charge bar drops and then recharges on its own while powered.PowerCellHyper: bigger buffer, much faster recharge.Media
Pending, mechanical change.
Requirements
License
MIT
Breaking changes
ReagentDispenserno longer uses jug storage.ReagentDispenserEjectContainerMessagewas removed,ReagentDispenserDispenseReagentMessagenow carries a reagent id string instead of a storage location, andReagentInventoryItemno longer carries a storage location or quantity. Downstreams with custom reagent dispensers should give them areagentIdslist and a cell slot.Changelog
🆑