-
Notifications
You must be signed in to change notification settings - Fork 4.3k
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
Hundreds of items have nonsensical densities and need correction #54811
Comments
It seems like this is particularly egregious with liquids, as has been brought up in (usually singular) instances previously. Not sure why density would be a factor for liquids in most smaller containers in any case - filling a small plastic bottle with X volume of mercury shouldn't be impossible when X volume of water/etc works, even though mercury is obviously denser than most other liquids. This also makes filling containers kind of a PITA when one assumes a certain volume density and then finds out after crafting a batch, that they do not have enough viable containers nearby for the "extra" liquid. Possibly, some containers' "weight capacity" could be upped for items which are within reason to help deal with this? |
I've got a list of a few liquids that currently can't fill up large jerrycans due to their high densities over at #54538 Liquid Soap is an egregious example, given it's density, 5x that of water. Magiclysm mercury is on the other end, at 1.5 water's density. |
Yes, liquid soap is really annoying since 4 units is small enough to not be useful almost at all. :( And seriously, a bottle of liquid detergent lasts for MONTHS irl, why is it only able to wash a handful of items? Perhaps liquid soap as an outlier could be changed to the oil/gasoline/etc units of 250/ per quarter liter? I only need to use a couple drops of soap washing dishes, and even with laundry I use maybe a couple ounces |
And that sort of soap is significantly watered down. :-D The most concentrated I ever worked with, zymeflow, was strong enough that you had an upper limit of about a 1:450 v/v mix to prevent excess foaming. That stuff isn't available to buy without a corporate contract, though, but it is an amazing chemical due to it's nearly benign nature for a surfactant. |
I'd love to discuss soap usability/feasibility in terms of appliances vs handwashing for instance, but that may be more appropriate in a real discussion thread that covers hand washing vs machine washing etc? Adding in factors like cold water vs hot for instance might be possible in that kind of thread. |
I just added a slightly trimmed list to the original post, most of the things left in it should have fairly obvious corrections. I'll regenerate the list once a few people do pull requests correcting items. |
So should we split this list up amongst ourselves or is it kinda a free for all? This seems an especially bad issue to duplicate work on. |
I would say just do however much you'd like to do and reference this issue in the pull request, and be sure to check other pull requests to see if the items you are trying to fix have been done already. I can update my test branch to generate a new list periodically but I'll be away for the next 10 days or so. If you want to preemptively call some part of the list that works too I suppose. |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. Please do not 'bump' or comment on this issue unless you are actively working on it. Stale issues, and stale issues that are closed are still considered. |
Damn you stalebot. How is the progress going with #54747? Since it got merged just now what are the next steps? |
I've been looking for a good first issue and I think this fits. I'll start with liquids in alcohol.json and brewing.json, and if that gets merged and goes well maybe start doing more. Edit: Also drink, drink_other, and dairy because that didn't take as long as I thought. |
Adding here that milk is 1.03g/cm3, not 1.1. |
I'm thinking about picking up the keyboard and cranking away at at least some of these, so I picked up some more densities I've found from either real-life testing with material or internet searching. They're here for my or others future reference. If anyone wants to argue these values feel free, all my testing has been done on my own and even though I'm careful it is possible to make mistakes. Cotton: 1.5 g/cm3 Kevlar: 1.44 g/cm3 (Taken from https://www.dupont.com/content/dam/dupont/amer/us/en/safety/public/documents/en/Kevlar_Technical_Guide_0319.pdf) Nomex: 1.4 g/cm3 (https://www.dupont.com/content/dam/dupont/amer/us/en/personal-protection/public/documents/en/Nomex(R)%20Fiber%20Technical%20Guide.pdf) Lycra, Spandex, Neoprene : 1.25 g/cm3 Nylon: 1.15 g/cm3 Yarn: 0.8 g/cm3 Felt: 0.128 g/cm3 (surprising but I checked a few times with pieces from around the house) I'm going to continue adding to this as well. |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. Please do not bump or comment on this issue unless you are actively working on it. Stale issues, and stale issues that are closed are still considered. |
I'm guessing the chitin powder density was changed as people worked on this issue. I just wanna point out that the recipe for chitin powder still only calls for 0.09Kg worth of material, but now generates 0.45Kg of powder. |
Describe the bug
Several hundred items (which I have identified) have densities that appear to be way out of line with their material composition. All current instances of this need to be resolved in order to merge a test that will prevent this from happening in the future.
Steps to reproduce
Expected behavior
Items should have densities that are no greater than that suggested by their materials, and generally well under that -- sheet metal, for instance, has a density of 6g/cm3, suggesting that even items in a favorable shape for storage often aren't very efficiently stored (though there are some that I'd say are justified being equal, like liquids and things like the 800L plastic cube)
Screenshots
No response
Versions and configuration
Dark Days Ahead [dda],
Disable NPC Needs [no_npc_food],
No Fungal Growth [no_fungal_growth],
Bionic Professions [package_bionic_professions],
Aftershock [aftershock],
Blaze Industries [blazeindustries],
Crazy Cataclysm [crazy_cataclysm]
]
Additional context
bad-item-density.txt
This first file has all of the items listed.
I am working on a second file which has only the very obviously incorrect items and none that may warrant changes to the test or the base material density.Second list is done, I removed about 100 items which I think should be resolved later instead:low-hanging-fruit.txt
Some pointers for people fixing items on this list:
Common material densities used from my test (you can refer to my updated materials.json here: https://github.com/CleverRaven/Cataclysm-DDA/pull/54747/files ):
(also tagging PR #54747)
The text was updated successfully, but these errors were encountered: