Currently I'm taking an input from the LineEdit node and using an 'if' statement for the response, but after the first 'if' statement the new input isn't being registered? I was wondering if getting multiple inputs from the same LineEdit is possible.
Here is the code:
func _on_input_text_entered(new_text: String):
if new_text == "forage":
text = "You decide to forage for supplies."
var value = test.randi_range(1,1)
if value == 1:
text = berry_text
# NEW INPUT HERE
if new_text == "yes":
text = berry_accept
if new_text == "no":
text = berry_decline
Right now nothing happens when I try to input 'yes' or 'no' into the LineEdit after the text. I'm on version 3.3.2 if that helps.