Add silly dialog for yamget

This commit is contained in:
Daniel Snider 2022-08-13 22:27:10 -07:00
parent 79a3e1d4b6
commit f868b86f10
5 changed files with 28 additions and 2 deletions

View File

@ -36,13 +36,14 @@
}, },
"metadata": { "metadata": {
"color": null, "color": null,
"folded": true "folded": false
} }
}, },
"Timelines": { "Timelines": {
"files": [ "files": [
"timeline-1660443870.json", "timeline-1660443870.json",
"timeline-1660444277.json" "timeline-1660444277.json",
"timeline-1660454153.json"
], ],
"folders": { "folders": {

View File

@ -13,3 +13,7 @@ character_preview_mode=1
[QuickTimelineTest] [QuickTimelineTest]
timeline_file="timeline-1660443870.json" timeline_file="timeline-1660443870.json"
[animations]
default_join_animation_length=0.5

View File

@ -16,3 +16,8 @@ disabled=[ false, Color( 1, 1, 1, 1 ), false, Color( 0, 0, 0, 1 ), true, "res://
[background] [background]
use_image=true use_image=true
modulation=false
[animation]
show_time=0.1

View File

@ -0,0 +1,15 @@
{
"events": [
{
"character": "",
"event_id": "dialogic_001",
"portrait": "",
"text": "You have acquired a raw yam."
}
],
"metadata": {
"dialogic-version": "1.4.4",
"file": "timeline-1660454153.json",
"name": "yamget"
}
}

View File

@ -21,6 +21,7 @@ func _on_Timer_timeout():
func _on_yam_item_tree_exited(): func _on_yam_item_tree_exited():
$coin_machine.enabled = true $coin_machine.enabled = true
$MeshInstance/Yam.visible = false $MeshInstance/Yam.visible = false
add_child(Dialogic.start("yamget"))
func _process(delta): func _process(delta):
$"%status_label".text = "%f" % $grow_timer.time_left $"%status_label".text = "%f" % $grow_timer.time_left