chore: storing version and changelog

This commit is contained in:
StraToN
2022-05-01 10:48:24 +00:00
parent b8983b8b42
commit ccfcf54a03
9 changed files with 18 additions and 9 deletions

View File

@@ -53,7 +53,7 @@ func validate(arguments: Array):
]
)
return false
walking_object_node = (escoria.object_manager.get_object(
arguments[0]).node as ESCItem
)

View File

@@ -53,7 +53,7 @@ func validate(arguments: Array):
]
)
return false
walking_object_node = (escoria.object_manager.get_object(
arguments[0]).node as ESCItem
)

View File

@@ -44,7 +44,7 @@ func validate(arguments: Array):
]
)
return false
walking_object_node = (escoria.object_manager.get_object(
arguments[0]).node as ESCItem
)

View File

@@ -44,7 +44,7 @@ func validate(arguments: Array):
]
)
return false
walking_object_node = (escoria.object_manager.get_object(
arguments[0]).node as ESCItem
)

View File

@@ -280,7 +280,7 @@ func _on_event_finished(finished_statement: ESCStatement, return_code: int, chan
if event_flags & ESCEvent.FLAG_NO_SAVE:
escoria.save_manager.save_enabled = true
# If the return code was RC_CANCEL due to an event finishing with "stop" command for example
# we convert it to RC_OK so that other processed waiting for RC_OK can carry on.
if return_code == ESCExecution.RC_CANCEL:

View File

@@ -136,14 +136,14 @@ func run() -> int:
# This function interrupts the command. If it was not started, it will not run.
# If it had already started, the execution will be considered as finished
# If it had already started, the execution will be considered as finished
# immediately and finish. If it was already finished, nothing will happen.
func interrupt():
_is_interrupted = true
var command = escoria.command_registry.get_command(self.name)
if command.has_method("interrupt"):
command.interrupt()
# Override of built-in _to_string function to display the statement.
func _to_string() -> String:

View File

@@ -5,7 +5,7 @@ class_name ESCExecution
# Return codes handled by events
# * RC_OK: Event run okay
# * RC_CANCEL: Cancel all scheduled and queued events. This return code tells the Event Manager
# * RC_CANCEL: Cancel all scheduled and queued events. This return code tells the Event Manager
# that no execution is required for this command (such as "stop" and "repeat")
# * RC_ERROR: Error running a command
# * RC_REPEAT: Repeat the current scope from the beginning

View File

@@ -465,7 +465,7 @@ func walk_to(pos: Vector2, p_walk_context: ESCWalkContext = null) -> void:
# or teleport it directly at destination position if 'to_target' is true.
#
# #### Parameters
#
#
# - to_target: if true, the movable node is teleport directly at its target
# destination
func stop_walking_now(to_target: bool = false) -> void: