ItemProductPrototype::type is not always required
Posted: Wed May 06, 2026 9:00 pm
Comparing the 1.1 and 2.0 documentation makes me believe that ItemProductPrototype::type is required in 2.0. However, with the mod Tricky Old Nick, --dump-data (output attached) produces at least one rocket_launch_products entry with no type. For example, at line 65882:
Under what circumstances is type optional in an ItemProductPrototype?
Code: Select all
{
"name": "nullius-guide-drone-nickel-1",
"amount": 1,
"probability": 0.2
}