So i went ahead and tried making flying-text blueprintable:
Code: Select all
data.raw["flying-text"]["flying-text"].placeable_by = { item="iron-plate", count = 1}
Then i tried making an item to place a flying text:
Code: Select all
data:extend{
{
type = "item",
name = "blackbox",
icon = "__base__/graphics/icons/assembling-machine-1.png",
icon_size = 32,
flags = {"goes-to-quickbar"},
-- subgroup = "production-machine",
-- order = "a[assembling-machine-1]",
place_result = "flying-text",
--text = 'test', --does't work :P
stack_size = 50
},
}
Expected behavior:
Allow specifying a default text (or default to empty string) in the prototye so that the placement preview render works. And flying text type entities should be blueprintable if they have an item to place or placeable_by?