Better screen

This commit is contained in:
2024-07-10 23:59:07 -07:00
parent 8b5841e861
commit ae16ae01b2
90 changed files with 1579 additions and 181 deletions

View File

@@ -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"))