[2.0.14] LuaItemPrototype still points to no longer existing LuaGameScript::item_prototypes
Posted: Mon Nov 04, 2024 4:28 pm
https://lua-api.factorio.com/latest/cla ... otype.html
Class description at the top says:
Class description at the top says:
The `prototypes.item["iron-plate"]` is correct, but the `LuaGameScript::item_prototypes` is a leftover from the previous version, and the link leads to property that no longer exists. It should probably be replaced with a link to `LuaPrototypes::item`.Prototype of an item. For example, an item prototype can be obtained from LuaGameScript::item_prototypes by its name: prototypes.item["iron-plate"].