11 lines
297 B
GDScript
11 lines
297 B
GDScript
extends Node
|
|
class_name Researcher
|
|
|
|
const RESEARCH_MENU = preload("res://scene/research_menu.tscn")
|
|
|
|
func interact(on_interaction_finished: Callable) -> bool:
|
|
var build_menu = RESEARCH_MENU.instantiate()
|
|
build_menu.research.connect(on_interaction_finished)
|
|
add_sibling(build_menu)
|
|
return true
|