]> Untitled Git - wolf-seeking-sheep.git/blob - classes/gameplay/Actionable.gd
Squashed commit of the following:
[wolf-seeking-sheep.git] / classes / gameplay / Actionable.gd
1 class_name Actionable
2 extends CharacterBody3D
3
4
5 @export var prompt: String = "Inspect"
6 @export var dialogue: Array[DialogicTimeline] = []
7
8
9 func get_next_dialogue() -> DialogicTimeline:
10         if dialogue.size() == 1:
11                 return dialogue.front()
12         return dialogue.pop_front()