From 434216ca29de8e00ec5c73227573ecaaca895b5f Mon Sep 17 00:00:00 2001 From: Bo Thompson Date: Sun, 10 Aug 2025 03:58:03 -0400 Subject: [PATCH] Moved everything into a file system. Links broken. --- data/jobs/farmer.tres | 7 + data/jobs/job_data.gd | 20 + names.txt => data/names.txt | 0 .../adventurer-profile-pic.png | Bin .../adventurer-profile-pic.png.import | 6 +- basic-sprite.png => graphics/basic-sprite.png | Bin .../basic-sprite.png.import | 6 +- busy-dots.png => graphics/busy-dots.png | Bin .../busy-dots.png.import | 6 +- graphics/guild-mopt-hover.png | Bin 0 -> 784 bytes graphics/guild-mopt-hover.png.import | 40 ++ graphics/guild-mopt.png | Bin 0 -> 570 bytes graphics/guild-mopt.png.import | 40 ++ hero.png => graphics/hero.png | Bin hero.png.import => graphics/hero.png.import | 6 +- icon.svg => graphics/icon.svg | 0 icon.svg.import => graphics/icon.svg.import | 6 +- notice-icon.png => graphics/notice-icon.png | Bin .../notice-icon.png.import | 6 +- .../open_shift_panel.png | Bin .../open_shift_panel.png.import | 6 +- graphics/options-mopt-hover.png | Bin 0 -> 1101 bytes graphics/options-mopt-hover.png.import | 40 ++ graphics/options-mopt.png | Bin 0 -> 781 bytes graphics/options-mopt.png.import | 40 ++ .../profile-popup.png | Bin .../profile-popup.png.import | 6 +- progress-bar.png => graphics/progress-bar.png | Bin .../progress-bar.png.import | 6 +- .../progress-dot-fill.png | Bin .../progress-dot-fill.png.import | 6 +- .../progress-empty.png | Bin .../progress-empty.png.import | 6 +- .../progress-fill.png | Bin .../progress-fill.png.import | 6 +- .../progress-marks.png | Bin .../progress-marks.png.import | 6 +- questboard.png => graphics/questboard.png | Bin .../questboard.png.import | 6 +- .../reception-table.png | Bin .../reception-table.png.import | 6 +- receptionist.png => graphics/receptionist.png | Bin .../receptionist.png.import | 6 +- speech-blip.png => graphics/speech-blip.png | Bin .../speech-blip.png.import | 6 +- .../speech-emojis.png | Bin .../speech-emojis.png.import | 6 +- speech-talk.png => graphics/speech-talk.png | Bin .../speech-talk.png.import | 6 +- speechbubble.png => graphics/speechbubble.png | Bin .../speechbubble.png.import | 6 +- .../spritesheet_characters.png | Bin .../spritesheet_characters.png.import | 6 +- .../spritesheet_tiles.png | Bin .../spritesheet_tiles.png.import | 6 +- .../top-icon-members-hover.png | Bin .../top-icon-members-hover.png.import | 6 +- .../top-icon-members.png | Bin .../top-icon-members.png.import | 6 +- .../top-icon-policies-hover.png | Bin .../top-icon-policies-hover.png.import | 6 +- .../top-icon-policies.png | Bin .../top-icon-policies.png.import | 6 +- .../top-icon-quests-hover.png | Bin .../top-icon-quests-hover.png.import | 6 +- .../top-icon-quests.png | Bin .../top-icon-quests.png.import | 6 +- .../top-menu-icons.png | Bin .../top-menu-icons.png.import | 6 +- .../working_shift_panel.png | Bin .../working_shift_panel.png.import | 6 +- project.godot | 10 +- active_scene.tscn => scenes/active_scene.tscn | 20 +- adventurer.gd => scripts/adventurer.gd | 0 .../adventurer.gd.uid | 0 .../adventurer_data.gd | 23 + .../adventurer_data.gd.uid | 0 .../end_shift_confirmation.gd | 0 .../end_shift_confirmation.gd.uid | 0 endpoint.gd => scripts/endpoint.gd | 0 endpoint.gd.uid => scripts/endpoint.gd.uid | 0 game_manager.gd => scripts/game_manager.gd | 10 +- .../game_manager.gd.uid | 0 .../generate_quest_dialog.gd | 1 + .../generate_quest_dialog.gd.uid | 0 guild.gd => scripts/guild.gd | 6 + guild.gd.uid => scripts/guild.gd.uid | 0 .../guild_employee.gd | 0 .../guild_employee.gd.uid | 0 scripts/guild_information_window.gd | 26 + scripts/guild_information_window.gd.uid | 1 + guild_queue.gd => scripts/guild_queue.gd | 0 .../guild_queue.gd.uid | 0 guildhall.gd => scripts/guildhall.gd | 0 guildhall.gd.uid => scripts/guildhall.gd.uid | 0 hero_icon.gd => scripts/hero_icon.gd | 0 hero_icon.gd.uid => scripts/hero_icon.gd.uid | 0 interactable.gd => scripts/interactable.gd | 0 .../interactable.gd.uid | 0 main_panel.gd => scripts/main_panel.gd | 11 +- .../main_panel.gd.uid | 0 .../member_panel_entry.gd | 0 .../member_panel_entry.gd.uid | 0 notice_panel.gd => scripts/notice_panel.gd | 0 .../notice_panel.gd.uid | 0 npc.gd => scripts/npc.gd | 0 npc.gd.uid => scripts/npc.gd.uid | 0 .../npc_profile_window.gd | 3 +- .../npc_profile_window.gd.uid | 0 person.gd => scripts/person.gd | 0 person.gd.uid => scripts/person.gd.uid | 0 player.gd => scripts/player.gd | 0 player.gd.uid => scripts/player.gd.uid | 0 profile_popup.gd => scripts/profile_popup.gd | 0 .../profile_popup.gd.uid | 0 .../profile_window.gd | 0 .../profile_window.gd.uid | 0 quest.gd => scripts/quest.gd | 32 +- quest.gd.uid => scripts/quest.gd.uid | 0 quest_board.gd => scripts/quest_board.gd | 0 .../quest_board.gd.uid | 0 .../quest_board_entry.gd | 0 .../quest_board_entry.gd.uid | 0 .../quest_board_window.gd | 2 +- .../quest_board_window.gd.uid | 0 quest_log.gd => scripts/quest_log.gd | 0 quest_log.gd.uid => scripts/quest_log.gd.uid | 0 .../quest_log_entry.gd | 0 .../quest_log_entry.gd.uid | 0 .../quest_panel_entry.gd | 0 .../quest_panel_entry.gd.uid | 0 .../quest_progress_bar.gd | 19 +- .../quest_progress_bar.gd.uid | 0 quest_window.gd => scripts/quest_window.gd | 4 +- .../quest_window.gd.uid | 0 speech_bubble.gd => scripts/speech_bubble.gd | 0 .../speech_bubble.gd.uid | 0 scripts/start_menu.gd | 5 + scripts/start_menu.gd.uid | 1 + test_limbo.gd => scripts/test_limbo.gd | 0 .../test_limbo.gd.uid | 0 test_scene.gd => scripts/test_scene.gd | 0 .../test_scene.gd.uid | 0 timer_label.gd => scripts/timer_label.gd | 0 .../timer_label.gd.uid | 0 top_menu.gd => scripts/top_menu.gd | 8 + top_menu.gd.uid => scripts/top_menu.gd.uid | 0 update_bubble.gd => scripts/update_bubble.gd | 0 .../update_bubble.gd.uid | 0 .../visitor_spawner.gd | 0 .../visitor_spawner.gd.uid | 0 waypoint.gd => scripts/waypoint.gd | 0 waypoint.gd.uid => scripts/waypoint.gd.uid | 0 styles/open_shift_panel.tres | 2 +- styles/profile_panel.tres | 2 +- styles/working_shift_panel.tres | 2 +- .../end_shift_confirmation.tscn | 4 +- templates/guild_info_window.tscn | 52 ++ guildhall.tscn => templates/guildhall.tscn | 12 +- main_panel.tscn => templates/main_panel.tscn | 11 +- .../member_panel_entry.tscn | 4 +- templates/name_entry.tscn | 451 ++++++++++++++++++ .../notice_panel.tscn | 4 +- .../npc_profile_window.tscn | 24 +- .../passive_panel.tscn | 4 +- .../profile_popup.tscn | 4 +- .../profile_window.tscn | 2 +- .../quest_board.tscn | 8 +- .../quest_board_entry.tscn | 8 +- .../quest_board_window.tscn | 10 +- quest_log.tscn => templates/quest_log.tscn | 2 +- .../quest_log_entry.tscn | 4 +- .../quest_panel_entry.tscn | 4 +- .../quest_progress_bar.tscn | 60 ++- .../quest_window.tscn | 8 +- .../receptionist.tscn | 8 +- .../speech_bubble.tscn | 6 +- .../test_adventurer.tscn | 2 +- .../test_adventurer_sprite.tscn | 16 +- top_menu.tscn => templates/top_menu.tscn | 122 ++++- waypoint.tscn => templates/waypoint.tscn | 6 +- test_tiles.tres | 2 +- 182 files changed, 1141 insertions(+), 252 deletions(-) rename names.txt => data/names.txt (100%) rename adventurer-profile-pic.png => graphics/adventurer-profile-pic.png (100%) rename adventurer-profile-pic.png.import => graphics/adventurer-profile-pic.png.import (74%) rename basic-sprite.png => graphics/basic-sprite.png (100%) rename basic-sprite.png.import => graphics/basic-sprite.png.import (76%) rename busy-dots.png => graphics/busy-dots.png (100%) rename busy-dots.png.import => graphics/busy-dots.png.import (77%) create mode 100644 graphics/guild-mopt-hover.png create mode 100644 graphics/guild-mopt-hover.png.import create mode 100644 graphics/guild-mopt.png create mode 100644 graphics/guild-mopt.png.import rename hero.png => graphics/hero.png (100%) rename hero.png.import => graphics/hero.png.import (78%) rename icon.svg => graphics/icon.svg (100%) rename icon.svg.import => graphics/icon.svg.import (80%) rename notice-icon.png => graphics/notice-icon.png (100%) rename notice-icon.png.import => graphics/notice-icon.png.import (76%) rename open_shift_panel.png => graphics/open_shift_panel.png (100%) rename open_shift_panel.png.import => graphics/open_shift_panel.png.import (75%) create mode 100644 graphics/options-mopt-hover.png create mode 100644 graphics/options-mopt-hover.png.import create mode 100644 graphics/options-mopt.png create mode 100644 graphics/options-mopt.png.import rename profile-popup.png => graphics/profile-popup.png (100%) rename profile-popup.png.import => graphics/profile-popup.png.import (76%) rename progress-bar.png => graphics/progress-bar.png (100%) rename progress-bar.png.import => graphics/progress-bar.png.import (76%) rename progress-dot-fill.png => graphics/progress-dot-fill.png (100%) rename progress-dot-fill.png.import => graphics/progress-dot-fill.png.import (75%) rename progress-empty.png => graphics/progress-empty.png (100%) rename progress-empty.png.import => graphics/progress-empty.png.import (76%) rename progress-fill.png => graphics/progress-fill.png (100%) rename progress-fill.png.import => graphics/progress-fill.png.import (76%) rename progress-marks.png => graphics/progress-marks.png (100%) rename progress-marks.png.import => graphics/progress-marks.png.import (76%) rename questboard.png => graphics/questboard.png (100%) rename questboard.png.import => graphics/questboard.png.import (77%) rename reception-table.png => graphics/reception-table.png (100%) rename reception-table.png.import => graphics/reception-table.png.import (75%) rename receptionist.png => graphics/receptionist.png (100%) rename receptionist.png.import => graphics/receptionist.png.import (76%) rename speech-blip.png => graphics/speech-blip.png (100%) rename speech-blip.png.import => graphics/speech-blip.png.import (76%) rename speech-emojis.png => graphics/speech-emojis.png (100%) rename speech-emojis.png.import => graphics/speech-emojis.png.import (76%) rename speech-talk.png => graphics/speech-talk.png (100%) rename speech-talk.png.import => graphics/speech-talk.png.import (76%) rename speechbubble.png => graphics/speechbubble.png (100%) rename speechbubble.png.import => graphics/speechbubble.png.import (76%) rename spritesheet_characters.png => graphics/spritesheet_characters.png (100%) rename spritesheet_characters.png.import => graphics/spritesheet_characters.png.import (74%) rename spritesheet_tiles.png => graphics/spritesheet_tiles.png (100%) rename spritesheet_tiles.png.import => graphics/spritesheet_tiles.png.import (75%) rename top-icon-members-hover.png => graphics/top-icon-members-hover.png (100%) rename top-icon-members-hover.png.import => graphics/top-icon-members-hover.png.import (74%) rename top-icon-members.png => graphics/top-icon-members.png (100%) rename top-icon-members.png.import => graphics/top-icon-members.png.import (75%) rename top-icon-policies-hover.png => graphics/top-icon-policies-hover.png (100%) rename top-icon-policies-hover.png.import => graphics/top-icon-policies-hover.png.import (74%) rename top-icon-policies.png => graphics/top-icon-policies.png (100%) rename top-icon-policies.png.import => graphics/top-icon-policies.png.import (75%) rename top-icon-quests-hover.png => graphics/top-icon-quests-hover.png (100%) rename top-icon-quests-hover.png.import => graphics/top-icon-quests-hover.png.import (74%) rename top-icon-quests.png => graphics/top-icon-quests.png (100%) rename top-icon-quests.png.import => graphics/top-icon-quests.png.import (75%) rename top-menu-icons.png => graphics/top-menu-icons.png (100%) rename top-menu-icons.png.import => graphics/top-menu-icons.png.import (76%) rename working_shift_panel.png => graphics/working_shift_panel.png (100%) rename working_shift_panel.png.import => graphics/working_shift_panel.png.import (74%) rename active_scene.tscn => scenes/active_scene.tscn (84%) rename adventurer.gd => scripts/adventurer.gd (100%) rename adventurer.gd.uid => scripts/adventurer.gd.uid (100%) rename adventurer_data.gd => scripts/adventurer_data.gd (52%) rename adventurer_data.gd.uid => scripts/adventurer_data.gd.uid (100%) rename end_shift_confirmation.gd => scripts/end_shift_confirmation.gd (100%) rename end_shift_confirmation.gd.uid => scripts/end_shift_confirmation.gd.uid (100%) rename endpoint.gd => scripts/endpoint.gd (100%) rename endpoint.gd.uid => scripts/endpoint.gd.uid (100%) rename game_manager.gd => scripts/game_manager.gd (83%) rename game_manager.gd.uid => scripts/game_manager.gd.uid (100%) rename generate_quest_dialog.gd => scripts/generate_quest_dialog.gd (98%) rename generate_quest_dialog.gd.uid => scripts/generate_quest_dialog.gd.uid (100%) rename guild.gd => scripts/guild.gd (96%) rename guild.gd.uid => scripts/guild.gd.uid (100%) rename guild_employee.gd => scripts/guild_employee.gd (100%) rename guild_employee.gd.uid => scripts/guild_employee.gd.uid (100%) create mode 100644 scripts/guild_information_window.gd create mode 100644 scripts/guild_information_window.gd.uid rename guild_queue.gd => scripts/guild_queue.gd (100%) rename guild_queue.gd.uid => scripts/guild_queue.gd.uid (100%) rename guildhall.gd => scripts/guildhall.gd (100%) rename guildhall.gd.uid => scripts/guildhall.gd.uid (100%) rename hero_icon.gd => scripts/hero_icon.gd (100%) rename hero_icon.gd.uid => scripts/hero_icon.gd.uid (100%) rename interactable.gd => scripts/interactable.gd (100%) rename interactable.gd.uid => scripts/interactable.gd.uid (100%) rename main_panel.gd => scripts/main_panel.gd (87%) rename main_panel.gd.uid => scripts/main_panel.gd.uid (100%) rename member_panel_entry.gd => scripts/member_panel_entry.gd (100%) rename member_panel_entry.gd.uid => scripts/member_panel_entry.gd.uid (100%) rename notice_panel.gd => scripts/notice_panel.gd (100%) rename notice_panel.gd.uid => scripts/notice_panel.gd.uid (100%) rename npc.gd => scripts/npc.gd (100%) rename npc.gd.uid => scripts/npc.gd.uid (100%) rename npc_profile_window.gd => scripts/npc_profile_window.gd (95%) rename npc_profile_window.gd.uid => scripts/npc_profile_window.gd.uid (100%) rename person.gd => scripts/person.gd (100%) rename person.gd.uid => scripts/person.gd.uid (100%) rename player.gd => scripts/player.gd (100%) rename player.gd.uid => scripts/player.gd.uid (100%) rename profile_popup.gd => scripts/profile_popup.gd (100%) rename profile_popup.gd.uid => scripts/profile_popup.gd.uid (100%) rename profile_window.gd => scripts/profile_window.gd (100%) rename profile_window.gd.uid => scripts/profile_window.gd.uid (100%) rename quest.gd => scripts/quest.gd (56%) rename quest.gd.uid => scripts/quest.gd.uid (100%) rename quest_board.gd => scripts/quest_board.gd (100%) rename quest_board.gd.uid => scripts/quest_board.gd.uid (100%) rename quest_board_entry.gd => scripts/quest_board_entry.gd (100%) rename quest_board_entry.gd.uid => scripts/quest_board_entry.gd.uid (100%) rename quest_board_window.gd => scripts/quest_board_window.gd (96%) rename quest_board_window.gd.uid => scripts/quest_board_window.gd.uid (100%) rename quest_log.gd => scripts/quest_log.gd (100%) rename quest_log.gd.uid => scripts/quest_log.gd.uid (100%) rename quest_log_entry.gd => scripts/quest_log_entry.gd (100%) rename quest_log_entry.gd.uid => scripts/quest_log_entry.gd.uid (100%) rename quest_panel_entry.gd => scripts/quest_panel_entry.gd (100%) rename quest_panel_entry.gd.uid => scripts/quest_panel_entry.gd.uid (100%) rename quest_progress_bar.gd => scripts/quest_progress_bar.gd (80%) rename quest_progress_bar.gd.uid => scripts/quest_progress_bar.gd.uid (100%) rename quest_window.gd => scripts/quest_window.gd (95%) rename quest_window.gd.uid => scripts/quest_window.gd.uid (100%) rename speech_bubble.gd => scripts/speech_bubble.gd (100%) rename speech_bubble.gd.uid => scripts/speech_bubble.gd.uid (100%) create mode 100644 scripts/start_menu.gd create mode 100644 scripts/start_menu.gd.uid rename test_limbo.gd => scripts/test_limbo.gd (100%) rename test_limbo.gd.uid => scripts/test_limbo.gd.uid (100%) rename test_scene.gd => scripts/test_scene.gd (100%) rename test_scene.gd.uid => scripts/test_scene.gd.uid (100%) rename timer_label.gd => scripts/timer_label.gd (100%) rename timer_label.gd.uid => scripts/timer_label.gd.uid (100%) rename top_menu.gd => scripts/top_menu.gd (84%) rename top_menu.gd.uid => scripts/top_menu.gd.uid (100%) rename update_bubble.gd => scripts/update_bubble.gd (100%) rename update_bubble.gd.uid => scripts/update_bubble.gd.uid (100%) rename visitor_spawner.gd => scripts/visitor_spawner.gd (100%) rename visitor_spawner.gd.uid => scripts/visitor_spawner.gd.uid (100%) rename waypoint.gd => scripts/waypoint.gd (100%) rename waypoint.gd.uid => scripts/waypoint.gd.uid (100%) rename end_shift_confirmation.tscn => templates/end_shift_confirmation.tscn (84%) create mode 100644 templates/guild_info_window.tscn rename guildhall.tscn => templates/guildhall.tscn (96%) rename main_panel.tscn => templates/main_panel.tscn (93%) rename member_panel_entry.tscn => templates/member_panel_entry.tscn (92%) create mode 100644 templates/name_entry.tscn rename notice_panel.tscn => templates/notice_panel.tscn (91%) rename npc_profile_window.tscn => templates/npc_profile_window.tscn (92%) rename passive_panel.tscn => templates/passive_panel.tscn (96%) rename profile_popup.tscn => templates/profile_popup.tscn (95%) rename profile_window.tscn => templates/profile_window.tscn (98%) rename quest_board.tscn => templates/quest_board.tscn (88%) rename quest_board_entry.tscn => templates/quest_board_entry.tscn (88%) rename quest_board_window.tscn => templates/quest_board_window.tscn (87%) rename quest_log.tscn => templates/quest_log.tscn (96%) rename quest_log_entry.tscn => templates/quest_log_entry.tscn (92%) rename quest_panel_entry.tscn => templates/quest_panel_entry.tscn (91%) rename quest_progress_bar.tscn => templates/quest_progress_bar.tscn (82%) rename quest_window.tscn => templates/quest_window.tscn (96%) rename receptionist.tscn => templates/receptionist.tscn (88%) rename speech_bubble.tscn => templates/speech_bubble.tscn (95%) rename test_adventurer.tscn => templates/test_adventurer.tscn (82%) rename test_adventurer_sprite.tscn => templates/test_adventurer_sprite.tscn (80%) rename top_menu.tscn => templates/top_menu.tscn (78%) rename waypoint.tscn => templates/waypoint.tscn (90%) diff --git a/data/jobs/farmer.tres b/data/jobs/farmer.tres index 8c68616..b18980f 100644 --- a/data/jobs/farmer.tres +++ b/data/jobs/farmer.tres @@ -5,4 +5,11 @@ [resource] script = ExtResource("1_clwor") name = "Farmer" +min_STR = 2 +max_STR = 5 +max_DEX = 4 +max_INT = 3 +max_CHA = 2 +max_FAI = 2 +max_LUK = 2 metadata/_custom_type_script = "uid://byr5ai03cpa5s" diff --git a/data/jobs/job_data.gd b/data/jobs/job_data.gd index 7581969..701f760 100644 --- a/data/jobs/job_data.gd +++ b/data/jobs/job_data.gd @@ -9,3 +9,23 @@ enum Type { @export var name : String @export var type : Type var test + +@export var min_STR : int = 1 +@export var max_STR : int = 1 +@export var min_DEX : int = 1 +@export var max_DEX : int = 1 +@export var min_INT : int = 1 +@export var max_INT : int = 1 + +@export var min_CHA : int = 1 +@export var max_CHA : int = 1 +@export var min_FAI : int = 1 +@export var max_FAI : int = 1 +@export var min_LUK : int = 1 +@export var max_LUK : int = 1 + + + +#TODO: Implement a more interesting tnl for different jobs +func get_tnl(lvl : int) -> int: + return lvl * 10 diff --git a/names.txt b/data/names.txt similarity index 100% rename from names.txt rename to data/names.txt diff --git a/adventurer-profile-pic.png b/graphics/adventurer-profile-pic.png similarity index 100% rename from adventurer-profile-pic.png rename to graphics/adventurer-profile-pic.png diff --git a/adventurer-profile-pic.png.import b/graphics/adventurer-profile-pic.png.import similarity index 74% rename from adventurer-profile-pic.png.import rename to graphics/adventurer-profile-pic.png.import index 5e74434..49b89ac 100644 --- a/adventurer-profile-pic.png.import +++ b/graphics/adventurer-profile-pic.png.import @@ -3,15 +3,15 @@ importer="texture" type="CompressedTexture2D" uid="uid://biir7hjo6b4nl" -path="res://.godot/imported/adventurer-profile-pic.png-3ff49b3daa3ffcf150d2ee189b167ba9.ctex" +path="res://.godot/imported/adventurer-profile-pic.png-8ca93431d2ec3e75629e11bb1a44a179.ctex" metadata={ "vram_texture": false } [deps] -source_file="res://adventurer-profile-pic.png" -dest_files=["res://.godot/imported/adventurer-profile-pic.png-3ff49b3daa3ffcf150d2ee189b167ba9.ctex"] +source_file="res://graphics/adventurer-profile-pic.png" +dest_files=["res://.godot/imported/adventurer-profile-pic.png-8ca93431d2ec3e75629e11bb1a44a179.ctex"] [params] diff --git a/basic-sprite.png b/graphics/basic-sprite.png similarity index 100% rename from basic-sprite.png rename to graphics/basic-sprite.png diff --git a/basic-sprite.png.import b/graphics/basic-sprite.png.import similarity index 76% rename from basic-sprite.png.import rename to graphics/basic-sprite.png.import index 8dd85b7..255b646 100644 --- a/basic-sprite.png.import +++ b/graphics/basic-sprite.png.import @@ -3,15 +3,15 @@ importer="texture" type="CompressedTexture2D" uid="uid://cg6ptmynq0aq0" -path="res://.godot/imported/basic-sprite.png-8651af0edadac4b9f3511ab9d4ca3c8a.ctex" +path="res://.godot/imported/basic-sprite.png-2f2cc309a3287afdbdbd58b833d18969.ctex" metadata={ "vram_texture": false } [deps] -source_file="res://basic-sprite.png" -dest_files=["res://.godot/imported/basic-sprite.png-8651af0edadac4b9f3511ab9d4ca3c8a.ctex"] +source_file="res://graphics/basic-sprite.png" +dest_files=["res://.godot/imported/basic-sprite.png-2f2cc309a3287afdbdbd58b833d18969.ctex"] [params] diff --git a/busy-dots.png b/graphics/busy-dots.png similarity index 100% rename from busy-dots.png rename to graphics/busy-dots.png diff --git a/busy-dots.png.import b/graphics/busy-dots.png.import similarity index 77% rename from busy-dots.png.import rename to graphics/busy-dots.png.import index 0923a0e..5387c06 100644 --- a/busy-dots.png.import +++ b/graphics/busy-dots.png.import @@ -3,15 +3,15 @@ importer="texture" type="CompressedTexture2D" uid="uid://1mmg270gotb1" -path="res://.godot/imported/busy-dots.png-31d70c9440af4478b802f06a1617b631.ctex" +path="res://.godot/imported/busy-dots.png-3036202ff60b9a443530e8367e87e0a6.ctex" metadata={ "vram_texture": false } [deps] -source_file="res://busy-dots.png" -dest_files=["res://.godot/imported/busy-dots.png-31d70c9440af4478b802f06a1617b631.ctex"] +source_file="res://graphics/busy-dots.png" +dest_files=["res://.godot/imported/busy-dots.png-3036202ff60b9a443530e8367e87e0a6.ctex"] [params] diff --git a/graphics/guild-mopt-hover.png b/graphics/guild-mopt-hover.png new file mode 100644 index 0000000000000000000000000000000000000000..8cbb7407c0407e154ccda6ea5e68e8a2fc2499e9 GIT binary patch literal 784 zcmV+r1MmEaP)Px%%1J~)RA_$5&Mu*1A*4i|gSMD4aX-W+3Bx%x>_qUokbI!TnH#2wU z01}BrB9TZW5{cx0g=$G+WNJnnh0j*!Hf61jNqB~x)$qJ zC_t98x@5Ym!vGMCBsTzHGdmL_pzTB?`5gc@ccw$k%r~x1iGUhWfA4<0T@pAp@&*b8 zu$7%1Wo9lJEyV#qcqZF!X2rCZua$BR(x+52002g?bGpUoi8DJwcxEAN^mGRU(WzQ$ zkAmr}Zh@J@db~^5PQUic^)*nu`*+olezq3?vgX`K*8F-405mn4XrAPMG3~{P9W#9o z0Q6w2&o8(76Cm}1LK>JoeERYv#SrrVpelyZ6t#!I?92c_Kxy@T&8r$9C?^4c;gveu zZeiOMo|$i4=HW2d1^^<}H?Qg@t|XOyy0~}PKA3n=zp^G%w}Irq^9=xCcD9=@r+(@- z5Z1e60N{#09hRGEzM?v*=`&i++YdM4dCqZYITE!P@Qz(Y1Jq!EcL9LPQfcpR2^P8X zUJL{QfLQ=QLyw72{QP)a@Xf1gfVnW|u?r#vLy3o@Ly1S@M8&dHdNM0S-YYJs4l1M# z1Ay>yB9)#LwTeAx1|kYv0RSO(UB6o2OJbmn*MT)*ckAru> literal 0 HcmV?d00001 diff --git a/graphics/guild-mopt-hover.png.import b/graphics/guild-mopt-hover.png.import new file mode 100644 index 0000000..7d92e0d --- /dev/null +++ b/graphics/guild-mopt-hover.png.import @@ -0,0 +1,40 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://dlm6ei0v0tokv" +path="res://.godot/imported/guild-mopt-hover.png-082d90359b94fe2589cde636324364bd.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://graphics/guild-mopt-hover.png" +dest_files=["res://.godot/imported/guild-mopt-hover.png-082d90359b94fe2589cde636324364bd.ctex"] + +[params] + +compress/mode=0 +compress/high_quality=false +compress/lossy_quality=0.7 +compress/uastc_level=0 +compress/rdo_quality_loss=0.0 +compress/hdr_compression=1 +compress/normal_map=0 +compress/channel_pack=0 +mipmaps/generate=false +mipmaps/limit=-1 +roughness/mode=0 +roughness/src_normal="" +process/channel_remap/red=0 +process/channel_remap/green=1 +process/channel_remap/blue=2 +process/channel_remap/alpha=3 +process/fix_alpha_border=true +process/premult_alpha=false +process/normal_map_invert_y=false +process/hdr_as_srgb=false +process/hdr_clamp_exposure=false +process/size_limit=0 +detect_3d/compress_to=1 diff --git a/graphics/guild-mopt.png b/graphics/guild-mopt.png new file mode 100644 index 0000000000000000000000000000000000000000..a140989f2782114242b4bd6869fe7b61c0d646ef GIT binary patch literal 570 zcmV-A0>%A_P)Px$^hrcPRA_?=`QAjCbVVxr63s?zu zR%yh>#t=kI3i~4;K;$@rNPn^@__}@f?5Q4M*H1Gtt0gMBSzPx(2T4RhRA_J7v`!|tu1MB!JC#quYwm2dR1sbc6O+ew27MErW<#6=6JC? z3{R(%{Y?OXP~|^EeTOjAcW7B5ewxnQRKqfpN6!rSd54{gQn>2w z_3q|+R=sT$+))6$AO?v~U^_TxAaYF0m;f*i06d?K`iPGK0Jn2~W6LQ)lg~{yYO2mW znXzT9V8vqbu1@S$g!@WYuXuF;fC{d?WDAjYa7_axX!3lv28ERsH*FdO&X*RqYpVV_ z0M>A{_Y{CzVy@S9sZ;>~Q6O7pzED9yqv6Quv!Hc`K!Vdo?K{_GBM$h3@UbFgO@1uJHGJ|9UOJn@S+ zecc9FBzBwC)Q+Z;{T~20yMfXH0KBjt20`RF_vfB;`!!YHq^WunfF0)GnLQwucQOn0 znySCL;xoD)QWv}SUO)9_qiGrEOv|v>&REL<$h3?p7K#1w;73_tSG>7xC~@#a(zJ{b z7OT4j01fYc-7Thz1{R8nZeQU`!N|8r?=O9gDj%ZB2>?<*eD7F|k0Hn@;{2c(m z&V|Gv(ZCdlY;cgK>W>2`Y?wgBLg|J2P`c(%AeI-}69C|3mtvZ#D~Wf$Yy|))q09;c zL`0@#IIMcxC;(^&KDrriIer-c%*$VVvyuA!G+C@}%o}G~#vF@owuJU1g`;<1=c4ib zAI>;46T1OmY@oe;g#nk;g_AF{n%WUK`APs3*z&}00D3lJz)y2*p#3$!SlV1avdq+_ z?zgC-Y7%xXLP}^po$P<#vWdP)Px%$4Nv%RA_UWeqiF@3M^_SUWWEhjh0`R61# zNiGBefj}S-2m}Iw=Z>&y|%&wJDO1xMgI8p#?1O=l(IsarfCw3jlckK z444LnfnM7-1+2E+r+`O5N1gaS0L4V(jdy*?wrmj#0NX{5O;iN#*uDT&1@;0~}4cm`B}!6X*V?#?v9?CO_* zPFvp&oVDc>o_05I#+F|JM{W6~(h{YmA4?w1F5d~*iP^&;qOk zek(1wTAdxYg=oy`Q*_&mBhl&h7I0#)!K?%S#ru{YiB%LW literal 0 HcmV?d00001 diff --git a/graphics/options-mopt.png.import b/graphics/options-mopt.png.import new file mode 100644 index 0000000..3c5a9b5 --- /dev/null +++ b/graphics/options-mopt.png.import @@ -0,0 +1,40 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://cnrqig3gojcls" +path="res://.godot/imported/options-mopt.png-b9d0a986607c786808293975dfdb9f2a.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://graphics/options-mopt.png" +dest_files=["res://.godot/imported/options-mopt.png-b9d0a986607c786808293975dfdb9f2a.ctex"] + +[params] + +compress/mode=0 +compress/high_quality=false +compress/lossy_quality=0.7 +compress/uastc_level=0 +compress/rdo_quality_loss=0.0 +compress/hdr_compression=1 +compress/normal_map=0 +compress/channel_pack=0 +mipmaps/generate=false +mipmaps/limit=-1 +roughness/mode=0 +roughness/src_normal="" +process/channel_remap/red=0 +process/channel_remap/green=1 +process/channel_remap/blue=2 +process/channel_remap/alpha=3 +process/fix_alpha_border=true +process/premult_alpha=false +process/normal_map_invert_y=false +process/hdr_as_srgb=false +process/hdr_clamp_exposure=false +process/size_limit=0 +detect_3d/compress_to=1 diff --git a/profile-popup.png b/graphics/profile-popup.png similarity index 100% rename from profile-popup.png rename to graphics/profile-popup.png diff --git a/profile-popup.png.import b/graphics/profile-popup.png.import similarity index 76% rename from profile-popup.png.import rename to graphics/profile-popup.png.import index 97a2790..c3502f1 100644 --- a/profile-popup.png.import +++ b/graphics/profile-popup.png.import @@ -3,15 +3,15 @@ importer="texture" type="CompressedTexture2D" uid="uid://bgw38ld52wu05" -path="res://.godot/imported/profile-popup.png-4b6d4e9fef550a4aaea3066cdf338a5b.ctex" +path="res://.godot/imported/profile-popup.png-ac2c647ffb9a3ddb191e025f4c871f30.ctex" metadata={ "vram_texture": false } [deps] -source_file="res://profile-popup.png" -dest_files=["res://.godot/imported/profile-popup.png-4b6d4e9fef550a4aaea3066cdf338a5b.ctex"] +source_file="res://graphics/profile-popup.png" +dest_files=["res://.godot/imported/profile-popup.png-ac2c647ffb9a3ddb191e025f4c871f30.ctex"] [params] diff --git a/progress-bar.png b/graphics/progress-bar.png similarity index 100% rename from progress-bar.png rename to graphics/progress-bar.png diff --git a/progress-bar.png.import b/graphics/progress-bar.png.import similarity index 76% rename from progress-bar.png.import rename to graphics/progress-bar.png.import index 9228307..c959c79 100644 --- a/progress-bar.png.import +++ b/graphics/progress-bar.png.import @@ -3,15 +3,15 @@ importer="texture" type="CompressedTexture2D" uid="uid://b88n81qde4p3n" -path="res://.godot/imported/progress-bar.png-21d3410b8dd8cd1797d11fa5b8ee6b1b.ctex" +path="res://.godot/imported/progress-bar.png-76f213d6220c80035c4b078835113907.ctex" metadata={ "vram_texture": false } [deps] -source_file="res://progress-bar.png" -dest_files=["res://.godot/imported/progress-bar.png-21d3410b8dd8cd1797d11fa5b8ee6b1b.ctex"] +source_file="res://graphics/progress-bar.png" +dest_files=["res://.godot/imported/progress-bar.png-76f213d6220c80035c4b078835113907.ctex"] [params] diff --git a/progress-dot-fill.png b/graphics/progress-dot-fill.png similarity index 100% rename from progress-dot-fill.png rename to graphics/progress-dot-fill.png diff --git a/progress-dot-fill.png.import b/graphics/progress-dot-fill.png.import similarity index 75% rename from progress-dot-fill.png.import rename to graphics/progress-dot-fill.png.import index d5446f2..3f3243d 100644 --- a/progress-dot-fill.png.import +++ b/graphics/progress-dot-fill.png.import @@ -3,15 +3,15 @@ importer="texture" type="CompressedTexture2D" uid="uid://bcrg5ea4niu0e" -path="res://.godot/imported/progress-dot-fill.png-a1e94128dc6c2f11bfa15c335ef05892.ctex" +path="res://.godot/imported/progress-dot-fill.png-067f8b9b07760bb8c8698f2ce794233e.ctex" metadata={ "vram_texture": false } [deps] -source_file="res://progress-dot-fill.png" -dest_files=["res://.godot/imported/progress-dot-fill.png-a1e94128dc6c2f11bfa15c335ef05892.ctex"] +source_file="res://graphics/progress-dot-fill.png" +dest_files=["res://.godot/imported/progress-dot-fill.png-067f8b9b07760bb8c8698f2ce794233e.ctex"] [params] diff --git a/progress-empty.png b/graphics/progress-empty.png similarity index 100% rename from progress-empty.png rename to graphics/progress-empty.png diff --git a/progress-empty.png.import b/graphics/progress-empty.png.import similarity index 76% rename from progress-empty.png.import rename to graphics/progress-empty.png.import index 4c11a35..7454f18 100644 --- a/progress-empty.png.import +++ b/graphics/progress-empty.png.import @@ -3,15 +3,15 @@ importer="texture" type="CompressedTexture2D" uid="uid://itwu7v625k7w" -path="res://.godot/imported/progress-empty.png-c041d067c6c8a0335fd10028262feaf7.ctex" +path="res://.godot/imported/progress-empty.png-0f393d304e61f3ff99fa3f6d686e26b3.ctex" metadata={ "vram_texture": false } [deps] -source_file="res://progress-empty.png" -dest_files=["res://.godot/imported/progress-empty.png-c041d067c6c8a0335fd10028262feaf7.ctex"] +source_file="res://graphics/progress-empty.png" +dest_files=["res://.godot/imported/progress-empty.png-0f393d304e61f3ff99fa3f6d686e26b3.ctex"] [params] diff --git a/progress-fill.png b/graphics/progress-fill.png similarity index 100% rename from progress-fill.png rename to graphics/progress-fill.png diff --git a/progress-fill.png.import b/graphics/progress-fill.png.import similarity index 76% rename from progress-fill.png.import rename to graphics/progress-fill.png.import index f2d60e0..3c04cb8 100644 --- a/progress-fill.png.import +++ b/graphics/progress-fill.png.import @@ -3,15 +3,15 @@ importer="texture" type="CompressedTexture2D" uid="uid://vt3yvxm2ho7o" -path="res://.godot/imported/progress-fill.png-1f717bf1ba84a07e659decc67783afb6.ctex" +path="res://.godot/imported/progress-fill.png-c794ab9b4206fe6ca92c944339cd0e7a.ctex" metadata={ "vram_texture": false } [deps] -source_file="res://progress-fill.png" -dest_files=["res://.godot/imported/progress-fill.png-1f717bf1ba84a07e659decc67783afb6.ctex"] +source_file="res://graphics/progress-fill.png" +dest_files=["res://.godot/imported/progress-fill.png-c794ab9b4206fe6ca92c944339cd0e7a.ctex"] [params] diff --git a/progress-marks.png b/graphics/progress-marks.png similarity index 100% rename from progress-marks.png rename to graphics/progress-marks.png diff --git a/progress-marks.png.import b/graphics/progress-marks.png.import similarity index 76% rename from progress-marks.png.import rename to graphics/progress-marks.png.import index a066533..227fad8 100644 --- a/progress-marks.png.import +++ b/graphics/progress-marks.png.import @@ -3,15 +3,15 @@ importer="texture" type="CompressedTexture2D" uid="uid://c6ptvokr5npl7" -path="res://.godot/imported/progress-marks.png-54e52bfaa6de010aff9b508311a76b66.ctex" +path="res://.godot/imported/progress-marks.png-e4e26c184035a82f2b6da0821d3cfd08.ctex" metadata={ "vram_texture": false } [deps] -source_file="res://progress-marks.png" -dest_files=["res://.godot/imported/progress-marks.png-54e52bfaa6de010aff9b508311a76b66.ctex"] +source_file="res://graphics/progress-marks.png" +dest_files=["res://.godot/imported/progress-marks.png-e4e26c184035a82f2b6da0821d3cfd08.ctex"] [params] diff --git a/questboard.png b/graphics/questboard.png similarity index 100% rename from questboard.png rename to graphics/questboard.png diff --git a/questboard.png.import b/graphics/questboard.png.import similarity index 77% rename from questboard.png.import rename to graphics/questboard.png.import index 3bf3fb0..7ab4d10 100644 --- a/questboard.png.import +++ b/graphics/questboard.png.import @@ -3,15 +3,15 @@ importer="texture" type="CompressedTexture2D" uid="uid://bnt2dlv7kxw7s" -path="res://.godot/imported/questboard.png-3d60627b9a6bfff5395d39ccdc6ef017.ctex" +path="res://.godot/imported/questboard.png-604dc77a685d39b668058f1376438c7e.ctex" metadata={ "vram_texture": false } [deps] -source_file="res://questboard.png" -dest_files=["res://.godot/imported/questboard.png-3d60627b9a6bfff5395d39ccdc6ef017.ctex"] +source_file="res://graphics/questboard.png" +dest_files=["res://.godot/imported/questboard.png-604dc77a685d39b668058f1376438c7e.ctex"] [params] diff --git a/reception-table.png b/graphics/reception-table.png similarity index 100% rename from reception-table.png rename to graphics/reception-table.png diff --git a/reception-table.png.import b/graphics/reception-table.png.import similarity index 75% rename from reception-table.png.import rename to graphics/reception-table.png.import index dd83fbc..2e26e70 100644 --- a/reception-table.png.import +++ b/graphics/reception-table.png.import @@ -3,15 +3,15 @@ importer="texture" type="CompressedTexture2D" uid="uid://83ayd5rg7x8l" -path="res://.godot/imported/reception-table.png-27debfc446f7f631abe84dd17f02d3ab.ctex" +path="res://.godot/imported/reception-table.png-8e2c28e89f4341b61f1bf698e3d86edf.ctex" metadata={ "vram_texture": false } [deps] -source_file="res://reception-table.png" -dest_files=["res://.godot/imported/reception-table.png-27debfc446f7f631abe84dd17f02d3ab.ctex"] +source_file="res://graphics/reception-table.png" +dest_files=["res://.godot/imported/reception-table.png-8e2c28e89f4341b61f1bf698e3d86edf.ctex"] [params] diff --git a/receptionist.png b/graphics/receptionist.png similarity index 100% rename from receptionist.png rename to graphics/receptionist.png diff --git a/receptionist.png.import b/graphics/receptionist.png.import similarity index 76% rename from receptionist.png.import rename to graphics/receptionist.png.import index 2c381d1..1ae5e43 100644 --- a/receptionist.png.import +++ b/graphics/receptionist.png.import @@ -3,15 +3,15 @@ importer="texture" type="CompressedTexture2D" uid="uid://nrhxsevqn82" -path="res://.godot/imported/receptionist.png-b3cdffc179657aaf037ba33f75dffdb6.ctex" +path="res://.godot/imported/receptionist.png-aefba97a8018522a77b98f937305eecc.ctex" metadata={ "vram_texture": false } [deps] -source_file="res://receptionist.png" -dest_files=["res://.godot/imported/receptionist.png-b3cdffc179657aaf037ba33f75dffdb6.ctex"] +source_file="res://graphics/receptionist.png" +dest_files=["res://.godot/imported/receptionist.png-aefba97a8018522a77b98f937305eecc.ctex"] [params] diff --git a/speech-blip.png b/graphics/speech-blip.png similarity index 100% rename from speech-blip.png rename to graphics/speech-blip.png diff --git a/speech-blip.png.import b/graphics/speech-blip.png.import similarity index 76% rename from speech-blip.png.import rename to graphics/speech-blip.png.import index 12d3057..bd30654 100644 --- a/speech-blip.png.import +++ b/graphics/speech-blip.png.import @@ -3,15 +3,15 @@ importer="texture" type="CompressedTexture2D" uid="uid://cbamfadh7wwr7" -path="res://.godot/imported/speech-blip.png-c50e3b0aba379b71502b51f1275b953c.ctex" +path="res://.godot/imported/speech-blip.png-19a17158599372a9ad50efb31f2ebeed.ctex" metadata={ "vram_texture": false } [deps] -source_file="res://speech-blip.png" -dest_files=["res://.godot/imported/speech-blip.png-c50e3b0aba379b71502b51f1275b953c.ctex"] +source_file="res://graphics/speech-blip.png" +dest_files=["res://.godot/imported/speech-blip.png-19a17158599372a9ad50efb31f2ebeed.ctex"] [params] diff --git a/speech-emojis.png b/graphics/speech-emojis.png similarity index 100% rename from speech-emojis.png rename to graphics/speech-emojis.png diff --git a/speech-emojis.png.import b/graphics/speech-emojis.png.import similarity index 76% rename from speech-emojis.png.import rename to graphics/speech-emojis.png.import index 41c111d..4a9a101 100644 --- a/speech-emojis.png.import +++ b/graphics/speech-emojis.png.import @@ -3,15 +3,15 @@ importer="texture" type="CompressedTexture2D" uid="uid://chnk20ey5qxfh" -path="res://.godot/imported/speech-emojis.png-ec187bee7f14b4adf4276f856bb01d86.ctex" +path="res://.godot/imported/speech-emojis.png-c32844fe1633381c2437758f45daf18a.ctex" metadata={ "vram_texture": false } [deps] -source_file="res://speech-emojis.png" -dest_files=["res://.godot/imported/speech-emojis.png-ec187bee7f14b4adf4276f856bb01d86.ctex"] +source_file="res://graphics/speech-emojis.png" +dest_files=["res://.godot/imported/speech-emojis.png-c32844fe1633381c2437758f45daf18a.ctex"] [params] diff --git a/speech-talk.png b/graphics/speech-talk.png similarity index 100% rename from speech-talk.png rename to graphics/speech-talk.png diff --git a/speech-talk.png.import b/graphics/speech-talk.png.import similarity index 76% rename from speech-talk.png.import rename to graphics/speech-talk.png.import index d524eef..f6632e8 100644 --- a/speech-talk.png.import +++ b/graphics/speech-talk.png.import @@ -3,15 +3,15 @@ importer="texture" type="CompressedTexture2D" uid="uid://bi8rmjyseoyyx" -path="res://.godot/imported/speech-talk.png-f54453937e9d82c29c903e5c8634c45b.ctex" +path="res://.godot/imported/speech-talk.png-19c35f1a4fbf789e44da8f1dc51827fb.ctex" metadata={ "vram_texture": false } [deps] -source_file="res://speech-talk.png" -dest_files=["res://.godot/imported/speech-talk.png-f54453937e9d82c29c903e5c8634c45b.ctex"] +source_file="res://graphics/speech-talk.png" +dest_files=["res://.godot/imported/speech-talk.png-19c35f1a4fbf789e44da8f1dc51827fb.ctex"] [params] diff --git a/speechbubble.png b/graphics/speechbubble.png similarity index 100% rename from speechbubble.png rename to graphics/speechbubble.png diff --git a/speechbubble.png.import b/graphics/speechbubble.png.import similarity index 76% rename from speechbubble.png.import rename to graphics/speechbubble.png.import index 04a515a..70e290f 100644 --- a/speechbubble.png.import +++ b/graphics/speechbubble.png.import @@ -3,15 +3,15 @@ importer="texture" type="CompressedTexture2D" uid="uid://dotwwulusn1b1" -path="res://.godot/imported/speechbubble.png-3f133d7c063d19feea9f05eb0824c489.ctex" +path="res://.godot/imported/speechbubble.png-5128d2a6ba71c8990792e4b2c13a92a4.ctex" metadata={ "vram_texture": false } [deps] -source_file="res://speechbubble.png" -dest_files=["res://.godot/imported/speechbubble.png-3f133d7c063d19feea9f05eb0824c489.ctex"] +source_file="res://graphics/speechbubble.png" +dest_files=["res://.godot/imported/speechbubble.png-5128d2a6ba71c8990792e4b2c13a92a4.ctex"] [params] diff --git a/spritesheet_characters.png b/graphics/spritesheet_characters.png similarity index 100% rename from spritesheet_characters.png rename to graphics/spritesheet_characters.png diff --git a/spritesheet_characters.png.import b/graphics/spritesheet_characters.png.import similarity index 74% rename from spritesheet_characters.png.import rename to graphics/spritesheet_characters.png.import index 556d6de..9c8933c 100644 --- a/spritesheet_characters.png.import +++ b/graphics/spritesheet_characters.png.import @@ -3,15 +3,15 @@ importer="texture" type="CompressedTexture2D" uid="uid://caquvvxgi5k62" -path="res://.godot/imported/spritesheet_characters.png-c3736fe182129c81dd8d8d00e7416ea7.ctex" +path="res://.godot/imported/spritesheet_characters.png-f2bda766e7a45ba55bf95ee32b5575dc.ctex" metadata={ "vram_texture": false } [deps] -source_file="res://spritesheet_characters.png" -dest_files=["res://.godot/imported/spritesheet_characters.png-c3736fe182129c81dd8d8d00e7416ea7.ctex"] +source_file="res://graphics/spritesheet_characters.png" +dest_files=["res://.godot/imported/spritesheet_characters.png-f2bda766e7a45ba55bf95ee32b5575dc.ctex"] [params] diff --git a/spritesheet_tiles.png b/graphics/spritesheet_tiles.png similarity index 100% rename from spritesheet_tiles.png rename to graphics/spritesheet_tiles.png diff --git a/spritesheet_tiles.png.import b/graphics/spritesheet_tiles.png.import similarity index 75% rename from spritesheet_tiles.png.import rename to graphics/spritesheet_tiles.png.import index 0e70e0a..37d5e44 100644 --- a/spritesheet_tiles.png.import +++ b/graphics/spritesheet_tiles.png.import @@ -3,15 +3,15 @@ importer="texture" type="CompressedTexture2D" uid="uid://n5nal4ikpapx" -path="res://.godot/imported/spritesheet_tiles.png-e90c68c69a58218151bfebe0c51769bf.ctex" +path="res://.godot/imported/spritesheet_tiles.png-3b09848bf083126267f1e57484f105fd.ctex" metadata={ "vram_texture": false } [deps] -source_file="res://spritesheet_tiles.png" -dest_files=["res://.godot/imported/spritesheet_tiles.png-e90c68c69a58218151bfebe0c51769bf.ctex"] +source_file="res://graphics/spritesheet_tiles.png" +dest_files=["res://.godot/imported/spritesheet_tiles.png-3b09848bf083126267f1e57484f105fd.ctex"] [params] diff --git a/top-icon-members-hover.png b/graphics/top-icon-members-hover.png similarity index 100% rename from top-icon-members-hover.png rename to graphics/top-icon-members-hover.png diff --git a/top-icon-members-hover.png.import b/graphics/top-icon-members-hover.png.import similarity index 74% rename from top-icon-members-hover.png.import rename to graphics/top-icon-members-hover.png.import index 958ea7b..6aa5892 100644 --- a/top-icon-members-hover.png.import +++ b/graphics/top-icon-members-hover.png.import @@ -3,15 +3,15 @@ importer="texture" type="CompressedTexture2D" uid="uid://hc1lmivi4bjs" -path="res://.godot/imported/top-icon-members-hover.png-a642015958c73d05eb5e09ae37c6f8f7.ctex" +path="res://.godot/imported/top-icon-members-hover.png-63f634aa7a29eabb8562e7586087b3a9.ctex" metadata={ "vram_texture": false } [deps] -source_file="res://top-icon-members-hover.png" -dest_files=["res://.godot/imported/top-icon-members-hover.png-a642015958c73d05eb5e09ae37c6f8f7.ctex"] +source_file="res://graphics/top-icon-members-hover.png" +dest_files=["res://.godot/imported/top-icon-members-hover.png-63f634aa7a29eabb8562e7586087b3a9.ctex"] [params] diff --git a/top-icon-members.png b/graphics/top-icon-members.png similarity index 100% rename from top-icon-members.png rename to graphics/top-icon-members.png diff --git a/top-icon-members.png.import b/graphics/top-icon-members.png.import similarity index 75% rename from top-icon-members.png.import rename to graphics/top-icon-members.png.import index c010ed4..bde2518 100644 --- a/top-icon-members.png.import +++ b/graphics/top-icon-members.png.import @@ -3,15 +3,15 @@ importer="texture" type="CompressedTexture2D" uid="uid://c0e0iw8osv0qh" -path="res://.godot/imported/top-icon-members.png-ea36db52922ab58d0fbf515e5939eb88.ctex" +path="res://.godot/imported/top-icon-members.png-1ad114fcfcbcc50c217960b5b20fc64c.ctex" metadata={ "vram_texture": false } [deps] -source_file="res://top-icon-members.png" -dest_files=["res://.godot/imported/top-icon-members.png-ea36db52922ab58d0fbf515e5939eb88.ctex"] +source_file="res://graphics/top-icon-members.png" +dest_files=["res://.godot/imported/top-icon-members.png-1ad114fcfcbcc50c217960b5b20fc64c.ctex"] [params] diff --git a/top-icon-policies-hover.png b/graphics/top-icon-policies-hover.png similarity index 100% rename from top-icon-policies-hover.png rename to graphics/top-icon-policies-hover.png diff --git a/top-icon-policies-hover.png.import b/graphics/top-icon-policies-hover.png.import similarity index 74% rename from top-icon-policies-hover.png.import rename to graphics/top-icon-policies-hover.png.import index 5ec7624..a302e21 100644 --- a/top-icon-policies-hover.png.import +++ b/graphics/top-icon-policies-hover.png.import @@ -3,15 +3,15 @@ importer="texture" type="CompressedTexture2D" uid="uid://is4b1a0jroee" -path="res://.godot/imported/top-icon-policies-hover.png-444880f357a1a0c4c05c99d35578af5a.ctex" +path="res://.godot/imported/top-icon-policies-hover.png-e64ad857fdeec0682e54115d983ae51f.ctex" metadata={ "vram_texture": false } [deps] -source_file="res://top-icon-policies-hover.png" -dest_files=["res://.godot/imported/top-icon-policies-hover.png-444880f357a1a0c4c05c99d35578af5a.ctex"] +source_file="res://graphics/top-icon-policies-hover.png" +dest_files=["res://.godot/imported/top-icon-policies-hover.png-e64ad857fdeec0682e54115d983ae51f.ctex"] [params] diff --git a/top-icon-policies.png b/graphics/top-icon-policies.png similarity index 100% rename from top-icon-policies.png rename to graphics/top-icon-policies.png diff --git a/top-icon-policies.png.import b/graphics/top-icon-policies.png.import similarity index 75% rename from top-icon-policies.png.import rename to graphics/top-icon-policies.png.import index e3065c7..1f060f1 100644 --- a/top-icon-policies.png.import +++ b/graphics/top-icon-policies.png.import @@ -3,15 +3,15 @@ importer="texture" type="CompressedTexture2D" uid="uid://dpakd262awyrv" -path="res://.godot/imported/top-icon-policies.png-d38e6a215faaf5b3596ec393391dc977.ctex" +path="res://.godot/imported/top-icon-policies.png-2fe28646fe5d7f4ba88e914365a56814.ctex" metadata={ "vram_texture": false } [deps] -source_file="res://top-icon-policies.png" -dest_files=["res://.godot/imported/top-icon-policies.png-d38e6a215faaf5b3596ec393391dc977.ctex"] +source_file="res://graphics/top-icon-policies.png" +dest_files=["res://.godot/imported/top-icon-policies.png-2fe28646fe5d7f4ba88e914365a56814.ctex"] [params] diff --git a/top-icon-quests-hover.png b/graphics/top-icon-quests-hover.png similarity index 100% rename from top-icon-quests-hover.png rename to graphics/top-icon-quests-hover.png diff --git a/top-icon-quests-hover.png.import b/graphics/top-icon-quests-hover.png.import similarity index 74% rename from top-icon-quests-hover.png.import rename to graphics/top-icon-quests-hover.png.import index a945c87..b5e4998 100644 --- a/top-icon-quests-hover.png.import +++ b/graphics/top-icon-quests-hover.png.import @@ -3,15 +3,15 @@ importer="texture" type="CompressedTexture2D" uid="uid://d3s762qc45n68" -path="res://.godot/imported/top-icon-quests-hover.png-9e921267449390437c485904f8bb98e2.ctex" +path="res://.godot/imported/top-icon-quests-hover.png-dd36a6081424fe8394a8a0fb7dd94db4.ctex" metadata={ "vram_texture": false } [deps] -source_file="res://top-icon-quests-hover.png" -dest_files=["res://.godot/imported/top-icon-quests-hover.png-9e921267449390437c485904f8bb98e2.ctex"] +source_file="res://graphics/top-icon-quests-hover.png" +dest_files=["res://.godot/imported/top-icon-quests-hover.png-dd36a6081424fe8394a8a0fb7dd94db4.ctex"] [params] diff --git a/top-icon-quests.png b/graphics/top-icon-quests.png similarity index 100% rename from top-icon-quests.png rename to graphics/top-icon-quests.png diff --git a/top-icon-quests.png.import b/graphics/top-icon-quests.png.import similarity index 75% rename from top-icon-quests.png.import rename to graphics/top-icon-quests.png.import index 170bd16..b179c0d 100644 --- a/top-icon-quests.png.import +++ b/graphics/top-icon-quests.png.import @@ -3,15 +3,15 @@ importer="texture" type="CompressedTexture2D" uid="uid://c2iyta0nbba4v" -path="res://.godot/imported/top-icon-quests.png-414c24eb1a95ccd37bfeb19a800beda6.ctex" +path="res://.godot/imported/top-icon-quests.png-2090eff79c67e36504e9f76ae1c9544a.ctex" metadata={ "vram_texture": false } [deps] -source_file="res://top-icon-quests.png" -dest_files=["res://.godot/imported/top-icon-quests.png-414c24eb1a95ccd37bfeb19a800beda6.ctex"] +source_file="res://graphics/top-icon-quests.png" +dest_files=["res://.godot/imported/top-icon-quests.png-2090eff79c67e36504e9f76ae1c9544a.ctex"] [params] diff --git a/top-menu-icons.png b/graphics/top-menu-icons.png similarity index 100% rename from top-menu-icons.png rename to graphics/top-menu-icons.png diff --git a/top-menu-icons.png.import b/graphics/top-menu-icons.png.import similarity index 76% rename from top-menu-icons.png.import rename to graphics/top-menu-icons.png.import index 9856e49..3f7f212 100644 --- a/top-menu-icons.png.import +++ b/graphics/top-menu-icons.png.import @@ -3,15 +3,15 @@ importer="texture" type="CompressedTexture2D" uid="uid://bickdgnvo2ft8" -path="res://.godot/imported/top-menu-icons.png-8593d9c1489bc13e85df5195126e7866.ctex" +path="res://.godot/imported/top-menu-icons.png-3c43eccd8fcd9b0c59bfe8dea98d0114.ctex" metadata={ "vram_texture": false } [deps] -source_file="res://top-menu-icons.png" -dest_files=["res://.godot/imported/top-menu-icons.png-8593d9c1489bc13e85df5195126e7866.ctex"] +source_file="res://graphics/top-menu-icons.png" +dest_files=["res://.godot/imported/top-menu-icons.png-3c43eccd8fcd9b0c59bfe8dea98d0114.ctex"] [params] diff --git a/working_shift_panel.png b/graphics/working_shift_panel.png similarity index 100% rename from working_shift_panel.png rename to graphics/working_shift_panel.png diff --git a/working_shift_panel.png.import b/graphics/working_shift_panel.png.import similarity index 74% rename from working_shift_panel.png.import rename to graphics/working_shift_panel.png.import index be9fc4f..323a4c9 100644 --- a/working_shift_panel.png.import +++ b/graphics/working_shift_panel.png.import @@ -3,15 +3,15 @@ importer="texture" type="CompressedTexture2D" uid="uid://uhovyed0br4e" -path="res://.godot/imported/working_shift_panel.png-781dd400cffdd75c157d56019ee2f944.ctex" +path="res://.godot/imported/working_shift_panel.png-e0d863ad37f2902c9b81942de363b71b.ctex" metadata={ "vram_texture": false } [deps] -source_file="res://working_shift_panel.png" -dest_files=["res://.godot/imported/working_shift_panel.png-781dd400cffdd75c157d56019ee2f944.ctex"] +source_file="res://graphics/working_shift_panel.png" +dest_files=["res://.godot/imported/working_shift_panel.png-e0d863ad37f2902c9b81942de363b71b.ctex"] [params] diff --git a/project.godot b/project.godot index 622e577..2b47c95 100644 --- a/project.godot +++ b/project.godot @@ -11,13 +11,14 @@ config_version=5 [application] config/name="pomchronicles" +run/main_scene="uid://dfa6ep4o53s08" config/features=PackedStringArray("4.5", "Forward Plus") -config/icon="res://icon.svg" +config/icon="res://graphics/icon.svg" [autoload] -Guild="*res://guild.gd" -Game="*res://game_manager.gd" +Guild="*res://scripts/guild.gd" +Game="*res://scripts/game_manager.gd" [display] @@ -26,6 +27,7 @@ window/size/viewport_height=1080 window/size/resizable=false window/size/maximize_disabled=true window/stretch/mode="viewport" +window/per_pixel_transparency/allowed=true [dotnet] @@ -55,3 +57,5 @@ behavior_tree/behavior_tree_default_dir="res://demo/ai/trees" [rendering] textures/canvas_textures/default_texture_filter=0 +renderer/rendering_method="gl_compatibility" +renderer/rendering_method.mobile="gl_compatibility" diff --git a/active_scene.tscn b/scenes/active_scene.tscn similarity index 84% rename from active_scene.tscn rename to scenes/active_scene.tscn index 339205a..c0ba247 100644 --- a/active_scene.tscn +++ b/scenes/active_scene.tscn @@ -1,10 +1,10 @@ [gd_scene load_steps=7 format=3 uid="uid://dfa6ep4o53s08"] -[ext_resource type="Script" uid="uid://cci652umkym1f" path="res://test_scene.gd" id="1_8p2cu"] -[ext_resource type="PackedScene" uid="uid://cd08dp16bixfv" path="res://guildhall.tscn" id="1_fcxuj"] -[ext_resource type="PackedScene" uid="uid://c8ofw6na082gv" path="res://main_panel.tscn" id="2_8p2cu"] -[ext_resource type="PackedScene" uid="uid://c7jagw4y7w42l" path="res://top_menu.tscn" id="6_46fpu"] -[ext_resource type="Script" uid="uid://bnbljf6u2d3kh" path="res://visitor_spawner.gd" id="6_d0hfk"] +[ext_resource type="Script" uid="uid://cci652umkym1f" path="res://scripts/test_scene.gd" id="1_752n1"] +[ext_resource type="PackedScene" uid="uid://cd08dp16bixfv" path="res://templates/guildhall.tscn" id="2_rma72"] +[ext_resource type="Script" uid="uid://bnbljf6u2d3kh" path="res://scripts/visitor_spawner.gd" id="3_oi1nh"] +[ext_resource type="PackedScene" uid="uid://c8ofw6na082gv" path="res://templates/main_panel.tscn" id="4_4k18p"] +[ext_resource type="PackedScene" uid="uid://c7jagw4y7w42l" path="res://templates/top_menu.tscn" id="5_p1w2f"] [sub_resource type="NavigationPolygon" id="NavigationPolygon_eenn6"] vertices = PackedVector2Array(682, 166.14844, 682, 71, 1053, 71, 1053, 605, 639.85156, 165.96875, 35, 605, 341.6875, 164.90625, 35, 35, 339.0625, 35, 339.67188, 64.71875, 340.96875, 128.71094, 575.8672, 165.72656, 639.85156, 165.96094, 447.8672, 165.27344, 383.85938, 165.02344, 383.85938, 165.00781) @@ -15,9 +15,9 @@ border_size = 250.0 agent_radius = 35.0 [node name="Active Scene" type="Node2D"] -script = ExtResource("1_8p2cu") +script = ExtResource("1_752n1") -[node name="Guildhall" parent="." instance=ExtResource("1_fcxuj")] +[node name="Guildhall" parent="." instance=ExtResource("2_rma72")] position = Vector2(421, 161) [node name="RoomRegion" parent="Guildhall" index="0"] @@ -34,7 +34,7 @@ position = Vector2(927, 33) [node name="VisitorSpawner" type="Node2D" parent="Guildhall"] position = Vector2(505, 870) -script = ExtResource("6_d0hfk") +script = ExtResource("3_oi1nh") total_visitors = 3 [node name="Timer" type="Timer" parent="Guildhall/VisitorSpawner"] @@ -48,13 +48,13 @@ offset_top = 23.0 offset_right = 1903.0 offset_bottom = 185.0 -[node name="MainPanel" parent="UI/VBoxContainer" instance=ExtResource("2_8p2cu")] +[node name="MainPanel" parent="UI/VBoxContainer" instance=ExtResource("4_4k18p")] layout_mode = 2 [node name="Notices" type="Control" parent="UI/VBoxContainer"] layout_mode = 2 -[node name="Control" parent="UI" instance=ExtResource("6_46fpu")] +[node name="Control" parent="UI" instance=ExtResource("5_p1w2f")] [connection signal="timeout" from="Guildhall/VisitorSpawner/Timer" to="Guildhall/VisitorSpawner" method="_on_timer_timeout"] diff --git a/adventurer.gd b/scripts/adventurer.gd similarity index 100% rename from adventurer.gd rename to scripts/adventurer.gd diff --git a/adventurer.gd.uid b/scripts/adventurer.gd.uid similarity index 100% rename from adventurer.gd.uid rename to scripts/adventurer.gd.uid diff --git a/adventurer_data.gd b/scripts/adventurer_data.gd similarity index 52% rename from adventurer_data.gd rename to scripts/adventurer_data.gd index 4f78244..62ffd1f 100644 --- a/adventurer_data.gd +++ b/scripts/adventurer_data.gd @@ -22,16 +22,39 @@ var max_life : int = 1 var energy : int = 1 var max_energy : int = 1 var level : int = 1 +var exp : int = 0 var job : JobData var stats : StatBlock +var gold : int = 0 var quest : Quest func _init() -> void: stats = StatBlock.new() +func generate() -> void: + if job == null: + return + stats.STR = randi_range(job.min_STR, job.max_STR) + stats.DEX = randi_range(job.min_DEX, job.max_DEX) + stats.INT = randi_range(job.min_INT, job.max_INT) + stats.CHA = randi_range(job.min_CHA, job.max_CHA) + stats.FAI = randi_range(job.min_FAI, job.max_FAI) + stats.LUK = randi_range(job.min_LUK, job.max_LUK) + + max_life = stats.STR * 10 + stats.CHA * 10 + max_energy = stats.INT * 10 + stats.FAI * 10 + life = max_life + energy = max_energy + func assign_quest(quest : Quest) -> void: self.quest = quest quest.initiate(self) func full_name() -> String: return given_name + " " + surname + +func get_tnl() -> int: + if job: + return job.get_tnl(level) + else: + return level * 10 diff --git a/adventurer_data.gd.uid b/scripts/adventurer_data.gd.uid similarity index 100% rename from adventurer_data.gd.uid rename to scripts/adventurer_data.gd.uid diff --git a/end_shift_confirmation.gd b/scripts/end_shift_confirmation.gd similarity index 100% rename from end_shift_confirmation.gd rename to scripts/end_shift_confirmation.gd diff --git a/end_shift_confirmation.gd.uid b/scripts/end_shift_confirmation.gd.uid similarity index 100% rename from end_shift_confirmation.gd.uid rename to scripts/end_shift_confirmation.gd.uid diff --git a/endpoint.gd b/scripts/endpoint.gd similarity index 100% rename from endpoint.gd rename to scripts/endpoint.gd diff --git a/endpoint.gd.uid b/scripts/endpoint.gd.uid similarity index 100% rename from endpoint.gd.uid rename to scripts/endpoint.gd.uid diff --git a/game_manager.gd b/scripts/game_manager.gd similarity index 83% rename from game_manager.gd rename to scripts/game_manager.gd index 3d92d25..aa927ae 100644 --- a/game_manager.gd +++ b/scripts/game_manager.gd @@ -38,13 +38,15 @@ func end_shift() -> void: window.content_scale_size = Vector2i(345,500) var wsize = window.get_size_with_decorations() window.position = Vector2i(size.x - 345, 25) - + window.transparent = true + window.transparent_bg = true + DisplayServer.window_set_flag(DisplayServer.WINDOW_FLAG_BORDERLESS, true) + DisplayServer.window_set_flag(DisplayServer.WINDOW_FLAG_TRANSPARENT, true) + Guild.hall.process_mode = Node.PROCESS_MODE_DISABLED top_menu.hide() panel.get_parent().global_position = Vector2i(5,5) window.size = Vector2i(345,500) - for quest in Guild.quests: - if quest.taken: - add_quest_progress_bar(quest) + panel.populate_quest_bars() func notice(msg : String, time : float = 1) -> void: panel.notice(msg, time) diff --git a/game_manager.gd.uid b/scripts/game_manager.gd.uid similarity index 100% rename from game_manager.gd.uid rename to scripts/game_manager.gd.uid diff --git a/generate_quest_dialog.gd b/scripts/generate_quest_dialog.gd similarity index 98% rename from generate_quest_dialog.gd rename to scripts/generate_quest_dialog.gd index f44185a..b124014 100644 --- a/generate_quest_dialog.gd +++ b/scripts/generate_quest_dialog.gd @@ -9,6 +9,7 @@ func generate_quest() -> void: quest.name = "A Test Quest" quest.location = "Nestor Woods" quest.difficulty = 1 + quest.length = 60 quest.rewards = {"exp":100,"gold":1} func update_quest_window() -> void: diff --git a/generate_quest_dialog.gd.uid b/scripts/generate_quest_dialog.gd.uid similarity index 100% rename from generate_quest_dialog.gd.uid rename to scripts/generate_quest_dialog.gd.uid diff --git a/guild.gd b/scripts/guild.gd similarity index 96% rename from guild.gd rename to scripts/guild.gd index 79b5d3b..6b1cc1d 100644 --- a/guild.gd +++ b/scripts/guild.gd @@ -25,8 +25,12 @@ var quests : Dictionary[Quest,bool] = {} var hall : Guildhall = null var visitor_spawner : VisitorSpawner = null var gold : int +var level : int +var reputation : int +var rep_tnl : int var vault : Array = [] +signal changed() func _ready() -> void: @@ -54,6 +58,7 @@ func _ready() -> void: func register_guild_member(member : AdventurerData, first : bool = false) -> void: members.append(member) Game.top_menu.add_member(member) + changed.emit() if first: Game.notice("%s has joined the guild!" % member.name, 5) @@ -90,6 +95,7 @@ func spawn_visitor(pos : Vector2) -> void: data.surname = surnames.pick_random() data.name = data.given_name + " " + data.surname data.job = jobs["Farmer"] + data.generate() sprite.data = data hall.add_sprite(sprite) sprite.global_position = pos diff --git a/guild.gd.uid b/scripts/guild.gd.uid similarity index 100% rename from guild.gd.uid rename to scripts/guild.gd.uid diff --git a/guild_employee.gd b/scripts/guild_employee.gd similarity index 100% rename from guild_employee.gd rename to scripts/guild_employee.gd diff --git a/guild_employee.gd.uid b/scripts/guild_employee.gd.uid similarity index 100% rename from guild_employee.gd.uid rename to scripts/guild_employee.gd.uid diff --git a/scripts/guild_information_window.gd b/scripts/guild_information_window.gd new file mode 100644 index 0000000..98655ba --- /dev/null +++ b/scripts/guild_information_window.gd @@ -0,0 +1,26 @@ +extends Window + +@onready var levelLabel : Label = %LevelLabel +@onready var reputationLabel : Label = %ReputationLabel +@onready var membersLabel : Label = %MembersLabel +@onready var goldLabel : Label = %GoldLabel + +func _ready() -> void: + refresh() + Guild.changed.connect(_on_guild_change) + +func refresh() -> void: + levelLabel.text = str(Guild.level) + reputationLabel.text = "%d (%d to next level)" % [Guild.reputation, Guild.rep_tnl] + membersLabel.text = str(len(Guild.members)) + goldLabel.text = str(Guild.gold) + +func _on_guild_change() -> void: + refresh() + +func _on_close_requested() -> void: + queue_free() + + +func _on_focus_exited() -> void: + queue_free() diff --git a/scripts/guild_information_window.gd.uid b/scripts/guild_information_window.gd.uid new file mode 100644 index 0000000..1249d9a --- /dev/null +++ b/scripts/guild_information_window.gd.uid @@ -0,0 +1 @@ +uid://dj5e81dgkpww8 diff --git a/guild_queue.gd b/scripts/guild_queue.gd similarity index 100% rename from guild_queue.gd rename to scripts/guild_queue.gd diff --git a/guild_queue.gd.uid b/scripts/guild_queue.gd.uid similarity index 100% rename from guild_queue.gd.uid rename to scripts/guild_queue.gd.uid diff --git a/guildhall.gd b/scripts/guildhall.gd similarity index 100% rename from guildhall.gd rename to scripts/guildhall.gd diff --git a/guildhall.gd.uid b/scripts/guildhall.gd.uid similarity index 100% rename from guildhall.gd.uid rename to scripts/guildhall.gd.uid diff --git a/hero_icon.gd b/scripts/hero_icon.gd similarity index 100% rename from hero_icon.gd rename to scripts/hero_icon.gd diff --git a/hero_icon.gd.uid b/scripts/hero_icon.gd.uid similarity index 100% rename from hero_icon.gd.uid rename to scripts/hero_icon.gd.uid diff --git a/interactable.gd b/scripts/interactable.gd similarity index 100% rename from interactable.gd rename to scripts/interactable.gd diff --git a/interactable.gd.uid b/scripts/interactable.gd.uid similarity index 100% rename from interactable.gd.uid rename to scripts/interactable.gd.uid diff --git a/main_panel.gd b/scripts/main_panel.gd similarity index 87% rename from main_panel.gd rename to scripts/main_panel.gd index 77cce54..c2f31b2 100644 --- a/main_panel.gd +++ b/scripts/main_panel.gd @@ -26,7 +26,7 @@ func add_quest_progress_bar(quest : Quest) -> void: func switch_panel(active : bool) -> void: %OpenShift.visible = active %WorkingShift.visible = !active - %Timer.wait_time = 1500 if active else 300 + %Timer.start(300 if active else 1500) func _on_show_quests_pressed() -> void: %QuestProgressList.visible = !%QuestProgressList.visible @@ -44,6 +44,15 @@ func connect_visitor_spawner(spawner : VisitorSpawner) -> void: func update_visitor_count(current : int, total : int) -> void: %OpenList/VisitorsLabel.text = "Visitors: %d/%d" % [current, total] +func populate_quest_bars() -> void: + + var count : int = 0 + for quest in Guild.quests: + if quest.is_taken(): + count+=1 + add_quest_progress_bar(quest) + %ShowQuestsButton.disabled = (count == 0) + func notice(msg : String, time : float) -> void: var ntc : NoticePanel = notice_template.instantiate() %Notices.add_child(ntc) diff --git a/main_panel.gd.uid b/scripts/main_panel.gd.uid similarity index 100% rename from main_panel.gd.uid rename to scripts/main_panel.gd.uid diff --git a/member_panel_entry.gd b/scripts/member_panel_entry.gd similarity index 100% rename from member_panel_entry.gd rename to scripts/member_panel_entry.gd diff --git a/member_panel_entry.gd.uid b/scripts/member_panel_entry.gd.uid similarity index 100% rename from member_panel_entry.gd.uid rename to scripts/member_panel_entry.gd.uid diff --git a/notice_panel.gd b/scripts/notice_panel.gd similarity index 100% rename from notice_panel.gd rename to scripts/notice_panel.gd diff --git a/notice_panel.gd.uid b/scripts/notice_panel.gd.uid similarity index 100% rename from notice_panel.gd.uid rename to scripts/notice_panel.gd.uid diff --git a/npc.gd b/scripts/npc.gd similarity index 100% rename from npc.gd rename to scripts/npc.gd diff --git a/npc.gd.uid b/scripts/npc.gd.uid similarity index 100% rename from npc.gd.uid rename to scripts/npc.gd.uid diff --git a/npc_profile_window.gd b/scripts/npc_profile_window.gd similarity index 95% rename from npc_profile_window.gd rename to scripts/npc_profile_window.gd index 70ade03..469f282 100644 --- a/npc_profile_window.gd +++ b/scripts/npc_profile_window.gd @@ -23,8 +23,7 @@ func setup(adv : AdventurerData) -> void: else: jobLabel.text = "ERROR" levelLabel.text = str(data.level) - #TODO: Implement Experience - expLabel.text = "Exp: 0/10" + expLabel.text = "Exp: %d/%d" % [data.exp, data.get_tnl()] lifeLabel.text = "Life: " + str(data.life) + "/" + str(data.max_life) energyLabel.text = "Energy: " + str(data.energy) + "/" + str(data.max_energy) strLabel.text = "STR: " + str(data.stats.STR) diff --git a/npc_profile_window.gd.uid b/scripts/npc_profile_window.gd.uid similarity index 100% rename from npc_profile_window.gd.uid rename to scripts/npc_profile_window.gd.uid diff --git a/person.gd b/scripts/person.gd similarity index 100% rename from person.gd rename to scripts/person.gd diff --git a/person.gd.uid b/scripts/person.gd.uid similarity index 100% rename from person.gd.uid rename to scripts/person.gd.uid diff --git a/player.gd b/scripts/player.gd similarity index 100% rename from player.gd rename to scripts/player.gd diff --git a/player.gd.uid b/scripts/player.gd.uid similarity index 100% rename from player.gd.uid rename to scripts/player.gd.uid diff --git a/profile_popup.gd b/scripts/profile_popup.gd similarity index 100% rename from profile_popup.gd rename to scripts/profile_popup.gd diff --git a/profile_popup.gd.uid b/scripts/profile_popup.gd.uid similarity index 100% rename from profile_popup.gd.uid rename to scripts/profile_popup.gd.uid diff --git a/profile_window.gd b/scripts/profile_window.gd similarity index 100% rename from profile_window.gd rename to scripts/profile_window.gd diff --git a/profile_window.gd.uid b/scripts/profile_window.gd.uid similarity index 100% rename from profile_window.gd.uid rename to scripts/profile_window.gd.uid diff --git a/quest.gd b/scripts/quest.gd similarity index 56% rename from quest.gd rename to scripts/quest.gd index e781ec2..a302708 100644 --- a/quest.gd +++ b/scripts/quest.gd @@ -5,7 +5,8 @@ enum Status{ OPEN, TAKEN, IN_PROGRESS, - COMPLETED + COMPLETED, + FAILED } @@ -15,6 +16,7 @@ var difficulty : int = 1 var location : String var steps : int = 1 var rewards : Dictionary +var length : float = 10 var step_outcomes : Array = [ {"pass":"I succeeded!", "fail":"I failed!"} ] @@ -24,22 +26,46 @@ var step_outcomes : Array = [ var progress : float = 0 var current_step : int = 0 var taken : bool = false +var status : Status = Status.OPEN var questor : AdventurerData = null signal status_changed(status : Status) func _init() -> void: - print("TEST!") + pass func initiate(member : AdventurerData) -> void: questor = member - taken = true + status = Status.TAKEN status_changed.emit(Status.TAKEN) +func fail() -> void: + status = Status.FAILED + status_changed.emit(Status.FAILED) + +func complete() -> void: + status = Status.COMPLETED + status_changed.emit(Status.COMPLETED) + for reward in rewards.keys(): + if reward == "gold": + questor.gain_gold(rewards[reward]) + elif reward == "exp": + questor.gain_exp(rewards[reward]) + #TODO: Implement other reward types + #elif rewards[reward] is Item: + # questor.gain_item() + #else it's a guild item they'll bring back for us + Game.notice("%s completed the quest '%s'!" % [questor.full_name(), name]) + #TODO: Put in quest requirements func is_eligible(member : AdventurerData) -> bool: return !taken +func is_taken() -> bool: + return status == Status.TAKEN + + + func difficulty_name() -> String: match(difficulty): 0: return "None" diff --git a/quest.gd.uid b/scripts/quest.gd.uid similarity index 100% rename from quest.gd.uid rename to scripts/quest.gd.uid diff --git a/quest_board.gd b/scripts/quest_board.gd similarity index 100% rename from quest_board.gd rename to scripts/quest_board.gd diff --git a/quest_board.gd.uid b/scripts/quest_board.gd.uid similarity index 100% rename from quest_board.gd.uid rename to scripts/quest_board.gd.uid diff --git a/quest_board_entry.gd b/scripts/quest_board_entry.gd similarity index 100% rename from quest_board_entry.gd rename to scripts/quest_board_entry.gd diff --git a/quest_board_entry.gd.uid b/scripts/quest_board_entry.gd.uid similarity index 100% rename from quest_board_entry.gd.uid rename to scripts/quest_board_entry.gd.uid diff --git a/quest_board_window.gd b/scripts/quest_board_window.gd similarity index 96% rename from quest_board_window.gd rename to scripts/quest_board_window.gd index 4f8b4ce..16826b0 100644 --- a/quest_board_window.gd +++ b/scripts/quest_board_window.gd @@ -9,7 +9,7 @@ func populate(quests : Array[Quest]) -> void: for entry : QuestBoardEntry in entry_list.get_children(): entry.queue_free() for quest in quests: - if !quest.taken: + if !quest.is_taken(): add_entry(quest) func add_entry(quest : Quest) -> void: diff --git a/quest_board_window.gd.uid b/scripts/quest_board_window.gd.uid similarity index 100% rename from quest_board_window.gd.uid rename to scripts/quest_board_window.gd.uid diff --git a/quest_log.gd b/scripts/quest_log.gd similarity index 100% rename from quest_log.gd rename to scripts/quest_log.gd diff --git a/quest_log.gd.uid b/scripts/quest_log.gd.uid similarity index 100% rename from quest_log.gd.uid rename to scripts/quest_log.gd.uid diff --git a/quest_log_entry.gd b/scripts/quest_log_entry.gd similarity index 100% rename from quest_log_entry.gd rename to scripts/quest_log_entry.gd diff --git a/quest_log_entry.gd.uid b/scripts/quest_log_entry.gd.uid similarity index 100% rename from quest_log_entry.gd.uid rename to scripts/quest_log_entry.gd.uid diff --git a/quest_panel_entry.gd b/scripts/quest_panel_entry.gd similarity index 100% rename from quest_panel_entry.gd rename to scripts/quest_panel_entry.gd diff --git a/quest_panel_entry.gd.uid b/scripts/quest_panel_entry.gd.uid similarity index 100% rename from quest_panel_entry.gd.uid rename to scripts/quest_panel_entry.gd.uid diff --git a/quest_progress_bar.gd b/scripts/quest_progress_bar.gd similarity index 80% rename from quest_progress_bar.gd rename to scripts/quest_progress_bar.gd index 9d9712b..82bd899 100644 --- a/quest_progress_bar.gd +++ b/scripts/quest_progress_bar.gd @@ -8,7 +8,9 @@ var waypoints : Array = [] @onready var startpoint : Endpoint = %Start @onready var endpoint : Endpoint = %End @onready var bar : TextureProgressBar = $ProgressBar +@onready var path : Control = %Path var quest : Quest = null +var time_elapsed : float = 0 #signal value_changed(value : float) #var min_value #var max_value @@ -19,7 +21,7 @@ var quest : Quest = null #var rounded #var allow_greater func _ready() -> void: - length = size.x + length = path.size.x if quest: #Generate the waypoints generate_waypoints() @@ -27,6 +29,11 @@ func _ready() -> void: bar.value = quest.progress hero.position = hero_offset + Vector2(length * bar.value / bar.max_value, 0) +func _process(delta: float) -> void: + if time_elapsed < quest.length: + time_elapsed += delta + progress_quest() + func generate_waypoints(): if len(waypoints) > 0: for wp in waypoints: @@ -54,9 +61,11 @@ func update_waypoints(value : float) -> void: func setup(quest : Quest) -> void: self.quest = quest - + time_elapsed = 0 - -func _on_value_changed(value : float) -> void: +func progress_quest() -> void: + bar.value = clampf(time_elapsed / quest.length, 0, bar.max_value) hero.position = hero_offset + Vector2(length * bar.value / bar.max_value, 0) - update_waypoints(value) + if time_elapsed >= quest.length: + quest.complete() + update_waypoints(bar.value) diff --git a/quest_progress_bar.gd.uid b/scripts/quest_progress_bar.gd.uid similarity index 100% rename from quest_progress_bar.gd.uid rename to scripts/quest_progress_bar.gd.uid diff --git a/quest_window.gd b/scripts/quest_window.gd similarity index 95% rename from quest_window.gd rename to scripts/quest_window.gd index 8d2ef28..da545ba 100644 --- a/quest_window.gd +++ b/scripts/quest_window.gd @@ -12,7 +12,7 @@ func setup(qst : Quest, board : bool) -> void: if !board: %AcceptButton.hide() - if quest.taken: + if quest.is_taken(): %StatusField.text = "Taken" %AcceptButton.disabled = true else: @@ -23,7 +23,7 @@ func setup(qst : Quest, board : bool) -> void: func _on_quest_status_changed(status : Quest.Status) -> void: if status == Quest.Status.COMPLETED: queue_free() - if quest.taken: + if quest.is_taken(): %StatusField.text = "Taken" %AcceptButton.disabled = true else: diff --git a/quest_window.gd.uid b/scripts/quest_window.gd.uid similarity index 100% rename from quest_window.gd.uid rename to scripts/quest_window.gd.uid diff --git a/speech_bubble.gd b/scripts/speech_bubble.gd similarity index 100% rename from speech_bubble.gd rename to scripts/speech_bubble.gd diff --git a/speech_bubble.gd.uid b/scripts/speech_bubble.gd.uid similarity index 100% rename from speech_bubble.gd.uid rename to scripts/speech_bubble.gd.uid diff --git a/scripts/start_menu.gd b/scripts/start_menu.gd new file mode 100644 index 0000000..c958fcd --- /dev/null +++ b/scripts/start_menu.gd @@ -0,0 +1,5 @@ +extends Control + + +func _on_button_pressed() -> void: + get_tree().change_scene_to_file() diff --git a/scripts/start_menu.gd.uid b/scripts/start_menu.gd.uid new file mode 100644 index 0000000..82947de --- /dev/null +++ b/scripts/start_menu.gd.uid @@ -0,0 +1 @@ +uid://dco3n63irwntu diff --git a/test_limbo.gd b/scripts/test_limbo.gd similarity index 100% rename from test_limbo.gd rename to scripts/test_limbo.gd diff --git a/test_limbo.gd.uid b/scripts/test_limbo.gd.uid similarity index 100% rename from test_limbo.gd.uid rename to scripts/test_limbo.gd.uid diff --git a/test_scene.gd b/scripts/test_scene.gd similarity index 100% rename from test_scene.gd rename to scripts/test_scene.gd diff --git a/test_scene.gd.uid b/scripts/test_scene.gd.uid similarity index 100% rename from test_scene.gd.uid rename to scripts/test_scene.gd.uid diff --git a/timer_label.gd b/scripts/timer_label.gd similarity index 100% rename from timer_label.gd rename to scripts/timer_label.gd diff --git a/timer_label.gd.uid b/scripts/timer_label.gd.uid similarity index 100% rename from timer_label.gd.uid rename to scripts/timer_label.gd.uid diff --git a/top_menu.gd b/scripts/top_menu.gd similarity index 84% rename from top_menu.gd rename to scripts/top_menu.gd index ca3e7ea..561272a 100644 --- a/top_menu.gd +++ b/scripts/top_menu.gd @@ -2,6 +2,7 @@ class_name TopMenu extends Control const member_panel_entry_template = preload("res://member_panel_entry.tscn") const quest_panel_entry_template = preload("res://quest_panel_entry.tscn") +const guild_info_window_template = preload("res://guild_info_window.tscn") @onready var members_list = %MembersList @onready var members = %Members @@ -41,3 +42,10 @@ func add_quest(quest : Quest) -> void: func _on_quest_generate_button_pressed() -> void: %GenerateQuestDialog.show() + + +func _on_guild_button_pressed() -> void: + var wnd = guild_info_window_template.instantiate() + add_child(wnd) + wnd.popup_centered() + wnd.grab_focus() diff --git a/top_menu.gd.uid b/scripts/top_menu.gd.uid similarity index 100% rename from top_menu.gd.uid rename to scripts/top_menu.gd.uid diff --git a/update_bubble.gd b/scripts/update_bubble.gd similarity index 100% rename from update_bubble.gd rename to scripts/update_bubble.gd diff --git a/update_bubble.gd.uid b/scripts/update_bubble.gd.uid similarity index 100% rename from update_bubble.gd.uid rename to scripts/update_bubble.gd.uid diff --git a/visitor_spawner.gd b/scripts/visitor_spawner.gd similarity index 100% rename from visitor_spawner.gd rename to scripts/visitor_spawner.gd diff --git a/visitor_spawner.gd.uid b/scripts/visitor_spawner.gd.uid similarity index 100% rename from visitor_spawner.gd.uid rename to scripts/visitor_spawner.gd.uid diff --git a/waypoint.gd b/scripts/waypoint.gd similarity index 100% rename from waypoint.gd rename to scripts/waypoint.gd diff --git a/waypoint.gd.uid b/scripts/waypoint.gd.uid similarity index 100% rename from waypoint.gd.uid rename to scripts/waypoint.gd.uid diff --git a/styles/open_shift_panel.tres b/styles/open_shift_panel.tres index aa8b89a..cc67c05 100644 --- a/styles/open_shift_panel.tres +++ b/styles/open_shift_panel.tres @@ -1,6 +1,6 @@ [gd_resource type="StyleBoxTexture" load_steps=2 format=3 uid="uid://by1jk8r2avjp4"] -[ext_resource type="Texture2D" uid="uid://bgf0ow1t18yqf" path="res://open_shift_panel.png" id="1_vv6wn"] +[ext_resource type="Texture2D" uid="uid://bgf0ow1t18yqf" path="res://graphics/open_shift_panel.png" id="1_vv6wn"] [resource] texture = ExtResource("1_vv6wn") diff --git a/styles/profile_panel.tres b/styles/profile_panel.tres index cac58a3..e6883ed 100644 --- a/styles/profile_panel.tres +++ b/styles/profile_panel.tres @@ -1,6 +1,6 @@ [gd_resource type="StyleBoxTexture" load_steps=2 format=3 uid="uid://cra63if6tmpgy"] -[ext_resource type="Texture2D" uid="uid://bgw38ld52wu05" path="res://profile-popup.png" id="1_8ck5k"] +[ext_resource type="Texture2D" uid="uid://bgw38ld52wu05" path="res://graphics/profile-popup.png" id="1_8ck5k"] [resource] texture = ExtResource("1_8ck5k") diff --git a/styles/working_shift_panel.tres b/styles/working_shift_panel.tres index c527cf6..7d763e9 100644 --- a/styles/working_shift_panel.tres +++ b/styles/working_shift_panel.tres @@ -1,6 +1,6 @@ [gd_resource type="StyleBoxTexture" load_steps=2 format=3 uid="uid://b7vjpwageyi6m"] -[ext_resource type="Texture2D" uid="uid://uhovyed0br4e" path="res://working_shift_panel.png" id="1_tfsob"] +[ext_resource type="Texture2D" uid="uid://uhovyed0br4e" path="res://graphics/working_shift_panel.png" id="1_tfsob"] [resource] texture = ExtResource("1_tfsob") diff --git a/end_shift_confirmation.tscn b/templates/end_shift_confirmation.tscn similarity index 84% rename from end_shift_confirmation.tscn rename to templates/end_shift_confirmation.tscn index b72192f..2213f52 100644 --- a/end_shift_confirmation.tscn +++ b/templates/end_shift_confirmation.tscn @@ -1,13 +1,13 @@ [gd_scene load_steps=2 format=3 uid="uid://st16n70uj5sc"] -[ext_resource type="Script" uid="uid://dopd01h4q2uu8" path="res://end_shift_confirmation.gd" id="1_u27s3"] +[ext_resource type="Script" uid="uid://dopd01h4q2uu8" path="res://scripts/end_shift_confirmation.gd" id="1_igu7b"] [node name="End Shift Confirmation" type="ConfirmationDialog"] oversampling_override = 1.0 size = Vector2i(319, 100) ok_button_text = "Yes" dialog_text = "Are you sure you want to end the shift?" -script = ExtResource("1_u27s3") +script = ExtResource("1_igu7b") [connection signal="canceled" from="." to="." method="_on_canceled"] [connection signal="confirmed" from="." to="." method="_on_confirmed"] diff --git a/templates/guild_info_window.tscn b/templates/guild_info_window.tscn new file mode 100644 index 0000000..d2db9f7 --- /dev/null +++ b/templates/guild_info_window.tscn @@ -0,0 +1,52 @@ +[gd_scene load_steps=2 format=3 uid="uid://dy73xoprgyvjj"] + +[ext_resource type="Script" uid="uid://dj5e81dgkpww8" path="res://scripts/guild_information_window.gd" id="1_gudhb"] + +[node name="Guild Info Window" type="Window"] +oversampling_override = 1.0 +title = "Guild Information" +size = Vector2i(300, 300) +wrap_controls = true +popup_window = true +script = ExtResource("1_gudhb") + +[node name="VBoxContainer" type="VBoxContainer" parent="."] +custom_minimum_size = Vector2(300, 300) +anchors_preset = -1 +offset_right = 40.0 +offset_bottom = 40.0 + +[node name="Level" type="Label" parent="VBoxContainer"] +layout_mode = 2 +text = "Level" + +[node name="LevelLabel" type="Label" parent="VBoxContainer"] +unique_name_in_owner = true +layout_mode = 2 + +[node name="Reputation" type="Label" parent="VBoxContainer"] +layout_mode = 2 +text = "Reputation" + +[node name="ReputationLabel" type="Label" parent="VBoxContainer"] +unique_name_in_owner = true +layout_mode = 2 + +[node name="Members" type="Label" parent="VBoxContainer"] +layout_mode = 2 +text = "Members" + +[node name="MembersLabel" type="Label" parent="VBoxContainer"] +unique_name_in_owner = true +layout_mode = 2 + +[node name="Gold" type="Label" parent="VBoxContainer"] +layout_mode = 2 +text = "Gold" + +[node name="GoldLabel" type="Label" parent="VBoxContainer"] +unique_name_in_owner = true +layout_mode = 2 + +[connection signal="close_requested" from="." to="." method="_on_close_requested"] +[connection signal="focus_exited" from="." to="." method="_on_focus_exited"] diff --git a/guildhall.tscn b/templates/guildhall.tscn similarity index 96% rename from guildhall.tscn rename to templates/guildhall.tscn index 4e809b7..9b84204 100644 --- a/guildhall.tscn +++ b/templates/guildhall.tscn @@ -1,12 +1,12 @@ [gd_scene load_steps=11 format=4 uid="uid://cd08dp16bixfv"] -[ext_resource type="Script" uid="uid://ccorfvcfa84gf" path="res://guildhall.gd" id="1_lsinl"] +[ext_resource type="Script" uid="uid://ccorfvcfa84gf" path="res://scripts/guildhall.gd" id="1_lsinl"] [ext_resource type="TileSet" uid="uid://6im0g3eg6sr4" path="res://test_tiles.tres" id="1_qel1r"] -[ext_resource type="Script" uid="uid://dolqtw1ye4ras" path="res://player.gd" id="2_5n4iw"] -[ext_resource type="Texture2D" uid="uid://83ayd5rg7x8l" path="res://reception-table.png" id="3_13vc8"] -[ext_resource type="Texture2D" uid="uid://cg6ptmynq0aq0" path="res://basic-sprite.png" id="4_l3mu1"] -[ext_resource type="PackedScene" uid="uid://cf6nnjyp8kv78" path="res://receptionist.tscn" id="5_l3mu1"] -[ext_resource type="PackedScene" uid="uid://b3mksvn2jf7e0" path="res://quest_board.tscn" id="7_hph4e"] +[ext_resource type="Script" uid="uid://dolqtw1ye4ras" path="res://scripts/player.gd" id="2_5n4iw"] +[ext_resource type="Texture2D" uid="uid://83ayd5rg7x8l" path="res://graphics/reception-table.png" id="3_13vc8"] +[ext_resource type="Texture2D" uid="uid://cg6ptmynq0aq0" path="res://graphics/basic-sprite.png" id="4_l3mu1"] +[ext_resource type="PackedScene" uid="uid://cf6nnjyp8kv78" path="res://templates/receptionist.tscn" id="5_l3mu1"] +[ext_resource type="PackedScene" uid="uid://b3mksvn2jf7e0" path="res://templates/quest_board.tscn" id="7_hph4e"] [sub_resource type="NavigationPolygon" id="NavigationPolygon_w7eqs"] vertices = PackedVector2Array(591.3203, 170.54688, 591.3125, 170.53906, 614.1094, 159.47656, 694.9531, 80.92969, 694.9375, 80.921875, 702.6406, 67, 1053, 67, 1053, 605, 665.27344, 134.64063, 35, 605, 578.35156, 176.85938, 512.60156, 177.99219, 445.89844, 179.14063, 35, 35, 432.14063, 172.14844, 432.14063, 172.14063, 406.6172, 159.21875, 368.17188, 139.71875, 368.17188, 139.71094, 357.59375, 134.42969, 326.3125, 77.5625, 324.82813, 35, 325.8828, 65.21875) diff --git a/main_panel.tscn b/templates/main_panel.tscn similarity index 93% rename from main_panel.tscn rename to templates/main_panel.tscn index 95cc893..f1d6df9 100644 --- a/main_panel.tscn +++ b/templates/main_panel.tscn @@ -1,7 +1,7 @@ [gd_scene load_steps=6 format=3 uid="uid://c8ofw6na082gv"] -[ext_resource type="Script" uid="uid://dhw85vqlvw33s" path="res://main_panel.gd" id="1_pdekv"] -[ext_resource type="Script" uid="uid://4jrp67ckp7vt" path="res://timer_label.gd" id="2_5rs2c"] +[ext_resource type="Script" uid="uid://dhw85vqlvw33s" path="res://scripts/main_panel.gd" id="1_pdekv"] +[ext_resource type="Script" uid="uid://4jrp67ckp7vt" path="res://scripts/timer_label.gd" id="2_5rs2c"] [ext_resource type="StyleBox" uid="uid://by1jk8r2avjp4" path="res://styles/open_shift_panel.tres" id="2_b7y1i"] [ext_resource type="StyleBox" uid="uid://b7vjpwageyi6m" path="res://styles/working_shift_panel.tres" id="4_b7y1i"] @@ -100,7 +100,8 @@ theme_override_font_sizes/font_size = 28 text = "000:00:00.00" script = ExtResource("2_5rs2c") -[node name="Button" type="Button" parent="VBoxContainer/WorkingShift/MarginContainer/WorkingList"] +[node name="ShowQuestsButton" type="Button" parent="VBoxContainer/WorkingShift/MarginContainer/WorkingList"] +unique_name_in_owner = true layout_mode = 2 theme_override_styles/normal = SubResource("StyleBoxFlat_q6wja") text = "Show Quests" @@ -117,7 +118,7 @@ horizontal_scroll_mode = 0 unique_name_in_owner = true custom_minimum_size = Vector2(300, 100) layout_mode = 2 -alignment = 1 +size_flags_horizontal = 3 [node name="Notices" type="VBoxContainer" parent="VBoxContainer"] unique_name_in_owner = true @@ -126,4 +127,4 @@ layout_mode = 2 [connection signal="time_changed" from="." to="VBoxContainer/OpenShift/Margin/OpenList/TimerLabel" method="_on_time_changed"] [connection signal="time_changed" from="." to="VBoxContainer/WorkingShift/MarginContainer/WorkingList/TimerLabel" method="_on_time_changed"] [connection signal="pressed" from="VBoxContainer/OpenShift/Margin/OpenList/Button" to="." method="_on_end_shift_pressed"] -[connection signal="pressed" from="VBoxContainer/WorkingShift/MarginContainer/WorkingList/Button" to="." method="_on_show_quests_pressed"] +[connection signal="pressed" from="VBoxContainer/WorkingShift/MarginContainer/WorkingList/ShowQuestsButton" to="." method="_on_show_quests_pressed"] diff --git a/member_panel_entry.tscn b/templates/member_panel_entry.tscn similarity index 92% rename from member_panel_entry.tscn rename to templates/member_panel_entry.tscn index 4ec7a3c..a00c7aa 100644 --- a/member_panel_entry.tscn +++ b/templates/member_panel_entry.tscn @@ -1,7 +1,7 @@ [gd_scene load_steps=3 format=3 uid="uid://dp5d3hchmck2k"] -[ext_resource type="Texture2D" uid="uid://biir7hjo6b4nl" path="res://adventurer-profile-pic.png" id="1_fbpt3"] -[ext_resource type="Script" uid="uid://b5v1r3u5gbpfw" path="res://member_panel_entry.gd" id="1_vig4g"] +[ext_resource type="Texture2D" uid="uid://biir7hjo6b4nl" path="res://graphics/adventurer-profile-pic.png" id="1_fbpt3"] +[ext_resource type="Script" uid="uid://b5v1r3u5gbpfw" path="res://scripts/member_panel_entry.gd" id="1_vig4g"] [node name="MemberPanelEntry" type="PanelContainer"] script = ExtResource("1_vig4g") diff --git a/templates/name_entry.tscn b/templates/name_entry.tscn new file mode 100644 index 0000000..7fa2a72 --- /dev/null +++ b/templates/name_entry.tscn @@ -0,0 +1,451 @@ +[gd_scene format=3 uid="uid://b58yfdgudaxl3"] + +[node name="Control" type="Control"] +layout_mode = 3 +offset_right = 40.0 +offset_bottom = 40.0 + +[node name="Panel" type="Panel" parent="."] +layout_mode = 1 +anchors_preset = -1 +offset_left = 489.0 +offset_top = 592.0 +offset_right = 1440.0 +offset_bottom = 940.0 + +[node name="HBoxContainer" type="HBoxContainer" parent="Panel"] +layout_mode = 0 +offset_right = 40.0 +offset_bottom = 40.0 + +[node name="GridContainer" type="GridContainer" parent="Panel/HBoxContainer"] +layout_mode = 2 +columns = 6 + +[node name="Button" type="Button" parent="Panel/HBoxContainer/GridContainer"] +custom_minimum_size = Vector2(64, 64) +layout_mode = 2 +theme_override_font_sizes/font_size = 36 +text = "A" + +[node name="Button2" type="Button" parent="Panel/HBoxContainer/GridContainer"] +custom_minimum_size = Vector2(64, 64) +layout_mode = 2 +theme_override_font_sizes/font_size = 36 +text = "B" + +[node name="Button3" type="Button" parent="Panel/HBoxContainer/GridContainer"] +custom_minimum_size = Vector2(64, 64) +layout_mode = 2 +theme_override_font_sizes/font_size = 36 +text = "C" + +[node name="Button4" type="Button" parent="Panel/HBoxContainer/GridContainer"] +custom_minimum_size = Vector2(64, 64) +layout_mode = 2 +theme_override_font_sizes/font_size = 36 +text = "D" + +[node name="Button5" type="Button" parent="Panel/HBoxContainer/GridContainer"] +custom_minimum_size = Vector2(64, 64) +layout_mode = 2 +theme_override_font_sizes/font_size = 36 +text = "E" + +[node name="Button6" type="Button" parent="Panel/HBoxContainer/GridContainer"] +custom_minimum_size = Vector2(64, 64) +layout_mode = 2 +theme_override_font_sizes/font_size = 36 +text = "F" + +[node name="Button7" type="Button" parent="Panel/HBoxContainer/GridContainer"] +custom_minimum_size = Vector2(64, 64) +layout_mode = 2 +theme_override_font_sizes/font_size = 36 +text = "G" + +[node name="Button8" type="Button" parent="Panel/HBoxContainer/GridContainer"] +custom_minimum_size = Vector2(64, 64) +layout_mode = 2 +theme_override_font_sizes/font_size = 36 +text = "H" + +[node name="Button9" type="Button" parent="Panel/HBoxContainer/GridContainer"] +custom_minimum_size = Vector2(64, 64) +layout_mode = 2 +theme_override_font_sizes/font_size = 36 +text = "I" + +[node name="Button10" type="Button" parent="Panel/HBoxContainer/GridContainer"] +custom_minimum_size = Vector2(64, 64) +layout_mode = 2 +theme_override_font_sizes/font_size = 36 +text = "J" + +[node name="Button11" type="Button" parent="Panel/HBoxContainer/GridContainer"] +custom_minimum_size = Vector2(64, 64) +layout_mode = 2 +theme_override_font_sizes/font_size = 36 +text = "K" + +[node name="Button12" type="Button" parent="Panel/HBoxContainer/GridContainer"] +custom_minimum_size = Vector2(64, 64) +layout_mode = 2 +theme_override_font_sizes/font_size = 36 +text = "L +" + +[node name="Button13" type="Button" parent="Panel/HBoxContainer/GridContainer"] +custom_minimum_size = Vector2(64, 64) +layout_mode = 2 +theme_override_font_sizes/font_size = 36 +text = "M" + +[node name="Button14" type="Button" parent="Panel/HBoxContainer/GridContainer"] +custom_minimum_size = Vector2(64, 64) +layout_mode = 2 +theme_override_font_sizes/font_size = 36 +text = "N" + +[node name="Button15" type="Button" parent="Panel/HBoxContainer/GridContainer"] +custom_minimum_size = Vector2(64, 64) +layout_mode = 2 +theme_override_font_sizes/font_size = 36 +text = "O" + +[node name="Button16" type="Button" parent="Panel/HBoxContainer/GridContainer"] +custom_minimum_size = Vector2(64, 64) +layout_mode = 2 +theme_override_font_sizes/font_size = 36 +text = "P" + +[node name="Button17" type="Button" parent="Panel/HBoxContainer/GridContainer"] +custom_minimum_size = Vector2(64, 64) +layout_mode = 2 +theme_override_font_sizes/font_size = 36 +text = "Q" + +[node name="Button18" type="Button" parent="Panel/HBoxContainer/GridContainer"] +custom_minimum_size = Vector2(64, 64) +layout_mode = 2 +theme_override_font_sizes/font_size = 36 +text = "R" + +[node name="Button19" type="Button" parent="Panel/HBoxContainer/GridContainer"] +custom_minimum_size = Vector2(64, 64) +layout_mode = 2 +theme_override_font_sizes/font_size = 36 +text = "S" + +[node name="Button20" type="Button" parent="Panel/HBoxContainer/GridContainer"] +custom_minimum_size = Vector2(64, 64) +layout_mode = 2 +theme_override_font_sizes/font_size = 36 +text = "T" + +[node name="Button21" type="Button" parent="Panel/HBoxContainer/GridContainer"] +custom_minimum_size = Vector2(64, 64) +layout_mode = 2 +theme_override_font_sizes/font_size = 36 +text = "U" + +[node name="Button22" type="Button" parent="Panel/HBoxContainer/GridContainer"] +custom_minimum_size = Vector2(64, 64) +layout_mode = 2 +theme_override_font_sizes/font_size = 36 +text = "V" + +[node name="Button23" type="Button" parent="Panel/HBoxContainer/GridContainer"] +custom_minimum_size = Vector2(64, 64) +layout_mode = 2 +theme_override_font_sizes/font_size = 36 +text = "W" + +[node name="Button24" type="Button" parent="Panel/HBoxContainer/GridContainer"] +custom_minimum_size = Vector2(64, 64) +layout_mode = 2 +theme_override_font_sizes/font_size = 36 +text = "X" + +[node name="Button25" type="Button" parent="Panel/HBoxContainer/GridContainer"] +custom_minimum_size = Vector2(64, 64) +layout_mode = 2 +theme_override_font_sizes/font_size = 36 +text = "Y" + +[node name="Button26" type="Button" parent="Panel/HBoxContainer/GridContainer"] +custom_minimum_size = Vector2(64, 64) +layout_mode = 2 +theme_override_font_sizes/font_size = 36 +text = "Z" + +[node name="Button27" type="Button" parent="Panel/HBoxContainer/GridContainer"] +custom_minimum_size = Vector2(64, 64) +layout_mode = 2 +theme_override_font_sizes/font_size = 36 +text = "_" + +[node name="Button28" type="Button" parent="Panel/HBoxContainer/GridContainer"] +custom_minimum_size = Vector2(64, 64) +layout_mode = 2 +theme_override_font_sizes/font_size = 36 +text = "-" + +[node name="Button29" type="Button" parent="Panel/HBoxContainer/GridContainer"] +custom_minimum_size = Vector2(64, 64) +layout_mode = 2 +theme_override_font_sizes/font_size = 36 +text = "'" + +[node name="Button30" type="Button" parent="Panel/HBoxContainer/GridContainer"] +custom_minimum_size = Vector2(64, 64) +layout_mode = 2 +theme_override_font_sizes/font_size = 36 +text = "\"" + +[node name="GridContainer2" type="GridContainer" parent="Panel/HBoxContainer"] +layout_mode = 2 +columns = 6 + +[node name="Button" type="Button" parent="Panel/HBoxContainer/GridContainer2"] +custom_minimum_size = Vector2(64, 64) +layout_mode = 2 +theme_override_font_sizes/font_size = 36 +text = "a" + +[node name="Button2" type="Button" parent="Panel/HBoxContainer/GridContainer2"] +custom_minimum_size = Vector2(64, 64) +layout_mode = 2 +theme_override_font_sizes/font_size = 36 +text = "b" + +[node name="Button3" type="Button" parent="Panel/HBoxContainer/GridContainer2"] +custom_minimum_size = Vector2(64, 64) +layout_mode = 2 +theme_override_font_sizes/font_size = 36 +text = "c" + +[node name="Button4" type="Button" parent="Panel/HBoxContainer/GridContainer2"] +custom_minimum_size = Vector2(64, 64) +layout_mode = 2 +theme_override_font_sizes/font_size = 36 +text = "d" + +[node name="Button5" type="Button" parent="Panel/HBoxContainer/GridContainer2"] +custom_minimum_size = Vector2(64, 64) +layout_mode = 2 +theme_override_font_sizes/font_size = 36 +text = "e" + +[node name="Button6" type="Button" parent="Panel/HBoxContainer/GridContainer2"] +custom_minimum_size = Vector2(64, 64) +layout_mode = 2 +theme_override_font_sizes/font_size = 36 +text = "f" + +[node name="Button7" type="Button" parent="Panel/HBoxContainer/GridContainer2"] +custom_minimum_size = Vector2(64, 64) +layout_mode = 2 +theme_override_font_sizes/font_size = 36 +text = "g" + +[node name="Button8" type="Button" parent="Panel/HBoxContainer/GridContainer2"] +custom_minimum_size = Vector2(64, 64) +layout_mode = 2 +theme_override_font_sizes/font_size = 36 +text = "h" + +[node name="Button9" type="Button" parent="Panel/HBoxContainer/GridContainer2"] +custom_minimum_size = Vector2(64, 64) +layout_mode = 2 +theme_override_font_sizes/font_size = 36 +text = "i" + +[node name="Button10" type="Button" parent="Panel/HBoxContainer/GridContainer2"] +custom_minimum_size = Vector2(64, 64) +layout_mode = 2 +theme_override_font_sizes/font_size = 36 +text = "j" + +[node name="Button11" type="Button" parent="Panel/HBoxContainer/GridContainer2"] +custom_minimum_size = Vector2(64, 64) +layout_mode = 2 +theme_override_font_sizes/font_size = 36 +text = "k" + +[node name="Button12" type="Button" parent="Panel/HBoxContainer/GridContainer2"] +custom_minimum_size = Vector2(64, 64) +layout_mode = 2 +theme_override_font_sizes/font_size = 36 +text = "l" + +[node name="Button13" type="Button" parent="Panel/HBoxContainer/GridContainer2"] +custom_minimum_size = Vector2(64, 64) +layout_mode = 2 +theme_override_font_sizes/font_size = 36 +text = "m" + +[node name="Button14" type="Button" parent="Panel/HBoxContainer/GridContainer2"] +custom_minimum_size = Vector2(64, 64) +layout_mode = 2 +theme_override_font_sizes/font_size = 36 +text = "n" + +[node name="Button15" type="Button" parent="Panel/HBoxContainer/GridContainer2"] +custom_minimum_size = Vector2(64, 64) +layout_mode = 2 +theme_override_font_sizes/font_size = 36 +text = "o" + +[node name="Button16" type="Button" parent="Panel/HBoxContainer/GridContainer2"] +custom_minimum_size = Vector2(64, 64) +layout_mode = 2 +theme_override_font_sizes/font_size = 36 +text = "p" + +[node name="Button17" type="Button" parent="Panel/HBoxContainer/GridContainer2"] +custom_minimum_size = Vector2(64, 64) +layout_mode = 2 +theme_override_font_sizes/font_size = 36 +text = "q" + +[node name="Button18" type="Button" parent="Panel/HBoxContainer/GridContainer2"] +custom_minimum_size = Vector2(64, 64) +layout_mode = 2 +theme_override_font_sizes/font_size = 36 +text = "r" + +[node name="Button19" type="Button" parent="Panel/HBoxContainer/GridContainer2"] +custom_minimum_size = Vector2(64, 64) +layout_mode = 2 +theme_override_font_sizes/font_size = 36 +text = "s" + +[node name="Button20" type="Button" parent="Panel/HBoxContainer/GridContainer2"] +custom_minimum_size = Vector2(64, 64) +layout_mode = 2 +theme_override_font_sizes/font_size = 36 +text = "t" + +[node name="Button21" type="Button" parent="Panel/HBoxContainer/GridContainer2"] +custom_minimum_size = Vector2(64, 64) +layout_mode = 2 +theme_override_font_sizes/font_size = 36 +text = "u" + +[node name="Button22" type="Button" parent="Panel/HBoxContainer/GridContainer2"] +custom_minimum_size = Vector2(64, 64) +layout_mode = 2 +theme_override_font_sizes/font_size = 36 +text = "v" + +[node name="Button23" type="Button" parent="Panel/HBoxContainer/GridContainer2"] +custom_minimum_size = Vector2(64, 64) +layout_mode = 2 +theme_override_font_sizes/font_size = 36 +text = "w" + +[node name="Button24" type="Button" parent="Panel/HBoxContainer/GridContainer2"] +custom_minimum_size = Vector2(64, 64) +layout_mode = 2 +theme_override_font_sizes/font_size = 36 +text = "x" + +[node name="Button25" type="Button" parent="Panel/HBoxContainer/GridContainer2"] +custom_minimum_size = Vector2(64, 64) +layout_mode = 2 +theme_override_font_sizes/font_size = 36 +text = "y" + +[node name="Button26" type="Button" parent="Panel/HBoxContainer/GridContainer2"] +custom_minimum_size = Vector2(64, 64) +layout_mode = 2 +theme_override_font_sizes/font_size = 36 +text = "z" + +[node name="Button27" type="Button" parent="Panel/HBoxContainer/GridContainer2"] +custom_minimum_size = Vector2(64, 64) +layout_mode = 2 +theme_override_font_sizes/font_size = 36 +text = "(" + +[node name="Button28" type="Button" parent="Panel/HBoxContainer/GridContainer2"] +custom_minimum_size = Vector2(64, 64) +layout_mode = 2 +theme_override_font_sizes/font_size = 36 +text = ")" + +[node name="Button29" type="Button" parent="Panel/HBoxContainer/GridContainer2"] +custom_minimum_size = Vector2(64, 64) +layout_mode = 2 +theme_override_font_sizes/font_size = 36 +text = "," + +[node name="Button30" type="Button" parent="Panel/HBoxContainer/GridContainer2"] +custom_minimum_size = Vector2(64, 64) +layout_mode = 2 +theme_override_font_sizes/font_size = 36 +text = "." + +[node name="VBoxContainer" type="VBoxContainer" parent="Panel/HBoxContainer"] +layout_mode = 2 + +[node name="Button" type="Button" parent="Panel/HBoxContainer/VBoxContainer"] +custom_minimum_size = Vector2(128, 64) +layout_mode = 2 +text = "BACK" + +[node name="Button2" type="Button" parent="Panel/HBoxContainer/VBoxContainer"] +custom_minimum_size = Vector2(128, 64) +layout_mode = 2 +text = "CLEAR" + +[node name="Button3" type="Button" parent="Panel/HBoxContainer/VBoxContainer"] +custom_minimum_size = Vector2(128, 196) +layout_mode = 2 +text = "ENTER" + +[node name="Panel2" type="Panel" parent="."] +layout_mode = 0 +offset_left = 493.0 +offset_top = 477.0 +offset_right = 1440.0 +offset_bottom = 586.0 + +[node name="TextEdit" type="TextEdit" parent="Panel2"] +layout_mode = 0 +offset_left = 17.0 +offset_top = 16.0 +offset_right = 441.0 +offset_bottom = 87.0 +theme_override_font_sizes/font_size = 48 +placeholder_text = "Given Name" +caret_type = 1 +caret_blink = true + +[node name="TextEdit2" type="TextEdit" parent="Panel2"] +layout_mode = 0 +offset_left = 503.0 +offset_top = 16.0 +offset_right = 927.0 +offset_bottom = 87.0 +theme_override_font_sizes/font_size = 48 +placeholder_text = "Surname" +caret_type = 1 +caret_blink = true + +[node name="Panel3" type="Panel" parent="."] +layout_mode = 0 +offset_left = 493.0 +offset_top = 266.0 +offset_right = 1439.0 +offset_bottom = 462.0 + +[node name="Label" type="Label" parent="Panel3"] +layout_mode = 0 +offset_left = 120.0 +offset_top = 71.0 +offset_right = 820.0 +offset_bottom = 138.0 +theme_override_font_sizes/font_size = 48 +text = "Please enter your given name." diff --git a/notice_panel.tscn b/templates/notice_panel.tscn similarity index 91% rename from notice_panel.tscn rename to templates/notice_panel.tscn index 2277175..61f9a79 100644 --- a/notice_panel.tscn +++ b/templates/notice_panel.tscn @@ -1,7 +1,7 @@ [gd_scene load_steps=3 format=3 uid="uid://b3lle4eammcwp"] -[ext_resource type="Texture2D" uid="uid://b7yco5065s41n" path="res://notice-icon.png" id="1_1reoo"] -[ext_resource type="Script" uid="uid://bqah2tc3d5otk" path="res://notice_panel.gd" id="1_5lwqd"] +[ext_resource type="Texture2D" uid="uid://b7yco5065s41n" path="res://graphics/notice-icon.png" id="1_1reoo"] +[ext_resource type="Script" uid="uid://bqah2tc3d5otk" path="res://scripts/notice_panel.gd" id="1_5lwqd"] [node name="NoticePanel" type="PanelContainer"] offset_right = 321.0 diff --git a/npc_profile_window.tscn b/templates/npc_profile_window.tscn similarity index 92% rename from npc_profile_window.tscn rename to templates/npc_profile_window.tscn index 06b1549..69b7f43 100644 --- a/npc_profile_window.tscn +++ b/templates/npc_profile_window.tscn @@ -1,7 +1,7 @@ [gd_scene load_steps=3 format=3 uid="uid://bktxswsjql86p"] -[ext_resource type="Script" uid="uid://ccsiubi5y75qg" path="res://npc_profile_window.gd" id="1_5tv47"] -[ext_resource type="Texture2D" uid="uid://biir7hjo6b4nl" path="res://adventurer-profile-pic.png" id="2_vyrgt"] +[ext_resource type="Script" uid="uid://ccsiubi5y75qg" path="res://scripts/npc_profile_window.gd" id="1_4xbne"] +[ext_resource type="Texture2D" uid="uid://biir7hjo6b4nl" path="res://graphics/adventurer-profile-pic.png" id="2_ffbu2"] [node name="Profile Window" type="Window"] oversampling_override = 1.0 @@ -11,7 +11,7 @@ wrap_controls = true unresizable = true always_on_top = true popup_window = true -script = ExtResource("1_5tv47") +script = ExtResource("1_4xbne") [node name="MarginContainer" type="MarginContainer" parent="."] anchors_preset = -1 @@ -29,7 +29,7 @@ layout_mode = 2 [node name="Sprite2D" type="TextureRect" parent="MarginContainer/VBoxContainer/HBoxContainer"] layout_mode = 2 -texture = ExtResource("2_vyrgt") +texture = ExtResource("2_ffbu2") [node name="VBoxContainer" type="VBoxContainer" parent="MarginContainer/VBoxContainer/HBoxContainer"] layout_mode = 2 @@ -112,15 +112,15 @@ layout_mode = 2 [node name="WeaponIcon" type="TextureRect" parent="MarginContainer/VBoxContainer/HBoxContainer3"] layout_mode = 2 -texture = ExtResource("2_vyrgt") +texture = ExtResource("2_ffbu2") [node name="ArmorIcon" type="TextureRect" parent="MarginContainer/VBoxContainer/HBoxContainer3"] layout_mode = 2 -texture = ExtResource("2_vyrgt") +texture = ExtResource("2_ffbu2") [node name="AccessoryIcon" type="TextureRect" parent="MarginContainer/VBoxContainer/HBoxContainer3"] layout_mode = 2 -texture = ExtResource("2_vyrgt") +texture = ExtResource("2_ffbu2") [node name="ConsumableList" type="HBoxContainer" parent="MarginContainer/VBoxContainer"] layout_mode = 2 @@ -129,31 +129,31 @@ alignment = 1 [node name="Sprite2D" type="TextureRect" parent="MarginContainer/VBoxContainer/ConsumableList"] custom_minimum_size = Vector2(32, 32) layout_mode = 2 -texture = ExtResource("2_vyrgt") +texture = ExtResource("2_ffbu2") expand_mode = 1 [node name="Sprite2D2" type="TextureRect" parent="MarginContainer/VBoxContainer/ConsumableList"] custom_minimum_size = Vector2(32, 32) layout_mode = 2 -texture = ExtResource("2_vyrgt") +texture = ExtResource("2_ffbu2") expand_mode = 1 [node name="Sprite2D3" type="TextureRect" parent="MarginContainer/VBoxContainer/ConsumableList"] custom_minimum_size = Vector2(32, 32) layout_mode = 2 -texture = ExtResource("2_vyrgt") +texture = ExtResource("2_ffbu2") expand_mode = 1 [node name="Sprite2D4" type="TextureRect" parent="MarginContainer/VBoxContainer/ConsumableList"] custom_minimum_size = Vector2(32, 32) layout_mode = 2 -texture = ExtResource("2_vyrgt") +texture = ExtResource("2_ffbu2") expand_mode = 1 [node name="Sprite2D5" type="TextureRect" parent="MarginContainer/VBoxContainer/ConsumableList"] custom_minimum_size = Vector2(32, 32) layout_mode = 2 -texture = ExtResource("2_vyrgt") +texture = ExtResource("2_ffbu2") expand_mode = 1 [connection signal="close_requested" from="." to="." method="_on_close_requested"] diff --git a/passive_panel.tscn b/templates/passive_panel.tscn similarity index 96% rename from passive_panel.tscn rename to templates/passive_panel.tscn index 33ef7da..e9faf03 100644 --- a/passive_panel.tscn +++ b/templates/passive_panel.tscn @@ -1,7 +1,7 @@ [gd_scene load_steps=3 format=3 uid="uid://tbf3tvn8m54l"] -[ext_resource type="Script" uid="uid://dhw85vqlvw33s" path="res://main_panel.gd" id="1_sihtn"] -[ext_resource type="Script" uid="uid://4jrp67ckp7vt" path="res://timer_label.gd" id="2_xnrrg"] +[ext_resource type="Script" uid="uid://dhw85vqlvw33s" path="res://scripts/main_panel.gd" id="1_sihtn"] +[ext_resource type="Script" uid="uid://4jrp67ckp7vt" path="res://scripts/timer_label.gd" id="2_xnrrg"] [node name="PanelContainer" type="PanelContainer"] anchors_preset = 15 diff --git a/profile_popup.tscn b/templates/profile_popup.tscn similarity index 95% rename from profile_popup.tscn rename to templates/profile_popup.tscn index a7a4e04..eeede88 100644 --- a/profile_popup.tscn +++ b/templates/profile_popup.tscn @@ -1,8 +1,8 @@ [gd_scene load_steps=4 format=3 uid="uid://bex2rdi5oh5cc"] [ext_resource type="StyleBox" uid="uid://cra63if6tmpgy" path="res://styles/profile_panel.tres" id="1_cdssf"] -[ext_resource type="Script" uid="uid://b0obax7efrsy1" path="res://profile_popup.gd" id="1_pmp85"] -[ext_resource type="Texture2D" uid="uid://biir7hjo6b4nl" path="res://adventurer-profile-pic.png" id="2_pmp85"] +[ext_resource type="Script" uid="uid://b0obax7efrsy1" path="res://scripts/profile_popup.gd" id="1_pmp85"] +[ext_resource type="Texture2D" uid="uid://biir7hjo6b4nl" path="res://graphics/adventurer-profile-pic.png" id="2_pmp85"] [node name="Profile Popup" type="Control"] layout_mode = 3 diff --git a/profile_window.tscn b/templates/profile_window.tscn similarity index 98% rename from profile_window.tscn rename to templates/profile_window.tscn index b96c6b8..b7d6b1e 100644 --- a/profile_window.tscn +++ b/templates/profile_window.tscn @@ -1,6 +1,6 @@ [gd_scene load_steps=2 format=3 uid="uid://djhq68y24p5px"] -[ext_resource type="Texture2D" uid="uid://biir7hjo6b4nl" path="res://adventurer-profile-pic.png" id="1_4aa5t"] +[ext_resource type="Texture2D" uid="uid://biir7hjo6b4nl" path="res://graphics/adventurer-profile-pic.png" id="1_4aa5t"] [node name="Profile Window" type="Window"] oversampling_override = 1.0 diff --git a/quest_board.tscn b/templates/quest_board.tscn similarity index 88% rename from quest_board.tscn rename to templates/quest_board.tscn index b9e0915..33322d4 100644 --- a/quest_board.tscn +++ b/templates/quest_board.tscn @@ -1,9 +1,9 @@ [gd_scene load_steps=7 format=3 uid="uid://b3mksvn2jf7e0"] -[ext_resource type="PackedScene" uid="uid://drrtypncppjps" path="res://quest_board_window.tscn" id="1_4poi3"] -[ext_resource type="Script" uid="uid://blo7tb5135vfm" path="res://quest_board.gd" id="1_38mwx"] -[ext_resource type="Texture2D" uid="uid://bnt2dlv7kxw7s" path="res://questboard.png" id="2_3ceph"] -[ext_resource type="Script" uid="uid://b0q2233msdtgo" path="res://guild_queue.gd" id="3_38mwx"] +[ext_resource type="PackedScene" uid="uid://drrtypncppjps" path="res://templates/quest_board_window.tscn" id="1_4poi3"] +[ext_resource type="Script" uid="uid://blo7tb5135vfm" path="res://scripts/quest_board.gd" id="1_38mwx"] +[ext_resource type="Texture2D" uid="uid://bnt2dlv7kxw7s" path="res://graphics/questboard.png" id="2_3ceph"] +[ext_resource type="Script" uid="uid://b0q2233msdtgo" path="res://scripts/guild_queue.gd" id="3_38mwx"] [ext_resource type="BehaviorTree" uid="uid://tr5enbq48w6x" path="res://ai/trees/quest_board.tres" id="4_3ceph"] [sub_resource type="BlackboardPlan" id="BlackboardPlan_2xphb"] diff --git a/quest_board_entry.tscn b/templates/quest_board_entry.tscn similarity index 88% rename from quest_board_entry.tscn rename to templates/quest_board_entry.tscn index 562e455..a514169 100644 --- a/quest_board_entry.tscn +++ b/templates/quest_board_entry.tscn @@ -1,14 +1,14 @@ [gd_scene load_steps=3 format=3 uid="uid://bdbnxj1au1iir"] -[ext_resource type="Script" uid="uid://hsks1qah12sh" path="res://quest_board_entry.gd" id="1_qfdrh"] -[ext_resource type="Texture2D" uid="uid://bldpiytpdrge6" path="res://icon.svg" id="2_ovx2i"] +[ext_resource type="Script" uid="uid://hsks1qah12sh" path="res://scripts/quest_board_entry.gd" id="1_54wmk"] +[ext_resource type="Texture2D" uid="uid://bldpiytpdrge6" path="res://graphics/icon.svg" id="2_1ihiv"] [node name="QuestBoardEntry" type="Button"] custom_minimum_size = Vector2(200, 50) anchors_preset = -1 offset_right = 200.0 offset_bottom = 50.0 -script = ExtResource("1_qfdrh") +script = ExtResource("1_54wmk") [node name="HBoxContainer" type="HBoxContainer" parent="."] layout_mode = 0 @@ -21,7 +21,7 @@ unique_name_in_owner = true custom_minimum_size = Vector2(50, 50) layout_mode = 2 mouse_filter = 2 -texture = ExtResource("2_ovx2i") +texture = ExtResource("2_1ihiv") expand_mode = 1 [node name="VBoxContainer" type="VBoxContainer" parent="HBoxContainer"] diff --git a/quest_board_window.tscn b/templates/quest_board_window.tscn similarity index 87% rename from quest_board_window.tscn rename to templates/quest_board_window.tscn index 3835503..a2727d3 100644 --- a/quest_board_window.tscn +++ b/templates/quest_board_window.tscn @@ -1,6 +1,6 @@ [gd_scene load_steps=2 format=3 uid="uid://drrtypncppjps"] -[ext_resource type="Script" uid="uid://de4lnikqqk7b4" path="res://quest_board_window.gd" id="1_0tsne"] +[ext_resource type="Script" uid="uid://de4lnikqqk7b4" path="res://scripts/quest_board_window.gd" id="1_1pe5b"] [node name="QuestBoardWindow" type="PopupPanel"] handle_input_locally = false @@ -8,16 +8,16 @@ oversampling_override = 1.0 title = "Quest Board" size = Vector2i(231, 282) visible = true -script = ExtResource("1_0tsne") +script = ExtResource("1_1pe5b") [node name="MarginContainer" type="MarginContainer" parent="."] -anchors_preset = 15 +anchors_preset = -1 anchor_right = 1.0 anchor_bottom = 1.0 offset_left = 4.0 offset_top = 4.0 -offset_right = -4.0 -offset_bottom = -4.0 +offset_right = 227.0 +offset_bottom = 278.0 grow_horizontal = 2 grow_vertical = 2 mouse_filter = 2 diff --git a/quest_log.tscn b/templates/quest_log.tscn similarity index 96% rename from quest_log.tscn rename to templates/quest_log.tscn index 8738866..083cc55 100644 --- a/quest_log.tscn +++ b/templates/quest_log.tscn @@ -1,6 +1,6 @@ [gd_scene load_steps=2 format=3 uid="uid://dly7in8ql1fn4"] -[ext_resource type="Script" uid="uid://opy1kwcgsh70" path="res://quest_log.gd" id="1_fbxfu"] +[ext_resource type="Script" uid="uid://opy1kwcgsh70" path="res://scripts/quest_log.gd" id="1_fbxfu"] [node name="Quest Log" type="Control"] layout_mode = 3 diff --git a/quest_log_entry.tscn b/templates/quest_log_entry.tscn similarity index 92% rename from quest_log_entry.tscn rename to templates/quest_log_entry.tscn index 3e9ec3a..b202c38 100644 --- a/quest_log_entry.tscn +++ b/templates/quest_log_entry.tscn @@ -1,7 +1,7 @@ [gd_scene load_steps=3 format=3 uid="uid://da0es74lcp66y"] -[ext_resource type="Script" uid="uid://dfn0507e4nccu" path="res://quest_log_entry.gd" id="1_0aavb"] -[ext_resource type="Texture2D" uid="uid://bldpiytpdrge6" path="res://icon.svg" id="1_guj74"] +[ext_resource type="Script" uid="uid://dfn0507e4nccu" path="res://scripts/quest_log_entry.gd" id="1_0aavb"] +[ext_resource type="Texture2D" uid="uid://bldpiytpdrge6" path="res://graphics/icon.svg" id="1_guj74"] [node name="Quest Log Entry" type="Panel"] custom_minimum_size = Vector2(200, 50) diff --git a/quest_panel_entry.tscn b/templates/quest_panel_entry.tscn similarity index 91% rename from quest_panel_entry.tscn rename to templates/quest_panel_entry.tscn index 4cb21ea..1131410 100644 --- a/quest_panel_entry.tscn +++ b/templates/quest_panel_entry.tscn @@ -1,7 +1,7 @@ [gd_scene load_steps=3 format=3 uid="uid://bkwwjnxj4iufi"] -[ext_resource type="Script" uid="uid://qv10wys8xel3" path="res://quest_panel_entry.gd" id="1_v2yp5"] -[ext_resource type="Texture2D" uid="uid://biir7hjo6b4nl" path="res://adventurer-profile-pic.png" id="2_ksvjh"] +[ext_resource type="Script" uid="uid://qv10wys8xel3" path="res://scripts/quest_panel_entry.gd" id="1_v2yp5"] +[ext_resource type="Texture2D" uid="uid://biir7hjo6b4nl" path="res://graphics/adventurer-profile-pic.png" id="2_ksvjh"] [node name="QuestPanelEntry" type="PanelContainer"] script = ExtResource("1_v2yp5") diff --git a/quest_progress_bar.tscn b/templates/quest_progress_bar.tscn similarity index 82% rename from quest_progress_bar.tscn rename to templates/quest_progress_bar.tscn index a4dee89..338153b 100644 --- a/quest_progress_bar.tscn +++ b/templates/quest_progress_bar.tscn @@ -1,17 +1,17 @@ [gd_scene load_steps=16 format=3 uid="uid://cm8jwfg6rnnor"] -[ext_resource type="Texture2D" uid="uid://vt3yvxm2ho7o" path="res://progress-fill.png" id="1_67v7s"] -[ext_resource type="Texture2D" uid="uid://b88n81qde4p3n" path="res://progress-bar.png" id="2_7mk3y"] -[ext_resource type="Script" uid="uid://cgi3tu0ussfk0" path="res://quest_progress_bar.gd" id="3_ngyoy"] -[ext_resource type="Script" uid="uid://cf0pt0ty4uaas" path="res://endpoint.gd" id="4_urnrp"] -[ext_resource type="Texture2D" uid="uid://c6ptvokr5npl7" path="res://progress-marks.png" id="5_0mjs1"] -[ext_resource type="Texture2D" uid="uid://qxx2gxnsd3yg" path="res://hero.png" id="6_c61hf"] -[ext_resource type="Script" uid="uid://cxqkvnv4rwots" path="res://hero_icon.gd" id="7_ej80i"] -[ext_resource type="Texture2D" uid="uid://dotwwulusn1b1" path="res://speechbubble.png" id="8_0hkgs"] -[ext_resource type="Script" uid="uid://c23pbcmig5v3s" path="res://update_bubble.gd" id="9_1vrqv"] +[ext_resource type="Script" uid="uid://cgi3tu0ussfk0" path="res://scripts/quest_progress_bar.gd" id="1_3w4v3"] +[ext_resource type="Texture2D" uid="uid://vt3yvxm2ho7o" path="res://graphics/progress-fill.png" id="2_t7shn"] +[ext_resource type="Texture2D" uid="uid://b88n81qde4p3n" path="res://graphics/progress-bar.png" id="3_qhjhp"] +[ext_resource type="Script" uid="uid://cf0pt0ty4uaas" path="res://scripts/endpoint.gd" id="4_4udsi"] +[ext_resource type="Texture2D" uid="uid://c6ptvokr5npl7" path="res://graphics/progress-marks.png" id="5_bt26m"] +[ext_resource type="Texture2D" uid="uid://qxx2gxnsd3yg" path="res://graphics/hero.png" id="6_lufuo"] +[ext_resource type="Script" uid="uid://cxqkvnv4rwots" path="res://scripts/hero_icon.gd" id="7_nby1n"] +[ext_resource type="Texture2D" uid="uid://dotwwulusn1b1" path="res://graphics/speechbubble.png" id="8_b7pey"] +[ext_resource type="Script" uid="uid://c23pbcmig5v3s" path="res://scripts/update_bubble.gd" id="9_pq74m"] [sub_resource type="AtlasTexture" id="AtlasTexture_8wucn"] -atlas = ExtResource("5_0mjs1") +atlas = ExtResource("5_bt26m") region = Rect2(0, 32, 32, 32) filter_clip = true @@ -25,7 +25,7 @@ region = Rect2(0, 32, 32, 32) filter_clip = true [sub_resource type="AtlasTexture" id="AtlasTexture_pg7md"] -atlas = ExtResource("5_0mjs1") +atlas = ExtResource("5_bt26m") region = Rect2(32, 32, 32, 32) [sub_resource type="AtlasTexture" id="AtlasTexture_bnohr"] @@ -35,21 +35,22 @@ region = Rect2(32, 0, 32, 32) filter_clip = true [sub_resource type="AtlasTexture" id="AtlasTexture_mmi8n"] -atlas = ExtResource("5_0mjs1") +atlas = ExtResource("5_bt26m") region = Rect2(32, 0, 32, 32) filter_clip = true [node name="QuestProgressBar" type="Control"] custom_minimum_size = Vector2(250, 70) layout_mode = 3 -anchors_preset = 5 anchor_left = 0.5 anchor_right = 0.5 offset_left = -125.0 offset_right = 125.0 offset_bottom = 70.0 grow_horizontal = 2 -script = ExtResource("3_ngyoy") +pivot_offset = Vector2(125, 0) +size_flags_horizontal = 4 +script = ExtResource("1_3w4v3") [node name="ProgressBar" type="TextureProgressBar" parent="."] custom_minimum_size = Vector2(213, 14) @@ -59,15 +60,15 @@ offset_top = 37.0 offset_right = 231.0 offset_bottom = 51.0 max_value = 1.0 -step = 0.010000000009313226 +step = 0.01000000000931322 nine_patch_stretch = true stretch_margin_left = 1 stretch_margin_top = 2 stretch_margin_right = 1 stretch_margin_bottom = 2 -texture_under = ExtResource("1_67v7s") -texture_over = ExtResource("2_7mk3y") -texture_progress = ExtResource("1_67v7s") +texture_under = ExtResource("2_t7shn") +texture_over = ExtResource("3_qhjhp") +texture_progress = ExtResource("2_t7shn") tint_under = Color(0, 0, 0, 1) tint_progress = Color(0.1804, 0.5451, 0.3412, 1) @@ -78,7 +79,7 @@ offset_left = -16.0 offset_top = -9.0 offset_right = 24.0 offset_bottom = 31.0 -script = ExtResource("4_urnrp") +script = ExtResource("4_4udsi") [node name="Over" type="TextureRect" parent="ProgressBar/Start"] layout_mode = 0 @@ -107,7 +108,7 @@ offset_left = 197.0 offset_top = -9.0 offset_right = 237.0 offset_bottom = 31.0 -script = ExtResource("4_urnrp") +script = ExtResource("4_4udsi") percent = 1.0 [node name="Fill" type="TextureRect" parent="ProgressBar/End"] @@ -139,12 +140,12 @@ offset_bottom = 40.0 [node name="Hero" type="Sprite2D" parent="ProgressBar"] unique_name_in_owner = true position = Vector2(-1, -12) -texture = ExtResource("6_c61hf") -script = ExtResource("7_ej80i") +texture = ExtResource("6_lufuo") +script = ExtResource("7_nby1n") [node name="UpdateBubble" type="NinePatchRect" parent="ProgressBar/Hero"] clip_contents = true -anchors_preset = 3 +anchors_preset = -1 anchor_left = 1.0 anchor_top = 1.0 anchor_right = 1.0 @@ -158,14 +159,14 @@ grow_vertical = 2 pivot_offset = Vector2(0, 15) size_flags_horizontal = 3 size_flags_vertical = 3 -texture = ExtResource("8_0hkgs") +texture = ExtResource("8_b7pey") patch_margin_left = 13 patch_margin_top = 5 patch_margin_right = 6 patch_margin_bottom = 10 axis_stretch_horizontal = 1 axis_stretch_vertical = 1 -script = ExtResource("9_1vrqv") +script = ExtResource("9_pq74m") [node name="Label" type="Label" parent="ProgressBar/Hero/UpdateBubble"] unique_name_in_owner = true @@ -190,5 +191,12 @@ offset_top = -32.0 offset_right = 75.0 offset_bottom = 40.0 -[connection signal="value_changed" from="ProgressBar" to="ProgressBar" method="_on_value_changed"] +[node name="Path" type="Control" parent="."] +unique_name_in_owner = true +anchors_preset = 0 +offset_left = 18.0 +offset_top = 34.0 +offset_right = 231.0 +offset_bottom = 54.0 + [connection signal="timeout" from="ProgressBar/Hero/UpdateBubble/Timer" to="ProgressBar/Hero/UpdateBubble" method="_on_timer_timeout"] diff --git a/quest_window.tscn b/templates/quest_window.tscn similarity index 96% rename from quest_window.tscn rename to templates/quest_window.tscn index 92093f0..acdce9b 100644 --- a/quest_window.tscn +++ b/templates/quest_window.tscn @@ -1,14 +1,14 @@ [gd_scene load_steps=3 format=3 uid="uid://ba2wunbmxgevl"] -[ext_resource type="Script" uid="uid://b3flxu0sduc1" path="res://quest_window.gd" id="1_qk27i"] -[ext_resource type="Texture2D" uid="uid://bldpiytpdrge6" path="res://icon.svg" id="2_bctmf"] +[ext_resource type="Script" uid="uid://b3flxu0sduc1" path="res://scripts/quest_window.gd" id="1_56dff"] +[ext_resource type="Texture2D" uid="uid://bldpiytpdrge6" path="res://graphics/icon.svg" id="2_rp282"] [node name="QuestWindow" type="Popup"] oversampling_override = 1.0 size = Vector2i(500, 655) visible = true exclusive = true -script = ExtResource("1_qk27i") +script = ExtResource("1_56dff") [node name="PostQuest" type="VBoxContainer" parent="."] unique_name_in_owner = true @@ -18,7 +18,7 @@ layout_mode = 2 [node name="TextureRect" type="TextureRect" parent="PostQuest/HBoxContainer2"] layout_mode = 2 -texture = ExtResource("2_bctmf") +texture = ExtResource("2_rp282") [node name="VBoxContainer" type="VBoxContainer" parent="PostQuest/HBoxContainer2"] layout_mode = 2 diff --git a/receptionist.tscn b/templates/receptionist.tscn similarity index 88% rename from receptionist.tscn rename to templates/receptionist.tscn index d01a4c5..cab024a 100644 --- a/receptionist.tscn +++ b/templates/receptionist.tscn @@ -1,9 +1,9 @@ [gd_scene load_steps=8 format=3 uid="uid://cf6nnjyp8kv78"] -[ext_resource type="Script" uid="uid://b2unuudq5qfl" path="res://guild_employee.gd" id="1_vwytd"] -[ext_resource type="Texture2D" uid="uid://nrhxsevqn82" path="res://receptionist.png" id="2_dlmqr"] -[ext_resource type="Script" uid="uid://b0q2233msdtgo" path="res://guild_queue.gd" id="3_wurf5"] -[ext_resource type="PackedScene" uid="uid://jbqw0n6dlj08" path="res://speech_bubble.tscn" id="4_dlmqr"] +[ext_resource type="Script" uid="uid://b2unuudq5qfl" path="res://scripts/guild_employee.gd" id="1_vwytd"] +[ext_resource type="Texture2D" uid="uid://nrhxsevqn82" path="res://graphics/receptionist.png" id="2_dlmqr"] +[ext_resource type="Script" uid="uid://b0q2233msdtgo" path="res://scripts/guild_queue.gd" id="3_wurf5"] +[ext_resource type="PackedScene" uid="uid://jbqw0n6dlj08" path="res://templates/speech_bubble.tscn" id="4_dlmqr"] [ext_resource type="BehaviorTree" uid="uid://dxyx7tjsd7khq" path="res://ai/trees/receptionist.tres" id="7_qmbsn"] [sub_resource type="CapsuleShape2D" id="CapsuleShape2D_dlmqr"] diff --git a/speech_bubble.tscn b/templates/speech_bubble.tscn similarity index 95% rename from speech_bubble.tscn rename to templates/speech_bubble.tscn index ef93a69..bbecf3c 100644 --- a/speech_bubble.tscn +++ b/templates/speech_bubble.tscn @@ -1,8 +1,8 @@ [gd_scene load_steps=8 format=3 uid="uid://jbqw0n6dlj08"] -[ext_resource type="Texture2D" uid="uid://cbamfadh7wwr7" path="res://speech-blip.png" id="1_ra651"] -[ext_resource type="Script" uid="uid://w57riwplc00t" path="res://speech_bubble.gd" id="2_n7y37"] -[ext_resource type="Texture2D" uid="uid://chnk20ey5qxfh" path="res://speech-emojis.png" id="3_iafp4"] +[ext_resource type="Texture2D" uid="uid://cbamfadh7wwr7" path="res://graphics/speech-blip.png" id="1_ra651"] +[ext_resource type="Script" uid="uid://w57riwplc00t" path="res://scripts/speech_bubble.gd" id="2_n7y37"] +[ext_resource type="Texture2D" uid="uid://chnk20ey5qxfh" path="res://graphics/speech-emojis.png" id="3_iafp4"] [sub_resource type="Animation" id="Animation_bog1h"] length = 0.001 diff --git a/test_adventurer.tscn b/templates/test_adventurer.tscn similarity index 82% rename from test_adventurer.tscn rename to templates/test_adventurer.tscn index 52ae7b9..a12750b 100644 --- a/test_adventurer.tscn +++ b/templates/test_adventurer.tscn @@ -1,6 +1,6 @@ [gd_scene load_steps=2 format=3 uid="uid://djirqtsrttqwe"] -[ext_resource type="Script" uid="uid://0jl2qbvtmsik" path="res://adventurer_data.gd" id="1_jdutx"] +[ext_resource type="Script" uid="uid://0jl2qbvtmsik" path="res://scripts/adventurer_data.gd" id="1_jdutx"] [node name="Test Guildmember" type="Node"] script = ExtResource("1_jdutx") diff --git a/test_adventurer_sprite.tscn b/templates/test_adventurer_sprite.tscn similarity index 80% rename from test_adventurer_sprite.tscn rename to templates/test_adventurer_sprite.tscn index 7b1fe69..690c2a8 100644 --- a/test_adventurer_sprite.tscn +++ b/templates/test_adventurer_sprite.tscn @@ -1,9 +1,9 @@ [gd_scene load_steps=8 format=3 uid="uid://dew8gxu55ex6q"] -[ext_resource type="Script" uid="uid://cjqumk0kw2vte" path="res://adventurer.gd" id="1_wif60"] -[ext_resource type="Texture2D" uid="uid://cg6ptmynq0aq0" path="res://basic-sprite.png" id="2_aos2b"] -[ext_resource type="PackedScene" uid="uid://jbqw0n6dlj08" path="res://speech_bubble.tscn" id="3_aos2b"] -[ext_resource type="BehaviorTree" uid="uid://dght2flegv70i" path="res://ai/trees/adventurer.tres" id="6_006nh"] +[ext_resource type="Script" uid="uid://cjqumk0kw2vte" path="res://scripts/adventurer.gd" id="1_kt0f0"] +[ext_resource type="Texture2D" uid="uid://cg6ptmynq0aq0" path="res://graphics/basic-sprite.png" id="2_i6rus"] +[ext_resource type="PackedScene" uid="uid://jbqw0n6dlj08" path="res://templates/speech_bubble.tscn" id="3_lqojj"] +[ext_resource type="BehaviorTree" uid="uid://dght2flegv70i" path="res://ai/trees/adventurer.tres" id="4_86mwh"] [sub_resource type="CapsuleShape2D" id="CapsuleShape2D_aos2b"] radius = 15.0 @@ -15,7 +15,7 @@ height = 54.0 size = Vector2(54, 97) [node name="AdventurerSprite" type="CharacterBody2D"] -script = ExtResource("1_wif60") +script = ExtResource("1_kt0f0") movement_speed = 200.0 [node name="CollisionShape2D" type="CollisionShape2D" parent="."] @@ -25,17 +25,17 @@ shape = SubResource("CapsuleShape2D_aos2b") [node name="Sprite2D" type="Sprite2D" parent="."] modulate = Color(0, 1, 0, 1) position = Vector2(0, -43) -texture = ExtResource("2_aos2b") +texture = ExtResource("2_i6rus") [node name="NavigationAgent2D" type="NavigationAgent2D" parent="."] path_desired_distance = 30.0 avoidance_enabled = true -[node name="SpeechBubble" parent="." instance=ExtResource("3_aos2b")] +[node name="SpeechBubble" parent="." instance=ExtResource("3_lqojj")] position = Vector2(39, -110) [node name="BTPlayer" type="BTPlayer" parent="."] -behavior_tree = ExtResource("6_006nh") +behavior_tree = ExtResource("4_86mwh") blackboard_plan = SubResource("BlackboardPlan_tdl5m") [node name="HoverArea" type="Area2D" parent="."] diff --git a/top_menu.tscn b/templates/top_menu.tscn similarity index 78% rename from top_menu.tscn rename to templates/top_menu.tscn index c87cec7..64ffc93 100644 --- a/top_menu.tscn +++ b/templates/top_menu.tscn @@ -1,15 +1,19 @@ -[gd_scene load_steps=13 format=3 uid="uid://c7jagw4y7w42l"] +[gd_scene load_steps=17 format=3 uid="uid://c7jagw4y7w42l"] -[ext_resource type="Texture2D" uid="uid://c0e0iw8osv0qh" path="res://top-icon-members.png" id="1_krxmy"] -[ext_resource type="Script" uid="uid://wyv0gt0ww6fp" path="res://top_menu.gd" id="1_o3fau"] -[ext_resource type="Texture2D" uid="uid://hc1lmivi4bjs" path="res://top-icon-members-hover.png" id="2_370kg"] -[ext_resource type="Texture2D" uid="uid://c2iyta0nbba4v" path="res://top-icon-quests.png" id="3_o3fau"] -[ext_resource type="Texture2D" uid="uid://d3s762qc45n68" path="res://top-icon-quests-hover.png" id="4_ehkcg"] -[ext_resource type="Texture2D" uid="uid://dpakd262awyrv" path="res://top-icon-policies.png" id="5_3nqsh"] -[ext_resource type="Texture2D" uid="uid://is4b1a0jroee" path="res://top-icon-policies-hover.png" id="6_8h6j7"] +[ext_resource type="Texture2D" uid="uid://c0e0iw8osv0qh" path="res://graphics/top-icon-members.png" id="1_krxmy"] +[ext_resource type="Script" uid="uid://wyv0gt0ww6fp" path="res://scripts/top_menu.gd" id="1_o3fau"] +[ext_resource type="Texture2D" uid="uid://hc1lmivi4bjs" path="res://graphics/top-icon-members-hover.png" id="2_370kg"] +[ext_resource type="Texture2D" uid="uid://dkb0bhk4t15fh" path="res://graphics/guild-mopt.png" id="2_kvelj"] +[ext_resource type="Texture2D" uid="uid://dlm6ei0v0tokv" path="res://graphics/guild-mopt-hover.png" id="3_jgt6v"] +[ext_resource type="Texture2D" uid="uid://c2iyta0nbba4v" path="res://graphics/top-icon-quests.png" id="3_o3fau"] +[ext_resource type="Texture2D" uid="uid://d3s762qc45n68" path="res://graphics/top-icon-quests-hover.png" id="4_ehkcg"] +[ext_resource type="Texture2D" uid="uid://dpakd262awyrv" path="res://graphics/top-icon-policies.png" id="5_3nqsh"] +[ext_resource type="Texture2D" uid="uid://is4b1a0jroee" path="res://graphics/top-icon-policies-hover.png" id="6_8h6j7"] [ext_resource type="Theme" uid="uid://dj45k1nfllyvv" path="res://styles/primary_theme.tres" id="8_ehkcg"] -[ext_resource type="Script" uid="uid://ep03avmd4jbc" path="res://generate_quest_dialog.gd" id="9_ehkcg"] -[ext_resource type="Texture2D" uid="uid://bldpiytpdrge6" path="res://icon.svg" id="10_3nqsh"] +[ext_resource type="Script" uid="uid://ep03avmd4jbc" path="res://scripts/generate_quest_dialog.gd" id="9_ehkcg"] +[ext_resource type="Texture2D" uid="uid://bldpiytpdrge6" path="res://graphics/icon.svg" id="10_3nqsh"] +[ext_resource type="Texture2D" uid="uid://cnrqig3gojcls" path="res://graphics/options-mopt.png" id="10_acyux"] +[ext_resource type="Texture2D" uid="uid://dupdvrthv3edd" path="res://graphics/options-mopt-hover.png" id="11_xu0sb"] [sub_resource type="Gradient" id="Gradient_7d00h"] @@ -37,15 +41,25 @@ scale = Vector2(2, 2) [node name="TextureRect" type="TextureRect" parent="Menu"] layout_mode = 0 -offset_right = 150.0 +offset_right = 234.5 offset_bottom = 19.0 texture = SubResource("GradientTexture1D_len8m") +[node name="GuildButton" type="TextureButton" parent="Menu"] +layout_mode = 0 +offset_left = 2.5 +offset_top = -25.5 +offset_right = 50.5 +offset_bottom = 22.5 +texture_normal = ExtResource("2_kvelj") +texture_pressed = ExtResource("3_jgt6v") +texture_hover = ExtResource("3_jgt6v") + [node name="MembersButton" type="TextureButton" parent="Menu"] layout_mode = 0 -offset_left = 1.5 +offset_left = 44.0 offset_top = -31.5 -offset_right = 49.5 +offset_right = 92.0 offset_bottom = 16.5 texture_normal = ExtResource("1_krxmy") texture_pressed = ExtResource("2_370kg") @@ -53,9 +67,9 @@ texture_hover = ExtResource("2_370kg") [node name="QuestsButton" type="TextureButton" parent="Menu"] layout_mode = 0 -offset_left = 46.5 +offset_left = 89.0 offset_top = -32.5 -offset_right = 94.5 +offset_right = 137.0 offset_bottom = 15.5 texture_normal = ExtResource("3_o3fau") texture_pressed = ExtResource("4_ehkcg") @@ -63,14 +77,24 @@ texture_hover = ExtResource("4_ehkcg") [node name="PoliciesButton" type="TextureButton" parent="Menu"] layout_mode = 0 -offset_left = 98.5 +offset_left = 141.0 offset_top = -32.0 -offset_right = 146.5 +offset_right = 189.0 offset_bottom = 16.0 texture_normal = ExtResource("5_3nqsh") texture_pressed = ExtResource("6_8h6j7") texture_hover = ExtResource("6_8h6j7") +[node name="OptionsButton" type="TextureButton" parent="Menu"] +layout_mode = 0 +offset_left = 186.5 +offset_top = -25.5 +offset_right = 234.5 +offset_bottom = 22.5 +texture_normal = ExtResource("10_acyux") +texture_pressed = ExtResource("11_xu0sb") +texture_hover = ExtResource("11_xu0sb") + [node name="Members" type="Control" parent="."] unique_name_in_owner = true visible = false @@ -131,9 +155,7 @@ text = "Generate Quest" [node name="GenerateQuestDialog" type="Control" parent="."] unique_name_in_owner = true -visible = false layout_mode = 1 -anchors_preset = 15 anchor_right = 1.0 anchor_bottom = 1.0 offset_left = 4.0 @@ -146,7 +168,7 @@ script = ExtResource("9_ehkcg") [node name="Window" type="PanelContainer" parent="GenerateQuestDialog"] layout_mode = 1 -anchors_preset = 8 +anchors_preset = -1 anchor_left = 0.5 anchor_top = 0.5 anchor_right = 0.5 @@ -160,6 +182,7 @@ grow_vertical = 2 [node name="GenerateQuest" type="VBoxContainer" parent="GenerateQuestDialog/Window"] unique_name_in_owner = true +visible = false layout_mode = 2 [node name="HBoxContainer2" type="HBoxContainer" parent="GenerateQuestDialog/Window/GenerateQuest"] @@ -220,7 +243,31 @@ layout_mode = 2 text = "Bonus Reward" [node name="RewardField" type="TextEdit" parent="GenerateQuestDialog/Window/GenerateQuest"] -custom_minimum_size = Vector2(480, 300) +custom_minimum_size = Vector2(480, 150) +layout_mode = 2 +size_flags_vertical = 3 +text = "(To be determined)" +editable = false +context_menu_enabled = false +emoji_menu_enabled = false +shortcut_keys_enabled = false +selecting_enabled = false +deselect_on_focus_loss_enabled = false +drag_and_drop_selection_enabled = false +virtual_keyboard_enabled = false +virtual_keyboard_show_on_focus = false +middle_mouse_paste_enabled = false +empty_selection_clipboard_enabled = false +tab_input_mode = false +use_default_word_separators = false + +[node name="Label5" type="Label" parent="GenerateQuestDialog/Window/GenerateQuest"] +layout_mode = 2 +text = "Guild Reward" + +[node name="GuildRewardField" type="TextEdit" parent="GenerateQuestDialog/Window/GenerateQuest"] +unique_name_in_owner = true +custom_minimum_size = Vector2(480, 150) layout_mode = 2 size_flags_vertical = 3 text = "(To be determined)" @@ -253,7 +300,6 @@ text = "BACK" [node name="PostQuest" type="VBoxContainer" parent="GenerateQuestDialog/Window"] unique_name_in_owner = true -visible = false layout_mode = 2 [node name="HBoxContainer2" type="HBoxContainer" parent="GenerateQuestDialog/Window/PostQuest"] @@ -340,14 +386,37 @@ use_default_word_separators = false [node name="Label4" type="Label" parent="GenerateQuestDialog/Window/PostQuest"] layout_mode = 2 -text = "Reward" +text = "Bonus Reward" -[node name="RewardField" type="TextEdit" parent="GenerateQuestDialog/Window/PostQuest"] +[node name="RewardList" type="TextEdit" parent="GenerateQuestDialog/Window/PostQuest"] unique_name_in_owner = true -custom_minimum_size = Vector2(480, 300) +custom_minimum_size = Vector2(480, 150) layout_mode = 2 size_flags_vertical = 3 -text = "Reward" +text = "(To be determined)" +editable = false +context_menu_enabled = false +emoji_menu_enabled = false +shortcut_keys_enabled = false +selecting_enabled = false +deselect_on_focus_loss_enabled = false +drag_and_drop_selection_enabled = false +virtual_keyboard_enabled = false +virtual_keyboard_show_on_focus = false +middle_mouse_paste_enabled = false +empty_selection_clipboard_enabled = false +tab_input_mode = false +use_default_word_separators = false + +[node name="Label5" type="Label" parent="GenerateQuestDialog/Window/PostQuest"] +layout_mode = 2 +text = "Guild Reward" + +[node name="GuildRewardList" type="TextEdit" parent="GenerateQuestDialog/Window/PostQuest"] +custom_minimum_size = Vector2(480, 150) +layout_mode = 2 +size_flags_vertical = 3 +text = "(To be determined)" editable = false context_menu_enabled = false emoji_menu_enabled = false @@ -376,6 +445,7 @@ custom_minimum_size = Vector2(248, 60) layout_mode = 2 text = "BACK" +[connection signal="pressed" from="Menu/GuildButton" to="." method="_on_guild_button_pressed"] [connection signal="pressed" from="Menu/MembersButton" to="." method="_on_members_button_pressed"] [connection signal="pressed" from="Menu/QuestsButton" to="." method="_on_quests_button_pressed"] [connection signal="pressed" from="Quests/Panel/VBoxContainer/Button" to="." method="_on_quest_generate_button_pressed"] diff --git a/waypoint.tscn b/templates/waypoint.tscn similarity index 90% rename from waypoint.tscn rename to templates/waypoint.tscn index 37cf0be..c378ab6 100644 --- a/waypoint.tscn +++ b/templates/waypoint.tscn @@ -1,8 +1,8 @@ [gd_scene load_steps=7 format=3 uid="uid://wnkqgapgh7br"] -[ext_resource type="Script" uid="uid://dnytdxwuk6b7x" path="res://waypoint.gd" id="1_m8nlk"] -[ext_resource type="Texture2D" uid="uid://c6ptvokr5npl7" path="res://progress-marks.png" id="2_u6u05"] -[ext_resource type="Texture2D" uid="uid://bcrg5ea4niu0e" path="res://progress-dot-fill.png" id="3_ddqum"] +[ext_resource type="Script" uid="uid://dnytdxwuk6b7x" path="res://scripts/waypoint.gd" id="1_m8nlk"] +[ext_resource type="Texture2D" uid="uid://c6ptvokr5npl7" path="res://graphics/progress-marks.png" id="2_u6u05"] +[ext_resource type="Texture2D" uid="uid://bcrg5ea4niu0e" path="res://graphics/progress-dot-fill.png" id="3_ddqum"] [sub_resource type="AtlasTexture" id="AtlasTexture_nyilg"] atlas = ExtResource("2_u6u05") diff --git a/test_tiles.tres b/test_tiles.tres index 4b8286f..00ab7e9 100644 --- a/test_tiles.tres +++ b/test_tiles.tres @@ -1,6 +1,6 @@ [gd_resource type="TileSet" load_steps=6 format=3 uid="uid://6im0g3eg6sr4"] -[ext_resource type="Texture2D" uid="uid://n5nal4ikpapx" path="res://spritesheet_tiles.png" id="1_jr0lo"] +[ext_resource type="Texture2D" uid="uid://n5nal4ikpapx" path="res://graphics/spritesheet_tiles.png" id="1_jr0lo"] [sub_resource type="NavigationPolygon" id="NavigationPolygon_0280p"] vertices = PackedVector2Array(32, 32, -32, 32, -32, -32, 32, -32)