-- Test script.on_event("Eco", function(event) local test = player.gui.center.add({type = "frame", name = "test", direction = "vertical"}) local frame = ui.add({type = "frame", name = "test_frame", direction = "vertical"}) for each in game.recipe_prototypes do local label = frame.add({type = "label", name = each[name], caption = each[name]}) end end)