Better screen
This commit is contained in:
@@ -10,3 +10,10 @@ func _ready():
|
||||
|
||||
func _on_healers_interacted():
|
||||
$healers.default_script(self)
|
||||
|
||||
|
||||
func _on_shelves_interacted():
|
||||
var path = NavigationServer2D.map_get_path(map, pathfind.to_local(ego.global_position), pathfind.to_local($Shelves/interact_point.global_position), true)
|
||||
start_main_script(ScriptBuilder.init(ScriptBuilder.walk_path(ego, path))
|
||||
.and_then(ScriptBuilder.say(self.ego, "Most of these bottles are empty."))
|
||||
.can_interrupt().build(self, "_on_script_complete"))
|
||||
|
||||
Reference in New Issue
Block a user