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,48 @@
@tool
extends DialogicEvent
# DEFINE ALL PROPERTIES OF THE EVENT
# var MySetting :String = ""
func _execute() -> void:
# I have no idea how this event works
finish()
################################################################################
## INITIALIZE
################################################################################
# SET ALL VALUES THAT SHOULD NEVER CHANGE HERE
func _init() -> void:
event_name = "Default"
event_color = Color("#ffffff")
event_category = Category.MAIN
event_sorting_index = 0
################################################################################
## SAVING/LOADING
################################################################################
func get_shortcode() -> String:
return "default_shortcode"
func get_shortcode_parameters() -> Dictionary:
return {
#param_name : property_name
#"arg_name" : "NameOfProperty",
}
# You can alternatively overwrite these 3 functions:
# - to_text(),
# - from_text(),
# - is_valid_event()
################################################################################
## EDITOR REPRESENTATION
################################################################################
func build_event_editor() -> void:
pass