Skip to content

Commit

Permalink
Use higher precision mass for vitamins
Browse files Browse the repository at this point in the history
  • Loading branch information
ehughsbaird committed Oct 30, 2023
1 parent 23d21b7 commit dc903ef
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion data/json/items/comestibles/protein.json
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@
{ "type": "COMPONENT_ID_SUBSTRING", "condition": "mutant", "name": { "str_sp": "perturbing %s" } }
],
"description": "A thick and tasty beverage made from pure refined protein and nutritious fruit. It has been supplemented with extra vitamins and minerals.",
"relative": { "vitamins": [ [ "calcium", "52 mg" ], [ "iron", 5 ], [ "vitC", "5 mg" ] ] }
"relative": { "vitamins": [ [ "calcium", "52 mg" ], [ "iron", "940 μg" ], [ "vitC", "5 mg" ] ] }
},
{
"id": "milk_fortified",
Expand Down
8 changes: 4 additions & 4 deletions data/json/vitamin.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"96 units are consumed per day, with RDA of 1000mg / 96 = 10.42mg",
"1000mg for 19-50yr olds from https://ods.od.nih.gov/factsheets/calcium-HealthProfessional/#h2"
],
"weight_per_unit": "10 mg",
"weight_per_unit": "10 mg 420 μg",
"rate": "15 m"
},
{
Expand All @@ -24,9 +24,9 @@
"//": [
"96 units are consumed per day, with RDA of 18mg / 96 = 0.1875mg",
"18mg for 19-50yr olds from https://ods.od.nih.gov/factsheets/iron-HealthProfessional/#h2",
"As it varies with sex, the max value was chosen",
"still, mass only has mg resolution, so it cannot be in mass units (for now)"
"As it varies with sex, the max value was chosen"
],
"weight_per_unit": "188 ug",
"rate": "15 m",
"disease": [ [ -9600, -11200 ], [ -11201, -12800 ], [ -12801, -24000 ] ]
},
Expand All @@ -43,7 +43,7 @@
"90mg for 19-50yr olds from https://ods.od.nih.gov/factsheets/VitaminC-HealthProfessional/#h2",
"As it varies with sex, the max value was chosen"
],
"weight_per_unit": "1 mg",
"weight_per_unit": "938 mcg",
"rate": "15 m",
"disease": [ [ -2800, -3600 ], [ -3601, -4400 ], [ -4401, -5600 ] ]
},
Expand Down

0 comments on commit dc903ef

Please sign in to comment.