Page 1 of 1

Create flying-text with localize text

Posted: Mon Jul 17, 2017 6:44 am
by d3x0r

Code: Select all

            surface.create_entity{name = "flying-text", position = {belt.position.x-1.3,belt.position.y-0.5}, text = "Insufficient items", color = {r=1,g=0.6,b=0.6}}
the documentation says text= is just a string, not a Localised String... although it does accept a localized string.

Re: Create flying-text with localize text

Posted: Mon Jul 17, 2017 9:37 am
by Rseding91
I've fixed the lua docs for the next version of 0.15.