Sign questions
Alright, so I'm trying to update my AND gate for mesecon, to allow the player to set the amount of connections needed to power it. So in order to do this, I was thinking about adding in that text input window you get when you rightclick a sign, and use that for playing to input a number.
Alright so is there a way to get that text input window to pop up without setting the metadata name to sign?
I was looking at the default init.lua and say these two pieces of code.
So with a combination of these and others, is it possible to make the text input window to come up?
Alright so is there a way to get that text input window to pop up without setting the metadata name to sign?
I was looking at the default init.lua and say these two pieces of code.
Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
- Code: Select all
allows_text_input()
set_allow_text_input(bool)
So with a combination of these and others, is it possible to make the text input window to come up?