mirror of
https://github.com/thecatontheceiling/buckshotroulette-decomp.git
synced 2024-11-25 23:17:22 +00:00
19 lines
628 B
GDScript3
19 lines
628 B
GDScript3
|
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
|
||
|
@export var itemGridIndex : int
|
||
|
@export var interactionInvalid : bool
|
||
|
@export var signatureButton_letterAlias : String
|
||
|
@export var signatureButton_specialAlias : String
|
||
|
@export var assignedSignatureButton : SignButton
|
||
|
|
||
|
func _ready():
|
||
|
if (signatureButton_letterAlias != ""):
|
||
|
assignedSignatureButton = get_parent().get_child(3)
|
||
|
if (signatureButton_specialAlias != ""):
|
||
|
assignedSignatureButton = get_parent().get_child(3)
|