Custom style loading error

Place to get help with not working mods / modding interface.
apriori
Filter Inserter
Filter Inserter
Posts: 282
Joined: Thu Feb 18, 2016 8:13 pm
Contact:

Custom style loading error

Post by apriori »

Hello, guys!
I've got an error message in log file:

Code: Select all

Error PrototypeLoader.cpp:78: Error loading prototype, used default instead: Key "less_than" not found in property tree at ROOT.gui-style.default.teleportation_beacon_energy_progressbar.other_smooth_colors[0]
But the game is being loaded without any visual warnings instead. And when I load a save file, the game splashes an error that it can't find a style from another (Blueprint Flipper) mod... I know BPF worked just fine before I added Teleportation.
I'm confused.

"teleportation_beacon_energy_progressbar" is being added in data-final-fixes.lua because "less_than" property is being taken from the config file.

EDIT: using progressbar style definition in data.lua affects the same messages. How to properly define custom progressbar styles?
Any code or mods posted by me are WTFPL, unless otherwise copyrights are specified.
Post Reply

Return to “Modding help”