You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
52 lines
1.0 KiB
52 lines
1.0 KiB
@tool
|
|
extends DialogicEvent
|
|
|
|
# DEFINE ALL PROPERTIES OF THE EVENT
|
|
# var MySetting :String = ""
|
|
|
|
func _execute() -> void:
|
|
# I have no idea how this event works ;)
|
|
finish()
|
|
|
|
|
|
#region INITIALIZE
|
|
################################################################################
|
|
|
|
# SET ALL VALUES THAT SHOULD NEVER CHANGE HERE
|
|
func _init() -> void:
|
|
event_name = "Default"
|
|
event_color = Color("#ffffff")
|
|
event_category = "Main"
|
|
event_sorting_index = 0
|
|
|
|
#endregion
|
|
|
|
|
|
#region 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()
|
|
|
|
#endregion
|
|
|
|
|
|
#region EDITOR REPRESENTATION
|
|
################################################################################
|
|
|
|
func build_event_editor() -> void:
|
|
pass
|
|
|
|
#endregion
|