From 57f7d945ce175ce38b2440d0ceae831876090437 Mon Sep 17 00:00:00 2001 From: BHSDuncan Date: Tue, 23 Aug 2022 22:48:40 +0000 Subject: [PATCH] chore: storing version and changelog --- CHANGELOG.md | 12 ++++++++++++ .../game/core-scripts/esc/esc_action_manager.gd | 4 ++-- 2 files changed, 14 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index e2a63429..1aa424b4 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,15 @@ +## [4.0.0-alpha.209](https://github.com/godot-escoria/escoria-demo-game/compare/v0.0.0...v4.0.0-alpha.209) (2022-08-23) + + +### Bug Fixes + +* accounts for item offsets, i.e. those not at (0, 0) ([308d72d](https://github.com/godot-escoria/escoria-demo-game/commit/308d72d5aa914e5f3f32bbda958332e3e567e752)) +* allows inactive/non-interactive item clicks to pass through to appropriate background click event ([5b315bb](https://github.com/godot-escoria/escoria-demo-game/commit/5b315bb0ee60078aaaab4088ea5b08bf248fd9de)) +* blocks actions on inputs for non-interactive and/or non-active items/objects ([8134950](https://github.com/godot-escoria/escoria-demo-game/commit/813495051bdd7332da9f0f9237be81c3ac9959f9)) +* puts these items back at the origin which is necessary so their positions in the scene can be used ([6890629](https://github.com/godot-escoria/escoria-demo-game/commit/689062989b6341391b7a59238e1e6816be599715)) + + + ## [4.0.0-alpha.208](https://github.com/godot-escoria/escoria-demo-game/compare/v0.0.0...v4.0.0-alpha.208) (2022-08-17) diff --git a/addons/escoria-core/game/core-scripts/esc/esc_action_manager.gd b/addons/escoria-core/game/core-scripts/esc/esc_action_manager.gd index e5eb8e78..ee9876f5 100644 --- a/addons/escoria-core/game/core-scripts/esc/esc_action_manager.gd +++ b/addons/escoria-core/game/core-scripts/esc/esc_action_manager.gd @@ -593,7 +593,7 @@ func perform_inputevent_on_object( # - global_id: the global ID of the item to examine # # *Returns* True iff the item represented by global_id can be acted upon. -func is_object_actionable(global_id: String) -> bool: +func is_object_actionable(global_id: String) -> bool: var obj: ESCObject = escoria.object_manager.get_object(global_id) as ESCObject return _is_object_actionable(obj) @@ -740,5 +740,5 @@ func _is_object_actionable(obj: ESCObject) -> bool: "Item %s is not interactive." % obj.global_id ) object_is_actionable = false - + return object_is_actionable