Thanks that help a lot.
A lot of other things happen after (many more error).
here the final code that make it work:
--entity
local turbin_MK2_entity = table.deepcopy(data.raw["generator"]["steam-turbine"])
turbin_MK2_entity.name = "turbin_MK2_entity"
turbin_MK2_entity.fluid_usage_per_tick ...
Search found 2 matches
- Thu Jul 20, 2023 11:06 pm
- Forum: Modding help
- Topic: [SOLVED]Struggling with item icons. Error : Value must be a dictionary in property tree at ROOT.item.Turbine-MK2.icons.
- Replies: 2
- Views: 1163
- Thu Jul 20, 2023 11:02 am
- Forum: Modding help
- Topic: [SOLVED]Struggling with item icons. Error : Value must be a dictionary in property tree at ROOT.item.Turbine-MK2.icons.
- Replies: 2
- Views: 1163
[SOLVED]Struggling with item icons. Error : Value must be a dictionary in property tree at ROOT.item.Turbine-MK2.icons.
I am trying to make a mod and I keep getting this error:
Failed to load mods: Error while loading item prototype "Turbine-MK2" (item): Value must be a dictionary in property tree at ROOT.item.Turbine-MK2.icons.icon
Modifications: Turbine MK2
here my code:
--item.lua
local turbin_MK2_item ...
Failed to load mods: Error while loading item prototype "Turbine-MK2" (item): Value must be a dictionary in property tree at ROOT.item.Turbine-MK2.icons.icon
Modifications: Turbine MK2
here my code:
--item.lua
local turbin_MK2_item ...