Add addons
This commit is contained in:
parent
2c862b2235
commit
3367bad24f
527 changed files with 36197 additions and 0 deletions
34
Sprout/addons/dialogic/Events/End/event_end.gd
Normal file
34
Sprout/addons/dialogic/Events/End/event_end.gd
Normal file
|
|
@ -0,0 +1,34 @@
|
|||
@tool
|
||||
class_name DialogicEndTimelineEvent
|
||||
extends DialogicEvent
|
||||
|
||||
## Event that ends a timeline (even if more events come after).
|
||||
|
||||
|
||||
################################################################################
|
||||
## EXECUTE
|
||||
################################################################################
|
||||
|
||||
func _execute() -> void:
|
||||
for character in dialogic.Portraits.get_joined_characters():
|
||||
dialogic.Portraits.remove_portrait(character)
|
||||
dialogic.end_timeline()
|
||||
|
||||
|
||||
################################################################################
|
||||
## INITIALIZE
|
||||
################################################################################
|
||||
|
||||
func _init() -> void:
|
||||
event_name = "End Timeline"
|
||||
set_default_color('Color4')
|
||||
event_category = Category.Timeline
|
||||
event_sorting_index = 10
|
||||
|
||||
|
||||
################################################################################
|
||||
## SAVING/LOADING
|
||||
################################################################################
|
||||
|
||||
func get_shortcode() -> String:
|
||||
return "end_timeline"
|
||||
BIN
Sprout/addons/dialogic/Events/End/icon.png
Normal file
BIN
Sprout/addons/dialogic/Events/End/icon.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 558 B |
34
Sprout/addons/dialogic/Events/End/icon.png.import
Normal file
34
Sprout/addons/dialogic/Events/End/icon.png.import
Normal file
|
|
@ -0,0 +1,34 @@
|
|||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="CompressedTexture2D"
|
||||
uid="uid://cstw2y41yacgc"
|
||||
path="res://.godot/imported/icon.png-a0a96e8aa3ccec20b5e27375ec04ccf1.ctex"
|
||||
metadata={
|
||||
"vram_texture": false
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://addons/dialogic/Events/End/icon.png"
|
||||
dest_files=["res://.godot/imported/icon.png-a0a96e8aa3ccec20b5e27375ec04ccf1.ctex"]
|
||||
|
||||
[params]
|
||||
|
||||
compress/mode=0
|
||||
compress/lossy_quality=0.7
|
||||
compress/hdr_compression=1
|
||||
compress/bptc_ldr=0
|
||||
compress/normal_map=0
|
||||
compress/channel_pack=0
|
||||
mipmaps/generate=false
|
||||
mipmaps/limit=-1
|
||||
roughness/mode=0
|
||||
roughness/src_normal=""
|
||||
process/fix_alpha_border=true
|
||||
process/premult_alpha=false
|
||||
process/normal_map_invert_y=false
|
||||
process/hdr_as_srgb=false
|
||||
process/hdr_clamp_exposure=false
|
||||
process/size_limit=0
|
||||
detect_3d/compress_to=1
|
||||
6
Sprout/addons/dialogic/Events/End/index.gd
Normal file
6
Sprout/addons/dialogic/Events/End/index.gd
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
@tool
|
||||
extends DialogicIndexer
|
||||
|
||||
|
||||
func _get_events() -> Array:
|
||||
return [this_folder.path_join('event_end.gd')]
|
||||
Loading…
Add table
Add a link
Reference in a new issue