MForster / factorio-rust-tools

A Rust library to export prototype definitions from Factorio.
4 stars 1 forks source link

Deal with unreadable attributes #31

Closed MForster closed 1 year ago

MForster commented 1 year ago

The attributes LuaGroup.subgroups and LuaGroup.order_in_recipe are documented as "Can only be used on groups, not on subgroups." But this information is not visible from the metadata in runtime-api.json. Both are marked as "read": true.

For now we're just ignorint attribures with that name, but that is obviously a crutch.