Add addons

This commit is contained in:
Joey Yakimowich-Payne 2023-01-03 16:53:53 -07:00
commit 3367bad24f
No known key found for this signature in database
GPG key ID: 6BFE655FA5ABD1E1
527 changed files with 36197 additions and 0 deletions

View file

@ -0,0 +1,20 @@
class_name DialogicNode_ChoiceButton
extends Button
## Dialogic Node that displays choices.
## Used to identify what choices to put on. If you leave it at -1, choices will be distributed automatically.
@export var choice_index:int = -1
## Can be set to play this sound when pressed. Requires a sibling DialogicNode_ButtonSound node.
@export var sound_pressed: AudioStream
## Can be set to play this sound when hovered. Requires a sibling DialogicNode_ButtonSound node.
@export var sound_hover: AudioStream
## Can be set to play this sound when focused. Requires a sibling DialogicNode_ButtonSound node.
@export var sound_focus: AudioStream
func _ready():
add_to_group('dialogic_choice_button')
shortcut_in_tooltip = false
hide()