This commit is contained in:
WangXiang
2025-12-22 18:57:51 +08:00
commit 6119faf53e
159 changed files with 19162 additions and 0 deletions

13
Scripts/NoticeBoard.gd Normal file
View File

@@ -0,0 +1,13 @@
extends StaticBody2D
func interact():
print("Interacted with Notice Board")
# Check if dialog already exists
if get_tree().root.has_node("NoticeDialog"):
return
var dialog = preload("res://Scenes/UI/NoticeDialog.tscn").instantiate()
dialog.name = "NoticeDialog"
get_tree().root.add_child(dialog)
return null # No bubble text needed