Nevar pievienot vairāk kā 25 tēmas Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.
 
 

26 rindas
524 B

  1. extends YarnImporter
  2. export var yarn_file = ""
  3. func _ready():
  4. $ChoicesBox.hide()
  5. $LogPanel.hide()
  6. func on_dialogue_start():
  7. yield(.on_dialogue_start(), "completed")
  8. $LogPanel.show()
  9. $ChoicesBox.show()
  10. $LogPanel.clear()
  11. $ChoicesBox.clear()
  12. func on_new_line(line):
  13. yield($LogPanel.on_new_line(line), "completed")
  14. func on_choices(choices_list):
  15. return yield($ChoicesBox.on_choices(choices_list), "completed")
  16. func on_dialogue_end():
  17. yield(.on_dialogue_end(), "completed")
  18. $ChoicesBox.hide()
  19. $LogPanel.hide()