Vast improvements and a working finite state machine, working on new guild member registration.

This commit is contained in:
2025-07-24 08:41:19 -04:00
parent 90151369de
commit dc30d1b15c
100 changed files with 1987 additions and 194 deletions

14
speech_bubble.gd Normal file
View File

@@ -0,0 +1,14 @@
class_name SpeechBubble extends Sprite2D
@onready var anim_player : AnimationPlayer = $AnimationPlayer
func try_show_speech(type : String = ""):
if type != "":
if anim_player.has_animation(type):
visible = true
anim_player.play(type)
else:
printerr("Tried to show speech bubble %s but speech bubble does not have that type!" % type)
visible = false
else:
visible = false