[1.1.47] Tips & tricks (modded) prototype error at load time
Posted: Wed Nov 24, 2021 3:08 am
This error only happens on 1.1.47. It works correctly on 1.1.46.
The data.lua is simply adding a custom tip with the "unlocked-recipe" trigger (testmod attached):
There's no problem with trigger types "set-recipe" or "build-entity", but I haven't tested all possible trigger types from the wiki. I'd recommend testing all of them.
The data.lua is simply adding a custom tip with the "unlocked-recipe" trigger (testmod attached):
Code: Select all
data:extend(
{
{
type = "tips-and-tricks-item-category",
name = "test-category",
order = "a"
},
{
type = "tips-and-tricks-item",
name = "test-tip",
category = "test-category",
order = "a",
trigger =
{
type = "unlocked-recipe",
recipe = "speed-module"
},
is_title = true,
}
})