Skip to content

Commit

Permalink
chore: add custom_data dictionary to EscItem
Browse files Browse the repository at this point in the history
  • Loading branch information
enekonieto authored and BHSDuncan committed Oct 3, 2023
1 parent 386eaea commit 063df71
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions addons/escoria-core/game/core-scripts/esc_item.gd
Original file line number Diff line number Diff line change
Expand Up @@ -149,6 +149,10 @@ export(NodePath) var animation_player_node: NodePath = "" \
# as a camera target
export(NodePath) var camera_node

# Custom data dictionary to ease customization and custom command creation.
# Avoid name collision using proper key names.
export(Dictionary) var custom_data = {}


# ESCAnimationsResource (for walking, idling...)
var animations: ESCAnimationResource setget set_animations
Expand Down

0 comments on commit 063df71

Please sign in to comment.