Fix bug in a warning not correctly formatted.
This commit is contained in:
@@ -152,11 +152,12 @@ func activate(
|
|||||||
escoria.logger.report_warnings(
|
escoria.logger.report_warnings(
|
||||||
"ESCActionManager.activate: Invalid action on item",
|
"ESCActionManager.activate: Invalid action on item",
|
||||||
[
|
[
|
||||||
"Trying to run %s on object %s, "+
|
"Trying to run %s on object %s, " %
|
||||||
"but item must be in inventory." % [
|
[
|
||||||
action,
|
action,
|
||||||
target.global_id
|
target.node.global_id
|
||||||
]
|
]
|
||||||
|
+ "but item must be in inventory."
|
||||||
]
|
]
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|||||||
@@ -11,3 +11,4 @@ SOUND_VOLUME,Sound effects,Effets sonores
|
|||||||
CANCEL,Cancel,Annuler
|
CANCEL,Cancel,Annuler
|
||||||
OK,OK,OK
|
OK,OK,OK
|
||||||
ENTER_SAVE_NAME,Enter the save name:,Entrez un nom de sauvegarde
|
ENTER_SAVE_NAME,Enter the save name:,Entrez un nom de sauvegarde
|
||||||
|
APPLY,Apply,Appliquer
|
||||||
|
|||||||
|
Binary file not shown.
Binary file not shown.
@@ -330,6 +330,11 @@ _global_script_classes=[ {
|
|||||||
"path": "res://addons/escoria-core/game/core-scripts/esc/commands/queue_resource.gd"
|
"path": "res://addons/escoria-core/game/core-scripts/esc/commands/queue_resource.gd"
|
||||||
}, {
|
}, {
|
||||||
"base": "ESCBaseCommand",
|
"base": "ESCBaseCommand",
|
||||||
|
"class": "RandGlobalCommand",
|
||||||
|
"language": "GDScript",
|
||||||
|
"path": "res://addons/escoria-core/game/core-scripts/esc/commands/rand_global.gd"
|
||||||
|
}, {
|
||||||
|
"base": "ESCBaseCommand",
|
||||||
"class": "RepeatCommand",
|
"class": "RepeatCommand",
|
||||||
"language": "GDScript",
|
"language": "GDScript",
|
||||||
"path": "res://addons/escoria-core/game/core-scripts/esc/commands/repeat.gd"
|
"path": "res://addons/escoria-core/game/core-scripts/esc/commands/repeat.gd"
|
||||||
@@ -514,6 +519,7 @@ _global_script_class_icons={
|
|||||||
"PlaySndCommand": "",
|
"PlaySndCommand": "",
|
||||||
"QueueAnimationCommand": "",
|
"QueueAnimationCommand": "",
|
||||||
"QueueResourceCommand": "",
|
"QueueResourceCommand": "",
|
||||||
|
"RandGlobalCommand": "",
|
||||||
"RepeatCommand": "",
|
"RepeatCommand": "",
|
||||||
"SayCommand": "",
|
"SayCommand": "",
|
||||||
"SchedEventCommand": "",
|
"SchedEventCommand": "",
|
||||||
|
|||||||
Reference in New Issue
Block a user