[2.0.43] dump-data json has fraction for ItemProduct amount
Posted: Fri Apr 18, 2025 2:43 pm
ItemProductPrototype#amount states that amount should be a uint16:
but doing a --dump-data shows a fractional amount for some recipes in data-raw-dump.json. EG:
It seems to affect recycling recipes where "extra_count_fraction" > 0.
Code: Select all
amount :: uint16
Code: Select all
"uranium-cannon-shell-recycling":
{
"type": "recipe",
"category": "recycling",
"results":
[
{
"type": "item",
"name": "cannon-shell",
"amount": 0.25,
"extra_count_fraction": 0.25
}, ...