You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

13 lines
196 B
GDScript

extends GridContainer
var storyteller
func update_actions(dict):
for a in dict['actions']:
var b = Button.new()
b.set_text(tr(a))
add_child(b)
func _ready():
add_to_group("action_box")