[2.0.14] LuaItemPrototype still points to no longer existing LuaGameScript::item_prototypes

User avatar
LCStark
Fast Inserter
Fast Inserter
Posts: 192
Joined: Thu Jan 28, 2021 5:04 pm
Contact:

[2.0.14] LuaItemPrototype still points to no longer existing LuaGameScript::item_prototypes

Post by LCStark »

https://lua-api.factorio.com/latest/cla ... otype.html

Class description at the top says:
Prototype of an item. For example, an item prototype can be obtained from LuaGameScript::item_prototypes by its name: prototypes.item["iron-plate"].
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`.
User avatar
PennyJim
Long Handed Inserter
Long Handed Inserter
Posts: 68
Joined: Wed Jan 18, 2023 3:49 am
Contact:

Re: [2.0.14] LuaItemPrototype still points to no longer existing LuaGameScript::item_prototypes

Post by PennyJim »

Duplicate of 117189, which is to be fixed with next release.
User avatar
LCStark
Fast Inserter
Fast Inserter
Posts: 192
Joined: Thu Jan 28, 2021 5:04 pm
Contact:

Re: [2.0.14] LuaItemPrototype still points to no longer existing LuaGameScript::item_prototypes

Post by LCStark »

Thanks for the info, I've searched the forums but didn't found that one.
User avatar
PennyJim
Long Handed Inserter
Long Handed Inserter
Posts: 68
Joined: Wed Jan 18, 2023 3:49 am
Contact:

Re: [2.0.14] LuaItemPrototype still points to no longer existing LuaGameScript::item_prototypes

Post by PennyJim »

Yeah, you have to use advanced search to search subforums as well as the current forum. Kind of a hassle, but it's how it is.
Post Reply

Return to “Resolved Requests”