From f868b86f102adf6c5d16af433c30b1ad0ebee5fe Mon Sep 17 00:00:00 2001 From: Daniel Snider Date: Sat, 13 Aug 2022 22:27:10 -0700 Subject: [PATCH] Add silly dialog for yamget --- dialogic/folder_structure.json | 5 +++-- dialogic/settings.cfg | 4 ++++ dialogic/themes/default-theme.cfg | 5 +++++ dialogic/timelines/timeline-1660454153.json | 15 +++++++++++++++ scripts/hydroponics_station.gd | 1 + 5 files changed, 28 insertions(+), 2 deletions(-) create mode 100644 dialogic/timelines/timeline-1660454153.json diff --git a/dialogic/folder_structure.json b/dialogic/folder_structure.json index 12f3165..e6a0055 100644 --- a/dialogic/folder_structure.json +++ b/dialogic/folder_structure.json @@ -36,13 +36,14 @@ }, "metadata": { "color": null, - "folded": true + "folded": false } }, "Timelines": { "files": [ "timeline-1660443870.json", - "timeline-1660444277.json" + "timeline-1660444277.json", + "timeline-1660454153.json" ], "folders": { diff --git a/dialogic/settings.cfg b/dialogic/settings.cfg index fe4dc31..e17b3aa 100644 --- a/dialogic/settings.cfg +++ b/dialogic/settings.cfg @@ -13,3 +13,7 @@ character_preview_mode=1 [QuickTimelineTest] timeline_file="timeline-1660443870.json" + +[animations] + +default_join_animation_length=0.5 diff --git a/dialogic/themes/default-theme.cfg b/dialogic/themes/default-theme.cfg index 1822bc0..ea112fe 100644 --- a/dialogic/themes/default-theme.cfg +++ b/dialogic/themes/default-theme.cfg @@ -16,3 +16,8 @@ disabled=[ false, Color( 1, 1, 1, 1 ), false, Color( 0, 0, 0, 1 ), true, "res:// [background] use_image=true +modulation=false + +[animation] + +show_time=0.1 diff --git a/dialogic/timelines/timeline-1660454153.json b/dialogic/timelines/timeline-1660454153.json new file mode 100644 index 0000000..7c74424 --- /dev/null +++ b/dialogic/timelines/timeline-1660454153.json @@ -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" + } +} diff --git a/scripts/hydroponics_station.gd b/scripts/hydroponics_station.gd index 23e510f..b07cae6 100644 --- a/scripts/hydroponics_station.gd +++ b/scripts/hydroponics_station.gd @@ -21,6 +21,7 @@ func _on_Timer_timeout(): func _on_yam_item_tree_exited(): $coin_machine.enabled = true $MeshInstance/Yam.visible = false + add_child(Dialogic.start("yamget")) func _process(delta): $"%status_label".text = "%f" % $grow_timer.time_left