New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Some radioactive materials decay plasma into fallout #17813
Conversation
Worth noting that this would allow "Cold TTVs" or so I believe to be made in toxins. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Neat! Make sure it doesn't happen in the reactor itself, since that has its own way of handling this and would the two would probably not mix well.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This definitely needs special handling for the reactor. Personally I'm not sure this is a good thing to add at all - fallout is hard to get on purpose because it's dangerous and expensive cpu-wise.
An alternate approach would be a way of generating neutrons outside of the reactor, then you can rely on existing gas reaction code, but again, I'm not sure fallout ought to be accessible.
Thank you for all the feedback!! I will work on this asap.
This should be somewhat difficult to get in large quantities from toxins, it's meant to be another option if there's no reactor or barrels around. As it is, it's possible to get 100 moles of radgas from any barrel of radioactive waste, which is not too bad to get on maps containing reactors. (And w/ a random room containing a lot of barrels). Radgas being dangerous is part of why I think it would be nice to make in toxins, as it could be interesting to use in explosives. (I'd like to iron out an idea like that and its practicality first, though.) Not sure what I can do for it being CPU-intensive except for noting that this is, ideally, difficult to obtain in large quantities quickly using toxins. I can see if I can make it a little better, but I imagine it's just because radgas does so much already. |
This will proc in reactors due to the trigger, but it will return for owner.loc not being a simulated turf. Reactor should be fine |
A word on the balance, currently - the "radioactive" property has a 1:1 potential as mols of fallout. So one piece of cerenkite only would decay into 5 mols of fallout, though I can easily change this to be higher/lower depending on need for balance. I've not noticed too much harm from releasing a can of fallout, and doing so should take significantly more effort than plasma -- which is much more CPU-intensive than fallout is right now. And just to be sure, all materials now have a 5 second cooldown before decaying fallout (it was getting called a lot for a stack of 100) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I still slightly question the balance of making fallout easily available, but code looks good, and you can always revert it if people are shitters with it.
This PR has been inactive for two weeks, and has been automatically marked as stale. This means it is at risk of being auto closed in another week. Please address any outstanding review items and ensure your PR is finished. If you are auto-staled anyway, ask developers if your PR will be merged. Once you have done any of the previous actions then you should request a developer remove the stale label on your PR, to reset the stale timer. If you feel no developer will respond in that time, you may wish to close this PR youself, while you seek developer comment, as you will then be able to reopen the PR yourself. |
x |
with the buffed numbers it seems we've got one player on the discord messing around with the feature and doing good, considering the infrequency of players messing with toxins thats good to me |
About the PR
Allows materials, namely Cerenkite, to decay fallout on their same tile into fallout gas above a certain temperature threshold.
The radioactive material will begin to lose its radioactive properties as it is used for this purpose
an example of an experimental setup I created in the development of this feature
Why's this needed?
Allows Toxins to create fallout gas for their own purposes, which may not be possible to obtain on some maps. It holds some value as having an abnormally low SHC, and thus may have a use in the environment. I plan to also give this gas an interesting use, also located in toxins, for scientists to desire to use this for.
Numbers are roughly an attempt at balance and allows a handful of cerenkite ores to convert a canister of plasma. Conversion is largely limited by how quickly the conversion cools existing gas, and such the bottleneck in production becomes heat transfer with the plasma gas.
Scientists are given the choice between creating a sealed chamberburn for an output mix containing low percentages of fallout at a high conversion rate, or using heat transfer between chambers to produce a more """pure""" final product.
Overall allows a lot of experimentation and choice into the methods of production, which I think is sorely needed for Toxins.
Changelog