diff --git a/CHANGELOG.md b/CHANGELOG.md index 9165225b..7baa34f6 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,21 @@ +## [4.0.0-alpha.217](https://github.com/godot-escoria/escoria-demo-game/compare/v0.0.0...v4.0.0-alpha.217) (2022-09-13) + + +### Features + +* allows for command to specify the currently active player for saying things ([5f4c97c](https://github.com/godot-escoria/escoria-demo-game/commit/5f4c97ca9992a6ac7fc5fedac379593f90ac542d)) +* allows for default/fallback actions to be specified ([8957008](https://github.com/godot-escoria/escoria-demo-game/commit/895700870d4d3b4da305d470bb7390762d8382db)) + + +### Bug Fixes + +* adds proper player selectable checking in click events; also properly orders hover_stack in ascending z_index order ([7201f02](https://github.com/godot-escoria/escoria-demo-game/commit/7201f02304a590dd2b40c43448294714c197f6c4)) +* clears tooltip after any action has finished regardless of success ([6e220e7](https://github.com/godot-escoria/escoria-demo-game/commit/6e220e7e64c62013cfd369e2237e502fd2323e2a)) +* focuses the 'topmost' element from hover_stack inline with what hotspot_focused already is ([169a5b5](https://github.com/godot-escoria/escoria-demo-game/commit/169a5b501a98b5753051f2aeec3a32d3ff435c77)) +* Interrupts player's simple walk on any new action ([d28118f](https://github.com/godot-escoria/escoria-demo-game/commit/d28118f567c949e2043a662b17765dcd1d378b03)) + + + ## [4.0.0-alpha.216](https://github.com/godot-escoria/escoria-demo-game/compare/v0.0.0...v4.0.0-alpha.216) (2022-09-12) diff --git a/addons/escoria-core/game/core-scripts/esc/esc_event_manager.gd b/addons/escoria-core/game/core-scripts/esc/esc_event_manager.gd index 1d5c8774..25d83da1 100644 --- a/addons/escoria-core/game/core-scripts/esc/esc_event_manager.gd +++ b/addons/escoria-core/game/core-scripts/esc/esc_event_manager.gd @@ -288,7 +288,7 @@ func interrupt(exceptions: PoolStringArray = []) -> void: and escoria.main.current_scene.player != null \ and escoria.main.current_scene.player.is_moving(): escoria.main.current_scene.player.stop_walking_now() - + for channel_name in _running_events.keys(): if _running_events[channel_name] != null and not _running_events[channel_name].name in exceptions: escoria.logger.debug( diff --git a/addons/escoria-core/game/core-scripts/esc/types/esc_command.gd b/addons/escoria-core/game/core-scripts/esc/types/esc_command.gd index 40d8c7f1..3541cfa3 100644 --- a/addons/escoria-core/game/core-scripts/esc/types/esc_command.gd +++ b/addons/escoria-core/game/core-scripts/esc/types/esc_command.gd @@ -130,7 +130,7 @@ func run() -> int: var rc = command_object.run(prepared_arguments) if rc is GDScriptFunctionState: rc = yield(rc, "completed") - + escoria.logger.debug( self, "[%s] Return code: %d." % [self.name, rc] diff --git a/addons/escoria-core/game/esc_inputs_manager.gd b/addons/escoria-core/game/esc_inputs_manager.gd index 7ed0f85b..df8a57ff 100644 --- a/addons/escoria-core/game/esc_inputs_manager.gd +++ b/addons/escoria-core/game/esc_inputs_manager.gd @@ -358,7 +358,7 @@ func _on_mouse_left_clicked_item(item: ESCItem, event: InputEvent) -> void: if not hover_stack.empty(): var next_item = hover_stack.pop_back() _on_mouse_left_clicked_item(next_item, event) - + return if not escoria.action_manager.is_object_actionable(item.global_id):