2024-01-20 12:17:43 +00:00
|
|
|
class_name InteractionBranch extends Node
|
|
|
|
|
|
|
|
@export var interactionAlias : String
|
|
|
|
@export var itemName : String
|
|
|
|
@export var interactionAllowed : bool
|
|
|
|
@export var isGrid : bool
|
|
|
|
@export var gridIndex : int
|
2024-04-05 10:52:30 +01:00
|
|
|
@export var isPlayerSide : bool
|
2024-01-20 12:17:43 +00:00
|
|
|
@export var itemGridIndex : int
|
|
|
|
@export var interactionInvalid : bool
|
|
|
|
@export var signatureButton_letterAlias : String
|
|
|
|
@export var signatureButton_specialAlias : String
|
2024-04-05 10:52:30 +01:00
|
|
|
@export var crtButton_alias : String
|
2024-01-20 12:17:43 +00:00
|
|
|
@export var assignedSignatureButton : SignButton
|
|
|
|
|
|
|
|
func _ready():
|
|
|
|
if (signatureButton_letterAlias != ""):
|
|
|
|
assignedSignatureButton = get_parent().get_child(3)
|
|
|
|
if (signatureButton_specialAlias != ""):
|
|
|
|
assignedSignatureButton = get_parent().get_child(3)
|