From 0e397c46674c0e0e5ae4b049084f4a32f0978b9c Mon Sep 17 00:00:00 2001 From: Balloonpopper Date: Tue, 8 Nov 2022 22:03:35 +1100 Subject: [PATCH] fix: interrupt not implemented messages changed to debug from warn --- addons/escoria-core/game/core-scripts/esc/commands/anim.gd | 2 +- .../escoria-core/game/core-scripts/esc/commands/anim_block.gd | 2 +- .../escoria-core/game/core-scripts/esc/commands/camera_push.gd | 2 +- .../game/core-scripts/esc/commands/camera_set_limits.gd | 2 +- .../game/core-scripts/esc/commands/camera_set_pos.gd | 2 +- .../game/core-scripts/esc/commands/camera_set_target.gd | 2 +- .../game/core-scripts/esc/commands/camera_set_zoom.gd | 2 +- .../game/core-scripts/esc/commands/camera_set_zoom_height.gd | 2 +- .../escoria-core/game/core-scripts/esc/commands/camera_shift.gd | 2 +- .../escoria-core/game/core-scripts/esc/commands/change_scene.gd | 2 +- addons/escoria-core/game/core-scripts/esc/commands/custom.gd | 2 +- addons/escoria-core/game/core-scripts/esc/commands/say.gd | 2 +- addons/escoria-core/game/core-scripts/esc/commands/turn_to.gd | 2 +- .../game/core-scripts/esc/types/esc_base_command.gd | 2 +- 14 files changed, 14 insertions(+), 14 deletions(-) diff --git a/addons/escoria-core/game/core-scripts/esc/commands/anim.gd b/addons/escoria-core/game/core-scripts/esc/commands/anim.gd index c58cd004..3525c547 100644 --- a/addons/escoria-core/game/core-scripts/esc/commands/anim.gd +++ b/addons/escoria-core/game/core-scripts/esc/commands/anim.gd @@ -55,7 +55,7 @@ func run(command_params: Array) -> int: # Function called when the command is interrupted. func interrupt(): - escoria.logger.warn( + escoria.logger.debug( self, "[%s] interrupt() function not implemented." % get_command_name() ) diff --git a/addons/escoria-core/game/core-scripts/esc/commands/anim_block.gd b/addons/escoria-core/game/core-scripts/esc/commands/anim_block.gd index 4c1fb505..a96a5cb7 100644 --- a/addons/escoria-core/game/core-scripts/esc/commands/anim_block.gd +++ b/addons/escoria-core/game/core-scripts/esc/commands/anim_block.gd @@ -61,7 +61,7 @@ func run(command_params: Array) -> int: # Function called when the command is interrupted. func interrupt(): - escoria.logger.warn( + escoria.logger.debug( self, "[%s] interrupt() function not implemented." % get_command_name() ) diff --git a/addons/escoria-core/game/core-scripts/esc/commands/camera_push.gd b/addons/escoria-core/game/core-scripts/esc/commands/camera_push.gd index 145daaad..700f1662 100644 --- a/addons/escoria-core/game/core-scripts/esc/commands/camera_push.gd +++ b/addons/escoria-core/game/core-scripts/esc/commands/camera_push.gd @@ -94,7 +94,7 @@ func run(command_params: Array) -> int: # Function called when the command is interrupted. func interrupt(): - escoria.logger.warn( + escoria.logger.debug( self, "[%s] interrupt() function not implemented." % get_command_name() ) diff --git a/addons/escoria-core/game/core-scripts/esc/commands/camera_set_limits.gd b/addons/escoria-core/game/core-scripts/esc/commands/camera_set_limits.gd index d2bc2da7..3a08797e 100644 --- a/addons/escoria-core/game/core-scripts/esc/commands/camera_set_limits.gd +++ b/addons/escoria-core/game/core-scripts/esc/commands/camera_set_limits.gd @@ -58,7 +58,7 @@ func run(command_params: Array) -> int: # Function called when the command is interrupted. func interrupt(): - escoria.logger.warn( + escoria.logger.debug( self, "[%s] interrupt() function not implemented." % get_command_name() ) diff --git a/addons/escoria-core/game/core-scripts/esc/commands/camera_set_pos.gd b/addons/escoria-core/game/core-scripts/esc/commands/camera_set_pos.gd index 3aa46cfb..70d4cd12 100644 --- a/addons/escoria-core/game/core-scripts/esc/commands/camera_set_pos.gd +++ b/addons/escoria-core/game/core-scripts/esc/commands/camera_set_pos.gd @@ -51,7 +51,7 @@ func run(command_params: Array) -> int: # Function called when the command is interrupted. func interrupt(): - escoria.logger.warn( + escoria.logger.debug( self, "[%s] interrupt() function not implemented." % get_command_name() ) diff --git a/addons/escoria-core/game/core-scripts/esc/commands/camera_set_target.gd b/addons/escoria-core/game/core-scripts/esc/commands/camera_set_target.gd index 92b2001e..a4ba45b3 100644 --- a/addons/escoria-core/game/core-scripts/esc/commands/camera_set_target.gd +++ b/addons/escoria-core/game/core-scripts/esc/commands/camera_set_target.gd @@ -54,7 +54,7 @@ func run(command_params: Array) -> int: # Function called when the command is interrupted. func interrupt(): - escoria.logger.warn( + escoria.logger.debug( self, "[%s] interrupt() function not implemented." % get_command_name() ) diff --git a/addons/escoria-core/game/core-scripts/esc/commands/camera_set_zoom.gd b/addons/escoria-core/game/core-scripts/esc/commands/camera_set_zoom.gd index 3b93525d..d0827042 100644 --- a/addons/escoria-core/game/core-scripts/esc/commands/camera_set_zoom.gd +++ b/addons/escoria-core/game/core-scripts/esc/commands/camera_set_zoom.gd @@ -40,7 +40,7 @@ func run(command_params: Array) -> int: # Function called when the command is interrupted. func interrupt(): - escoria.logger.warn( + escoria.logger.debug( self, "[%s] interrupt() function not implemented." % get_command_name() ) diff --git a/addons/escoria-core/game/core-scripts/esc/commands/camera_set_zoom_height.gd b/addons/escoria-core/game/core-scripts/esc/commands/camera_set_zoom_height.gd index 39f437a2..1e3de82e 100644 --- a/addons/escoria-core/game/core-scripts/esc/commands/camera_set_zoom_height.gd +++ b/addons/escoria-core/game/core-scripts/esc/commands/camera_set_zoom_height.gd @@ -52,7 +52,7 @@ func run(command_params: Array) -> int: # Function called when the command is interrupted. func interrupt(): - escoria.logger.warn( + escoria.logger.debug( self, "[%s] interrupt() function not implemented." % get_command_name() ) diff --git a/addons/escoria-core/game/core-scripts/esc/commands/camera_shift.gd b/addons/escoria-core/game/core-scripts/esc/commands/camera_shift.gd index 5bad3329..f92fa09a 100644 --- a/addons/escoria-core/game/core-scripts/esc/commands/camera_shift.gd +++ b/addons/escoria-core/game/core-scripts/esc/commands/camera_shift.gd @@ -88,7 +88,7 @@ func validate(arguments: Array): # Function called when the command is interrupted. func interrupt(): - escoria.logger.warn( + escoria.logger.debug( self, "[%s] interrupt() function not implemented." % get_command_name() ) diff --git a/addons/escoria-core/game/core-scripts/esc/commands/change_scene.gd b/addons/escoria-core/game/core-scripts/esc/commands/change_scene.gd index 528ced3c..76487e3d 100644 --- a/addons/escoria-core/game/core-scripts/esc/commands/change_scene.gd +++ b/addons/escoria-core/game/core-scripts/esc/commands/change_scene.gd @@ -74,7 +74,7 @@ func run(command_params: Array) -> int: # Function called when the command is interrupted. func interrupt(): - escoria.logger.warn( + escoria.logger.debug( self, "[%s] interrupt() function not implemented." % get_command_name() ) diff --git a/addons/escoria-core/game/core-scripts/esc/commands/custom.gd b/addons/escoria-core/game/core-scripts/esc/commands/custom.gd index 6bd42bc5..849f24ab 100644 --- a/addons/escoria-core/game/core-scripts/esc/commands/custom.gd +++ b/addons/escoria-core/game/core-scripts/esc/commands/custom.gd @@ -94,7 +94,7 @@ func run(command_params: Array) -> int: # Function called when the command is interrupted. func interrupt(): - escoria.logger.warn( + escoria.logger.debug( self, "[%s] interrupt() function not implemented." % get_command_name() ) diff --git a/addons/escoria-core/game/core-scripts/esc/commands/say.gd b/addons/escoria-core/game/core-scripts/esc/commands/say.gd index 4f2469c2..f634d256 100644 --- a/addons/escoria-core/game/core-scripts/esc/commands/say.gd +++ b/addons/escoria-core/game/core-scripts/esc/commands/say.gd @@ -121,7 +121,7 @@ func run(command_params: Array) -> int: # Function called when the command is interrupted. func interrupt(): - escoria.logger.warn( + escoria.logger.debug( self, "[%s] interrupt() function not implemented." % get_command_name() ) diff --git a/addons/escoria-core/game/core-scripts/esc/commands/turn_to.gd b/addons/escoria-core/game/core-scripts/esc/commands/turn_to.gd index bbbc17b8..7c3348eb 100644 --- a/addons/escoria-core/game/core-scripts/esc/commands/turn_to.gd +++ b/addons/escoria-core/game/core-scripts/esc/commands/turn_to.gd @@ -73,7 +73,7 @@ func run(command_params: Array) -> int: # Function called when the command is interrupted. func interrupt(): - escoria.logger.warn( + escoria.logger.debug( self, "[%s] interrupt() function not implemented." % get_command_name() ) diff --git a/addons/escoria-core/game/core-scripts/esc/types/esc_base_command.gd b/addons/escoria-core/game/core-scripts/esc/types/esc_base_command.gd index e50b59da..b750afa7 100644 --- a/addons/escoria-core/game/core-scripts/esc/types/esc_base_command.gd +++ b/addons/escoria-core/game/core-scripts/esc/types/esc_base_command.gd @@ -50,7 +50,7 @@ func get_command_name() -> String: # Function called when the command is interrupted. func interrupt(): - escoria.logger.trace( + escoria.logger.debug( self, "Command %s did not override interrupt. Please implement an interrupt() function." % get_command_name() )