{
	"_comment": "Built-in background music per map (scripts/music.gd, selftest bgm_test.gd). maps: map id -> theme, or {town, field} for a map with a town and fields. A map missing here uses kind_default by its music family (town when in town; else field / forest / desert / dungeon from maps.json \"music\"). boss: while an MVP boss chases you. Files: res://audio/bgm/<theme>.ogg (Kevin MacLeod, incompetech.com, CC BY 4.0, credits in data/credits.json 'Music' + docs/MUSIC_CREDITS.md; converted to OGG and loudness-normalized to -18 LUFS). The player's music folder still wins (same names as before, or <theme>.ogg). loop: native = seamless file loop; fade = crossfade from loop_end back to loop_start. New worlds (2026-10-22): maps of the new worlds (sky_ / sea_ / smile_ / soul_) are listed by id; a realm map not listed uses \"realms\" (town / field / dungeon / boss) before kind_default.",
	"dir": "res://audio/bgm",
	"fade": 2.5,
	"loop_fade": 3.0,
	"boss": "boss",
	"realms": {
		"_comment": "New worlds (scripts/realms.gd, maps.json \"realm\"): a map of a realm that the maps table does not list uses its realm's town / field / dungeon theme here before kind_default; boss = the MVP battle theme while a boss chases you in that realm. Land of Smile (2026-10-23): Thai-fusion tracks smile_town / smile_fields / smile_dungeon / smile_mvp = a Kevin MacLeod piece (CC BY 4.0) cut to a seamless bar-aligned loop + Thai instrument layers synthesised by the Pandolia team (no samples); sandstone ruins keep smile_ruins.",
		"sky": {"town": "sky_town", "field": "sky_fields", "dungeon": "sky_dungeon", "boss": "sky_mvp"},
		"sea": {"town": "sea_town", "field": "sea_fields", "dungeon": "sea_dungeon", "boss": "sea_mvp"},
		"land_of_smile": {"town": "smile_town", "field": "smile_fields", "dungeon": "smile_dungeon", "boss": "smile_mvp"},
		"soul_volcano": {"town": "crypt", "field": "soul_fields", "dungeon": "volcano", "boss": "boss"}
	},
	"kind_default": {
		"town": "town_aldoria",
		"field": "meadow",
		"forest": "forest",
		"desert": "desert",
		"dungeon": "cave"
	},
	"themes": {
		"town_aldoria": {
			"file": "town_aldoria.ogg",
			"title": "Village Consort",
			"isrc": "USUAN1700007",
			"name_th": "เมืองเริ่มต้น Petalbrook",
			"length": 214.805,
			"loop": "fade",
			"loop_start": 0,
			"loop_end": 214.81
		},
		"capital_crownhaven": {
			"file": "capital_crownhaven.ogg",
			"title": "Master of the Feast",
			"isrc": "USUAN1400019",
			"name_th": "นครหลวง Crownhaven",
			"length": 228.251,
			"loop": "fade",
			"loop_start": 0,
			"loop_end": 223.04
		},
		"hanamura_town": {
			"file": "hanamura_town.ogg",
			"title": "Senbazuru",
			"isrc": "USUAN1100821",
			"name_th": "หมู่บ้านไผ่ Hanamura",
			"length": 94.067,
			"loop": "fade",
			"loop_start": 0.5,
			"loop_end": 91.6
		},
		"east_fields": {
			"file": "east_fields.ogg",
			"title": "Guzheng City",
			"isrc": "USUAN2100001",
			"name_th": "ทุ่งซากุระ/นาข้าวตะวันออก",
			"length": 114.1,
			"loop": "fade",
			"loop_start": 0.32,
			"loop_end": 108.57
		},
		"candy_town": {
			"file": "candy_town.ogg",
			"title": "Glitter Blast",
			"isrc": "USUAN1900001",
			"name_th": "เมืองขนม Sugarplum",
			"length": 177.816,
			"loop": "fade",
			"loop_start": 0,
			"loop_end": 175.16
		},
		"candy_fields": {
			"file": "candy_fields.ogg",
			"title": "Jaunty Gumption",
			"isrc": "USUAN1300017",
			"name_th": "ทุ่งขนม/สวนผลไม้",
			"length": 118.413,
			"loop": "fade",
			"loop_start": 0,
			"loop_end": 118.41
		},
		"toy_town": {
			"file": "toy_town.ogg",
			"title": "Teddy Bear Waltz",
			"isrc": "USUAN1700064",
			"name_th": "เมืองของเล่น Toyholm",
			"length": 195.265,
			"loop": "fade",
			"loop_start": 0,
			"loop_end": 193.19
		},
		"toy_fields": {
			"file": "toy_fields.ogg",
			"title": "Melodie Victoria",
			"isrc": "USUAN1100819",
			"name_th": "ทุ่งไขลาน",
			"length": 240.953,
			"loop": "fade",
			"loop_start": 0.32,
			"loop_end": 238.63
		},
		"water_town": {
			"file": "water_town.ogg",
			"title": "Casa Bossa Nova",
			"isrc": "USUAN1600012",
			"name_th": "เมืองแห่งน้ำ Brightwater",
			"length": 242.129,
			"loop": "fade",
			"loop_start": 2.08,
			"loop_end": 238.68
		},
		"snow_town": {
			"file": "snow_town.ogg",
			"title": "Frost Waltz",
			"isrc": "USUAN1100516",
			"name_th": "เมืองหิมะ Snowbell",
			"length": 135.5,
			"loop": "fade",
			"loop_start": 1.27,
			"loop_end": 132.62
		},
		"housing": {
			"file": "housing.ogg",
			"title": "Easy Lemon",
			"isrc": "USUAN1200076",
			"name_th": "บ้านผู้เล่น/ซอยฮาร์ธเวล",
			"length": 126.38,
			"loop": "fade",
			"loop_start": 0,
			"loop_end": 124.78
		},
		"meadow": {
			"file": "",
			"title": "",
			"name_th": "ทุ่งหญ้า",
			"note": "no built-in track yet (Boss 2026-10-21): the player's own music folder / silence, as before"
		},
		"forest": {
			"file": "forest.ogg",
			"title": "Enchanted Valley",
			"isrc": "USUAN1200093",
			"name_th": "ป่า",
			"length": 190.3,
			"loop": "fade",
			"loop_start": 0.47,
			"loop_end": 188.38
		},
		"swamp": {
			"file": "swamp.ogg",
			"title": "The Path of the Goblin King",
			"isrc": "USUAN1100873",
			"name_th": "บึง/ซากปรักลึกลับ",
			"length": 206.4,
			"loop": "fade",
			"loop_start": 0,
			"loop_end": 206.4
		},
		"desert": {
			"file": "desert.ogg",
			"title": "Finding the Balance",
			"isrc": "USUAN1100708",
			"name_th": "ทะเลทราย/หุบผา",
			"length": 208.056,
			"loop": "fade",
			"loop_start": 0,
			"loop_end": 205.19
		},
		"beach": {
			"file": "beach.ogg",
			"title": "Tiki Bar Mixer",
			"isrc": "USUAN2000006",
			"name_th": "ชายหาด/แนวปะการัง",
			"length": 212.376,
			"loop": "fade",
			"loop_start": 1.05,
			"loop_end": 208.13
		},
		"lakes": {
			"file": "lakes.ogg",
			"title": "Dreamy Flashback",
			"isrc": "USUAN1100532",
			"name_th": "ริมน้ำ/ทะเลสาบ",
			"length": 126.616,
			"loop": "fade",
			"loop_start": 0,
			"loop_end": 126.62
		},
		"snow_fields": {
			"file": "snow_fields.ogg",
			"title": "The Snow Queen",
			"isrc": "USUAN1100872",
			"name_th": "ทุ่งหิมะ/สันเขา",
			"length": 220.1,
			"loop": "fade",
			"loop_start": 0,
			"loop_end": 220.1
		},
		"highlands": {
			"file": "highlands.ogg",
			"title": "Kings of Tara",
			"isrc": "USUAN1500071",
			"name_th": "ที่ราบสูง/หน้าผา",
			"length": 221.537,
			"loop": "fade",
			"loop_start": 0,
			"loop_end": 216.72
		},
		"volcano": {
			"file": "volcano.ogg",
			"title": "Malicious",
			"isrc": "USUAN1700045",
			"name_th": "ภูเขาไฟ/แกนแมกมา",
			"length": 222.929,
			"loop": "fade",
			"loop_start": 0,
			"loop_end": 221.23
		},
		"undead_fields": {
			"file": "undead_fields.ogg",
			"title": "Netherworld Shanty",
			"isrc": "USUAN1100138",
			"name_th": "แดนอันเดด/ทุ่งสนธยา",
			"length": 195.048,
			"loop": "fade",
			"loop_start": 0,
			"loop_end": 192.29
		},
		"crypt": {
			"file": "crypt.ogg",
			"title": "Moonlight Hall",
			"isrc": "USUAN1200095",
			"name_th": "สุสานใต้ดิน",
			"length": 198.2,
			"loop": "fade",
			"loop_start": 0.31,
			"loop_end": 194.99
		},
		"cave": {
			"file": "cave.ogg",
			"title": "Night Cave",
			"isrc": "USUAN1100446",
			"name_th": "ถ้ำ/เหมือง",
			"length": 110.3,
			"loop": "native"
		},
		"magic_tower": {
			"file": "magic_tower.ogg",
			"title": "The Other Side of the Door",
			"isrc": "USUAN1100744",
			"name_th": "หอคอยเวท Hexspire",
			"length": 167.808,
			"loop": "fade",
			"loop_start": 0.61,
			"loop_end": 164.76
		},
		"tomb": {
			"file": "tomb.ogg",
			"title": "Curse of the Scarab",
			"isrc": "USUAN1600014",
			"name_th": "สุสานราชาสุริยะ",
			"length": 327.3,
			"loop": "fade",
			"loop_start": 0,
			"loop_end": 325.16
		},
		"sunken": {
			"file": "sunken.ogg",
			"title": "River of Io",
			"isrc": "USUAN1600065",
			"name_th": "ถ้ำใต้ทะเล/เรือจม",
			"length": 249.287,
			"loop": "fade",
			"loop_start": 0,
			"loop_end": 249.29
		},
		"starry": {
			"file": "starry.ogg",
			"title": "Floating Cities",
			"isrc": "USUAN1600018",
			"name_th": "ดวงดาว/วิหารดาว",
			"length": 184.059,
			"loop": "fade",
			"loop_start": 0,
			"loop_end": 181.8
		},
		"boss": {
			"file": "boss.ogg",
			"title": "Unholy Knight",
			"isrc": "USUAN1700052",
			"name_th": "บอส/MVP (ตอนบอสไล่)",
			"length": 154.4,
			"loop": "fade",
			"loop_start": 0,
			"loop_end": 150.24
		},
		"pvp": {
			"file": "pvp.ogg",
			"title": "Heroic Age",
			"isrc": "USUAN1100848",
			"name_th": "อารีน่า/สงครามกิลด์",
			"length": 97.463,
			"loop": "fade",
			"loop_start": 0.94,
			"loop_end": 91.09
		},
		"sky_town": {
			"file": "sky_town.ogg",
			"title": "Morning",
			"isrc": "USUAN2300003",
			"name_th": "เมืองนิมบาเรีย (สกายซันเปีย)",
			"length": 153.4,
			"loop": "fade",
			"loop_start": 0,
			"loop_end": 147.51
		},
		"sky_fields": {
			"file": "sky_fields.ogg",
			"title": "Skye Cuillin",
			"isrc": "USUAN1100346",
			"name_th": "เกาะลอยฟ้า สกายซันเปีย",
			"length": 193.5,
			"loop": "fade",
			"loop_start": 0,
			"loop_end": 188.82
		},
		"sky_high": {
			"file": "sky_high.ogg",
			"title": "Cupid's Revenge",
			"isrc": "USUAN1100814",
			"name_th": "ฟ้าชั้นบน/แดนสวรรค์",
			"length": 105.6,
			"loop": "fade",
			"loop_start": 0,
			"loop_end": 103.39
		},
		"sky_dungeon": {
			"file": "sky_dungeon.ogg",
			"title": "Impending Boom",
			"isrc": "USUAN1100198",
			"name_th": "ดันเจี้ยนฟ้า (ตาพายุ/หอดูดาว)",
			"length": 157,
			"loop": "fade",
			"loop_start": 0,
			"loop_end": 153.68
		},
		"sky_mvp": {
			"file": "sky_mvp.ogg",
			"title": "Five Armies",
			"isrc": "USUAN1100875",
			"name_th": "MVP วิหารสุดฟ้า + บอสไล่ในสกายซันเปีย",
			"length": 155.9,
			"loop": "fade",
			"loop_start": 0,
			"loop_end": 152.26
		},
		"sea_town": {
			"file": "sea_town.ogg",
			"title": "Jellyfish in Space",
			"isrc": "USUAN1500030",
			"name_th": "เมืองโครัลเลีย (อันเดอร์เวิลด์)",
			"length": 391.3,
			"loop": "fade",
			"loop_start": 0,
			"loop_end": 386.99
		},
		"sea_fields": {
			"file": "sea_fields.ogg",
			"title": "Secret of Tiki Island",
			"isrc": "USUAN1600037",
			"name_th": "ทะเลตื้น/แนวปะการัง อันเดอร์เวิลด์",
			"length": 196.1,
			"loop": "fade",
			"loop_start": 0,
			"loop_end": 192.05
		},
		"sea_deep": {
			"file": "sea_deep.ogg",
			"title": "Shadowlands 1 - Horizon",
			"isrc": "USUAN1700034",
			"name_th": "ห้วงลึกใต้สมุทร",
			"length": 220.1,
			"loop": "fade",
			"loop_start": 0.88,
			"loop_end": 218.7
		},
		"sea_dungeon": {
			"file": "sea_dungeon.ogg",
			"title": "Mary Celeste",
			"isrc": "USUAN1500016",
			"name_th": "ดันเจี้ยนใต้ทะเล (เรือกาเลียน/ปากคราเคน)",
			"length": 162.1,
			"loop": "fade",
			"loop_start": 1.43,
			"loop_end": 160.21
		},
		"sea_mvp": {
			"file": "sea_mvp.ogg",
			"title": "Volatile Reaction",
			"isrc": "USUAN1400039",
			"name_th": "MVP บัลลังก์ห้วงลึก + บอสไล่ในอันเดอร์เวิลด์",
			"length": 165.4,
			"loop": "fade",
			"loop_start": 0,
			"loop_end": 163.17
		},
		"smile_ruins": {
			"file": "smile_ruins.ogg",
			"title": "Mystic Force",
			"isrc": "USUAN1500060",
			"name_th": "แลนด์ออฟสไมล์: ซากปราสาทหิน/ดันเจี้ยน",
			"length": 223.8,
			"loop": "fade",
			"loop_start": 0,
			"loop_end": 220.88
		},
		"soul_fields": {
			"file": "soul_fields.ogg",
			"title": "Burnt Spirit",
			"isrc": "USUAN1700053",
			"name_th": "โซลโวลเคโน: ทุ่งวิญญาณ/ภูเขาไฟ",
			"length": 115,
			"loop": "fade",
			"loop_start": 0,
			"loop_end": 113.37
		},
		"smile_town": {
			"file": "smile_town.ogg",
			"title": "Ishikari Lore",
			"isrc": "USUAN1100192",
			"name_th": "แลนด์ออฟสไมล์: เมืองบ้านสบาย (ผสมดนตรีไทย)",
			"length": 140.489,
			"loop": "native",
			"loop_start": 0,
			"loop_end": 140.489
		},
		"smile_fields": {
			"file": "smile_fields.ogg",
			"title": "Thatched Villagers",
			"isrc": "USUAN1100720",
			"name_th": "แลนด์ออฟสไมล์: ทุ่งนา/ลำคลอง/ชายฝั่ง (ผสมดนตรีไทย)",
			"length": 163.406,
			"loop": "native",
			"loop_start": 0,
			"loop_end": 163.406
		},
		"smile_dungeon": {
			"file": "smile_dungeon.ogg",
			"title": "Half Mystery",
			"isrc": "USUAN1900009",
			"name_th": "แลนด์ออฟสไมล์: ถ้ำ/ถ้ำทะเล (ผสมดนตรีไทย)",
			"length": 240.0,
			"loop": "native",
			"loop_start": 0,
			"loop_end": 240.0
		},
		"smile_mvp": {
			"file": "smile_mvp.ogg",
			"title": "Mountain Emperor",
			"isrc": "USUAN1700012",
			"name_th": "แลนด์ออฟสไมล์: MVP + บอสไล่ (ผสมดนตรีไทย)",
			"length": 144.0,
			"loop": "native",
			"loop_start": 0,
			"loop_end": 144.0
		}
	},
	"maps": {
		"aldoria_meadows": {
			"town": "town_aldoria",
			"field": "meadow"
		},
		"whisperwood_forest": "forest",
		"sunscorch_dunes": "desert",
		"hollowroot_caverns": "cave",
		"hanamura_outskirts": "east_fields",
		"hanamura": "hanamura_town",
		"guild_warfield": "pvp",
		"arena_colosseum": "pvp",
		"starlit_sanctum": "starry",
		"blossom_meadows": "meadow",
		"frostveil_tundra": "snow_fields",
		"frostveil_hollow": "cave",
		"tuskhollow_wilds": "forest",
		"coalvein_pit": "cave",
		"mirelight_marsh": "swamp",
		"hexspire_tower": "magic_tower",
		"sandglass_expanse": "desert",
		"sunking_tomb": "tomb",
		"clockwind_heights": "highlands",
		"grimhallow_crypt": "crypt",
		"stormreach_cliffs": "highlands",
		"tidecall_grotto": "sunken",
		"twilight_scar": "undead_fields",
		"hall_of_the_fallen": "crypt",
		"sunken_reef": "beach",
		"drowned_hold": "sunken",
		"cinder_caldera": "volcano",
		"magma_core": "volcano",
		"hollowspire_necropolis": "undead_fields",
		"hollowspire_undercroft": "crypt",
		"gumdrop_glade": "candy_fields",
		"sugarplum": "candy_town",
		"reedwater_banks": "lakes",
		"brightwater": "water_town",
		"snowbell_slopes": "snow_fields",
		"snowbell": "snow_town",
		"windup_meadow": "toy_fields",
		"toyholm": "toy_town",
		"crownhaven": "capital_crownhaven",
		"homestead": "housing",
		"hearthvale_1": "housing",
		"hearthvale_2": "housing",
		"hearthvale_3": "housing",
		"hearthvale_4": "housing",
		"hearthvale_5": "housing",
		"hearthvale_6": "housing",
		"hearthvale_7": "housing",
		"hearthvale_8": "housing",
		"hearthvale_9": "housing",
		"hearthvale_10": "housing",
		"hearthvale_11": "housing",
		"hearthvale_12": "housing",
		"lilypad_shore": "beach",
		"petal_paddies": "east_fields",
		"amberleaf_orchard": "candy_fields",
		"mistpine_glen": "forest",
		"marigold_hills": "meadow",
		"thornbriar_vale": "forest",
		"ochre_canyon": "desert",
		"glimmerfen": "swamp",
		"cascade_gorge": "highlands",
		"gloamwood_ruins": "swamp",
		"opal_lagoon": "beach",
		"mistveil_highlands": "highlands",
		"palm_oasis": "desert",
		"amber_badlands": "desert",
		"bellflower_steppe": "meadow",
		"rainmist_lakes": "lakes",
		"thunderhead_ridge": "snow_fields",
		"wraithwater_bay": "undead_fields",
		"duskmoor_heath": "undead_fields",
		"starfall_crater": "starry",
		"sea_coralia": "sea_town",
		"sea_sunlit_shallows": "sea_fields",
		"sea_seagrass_plains": "sea_fields",
		"sea_coral_labyrinth": "sea_fields",
		"sea_shipwreck_graveyard": "sunken",
		"sea_kelp_cathedral": "sea_fields",
		"sea_pearlglow_trench": "sea_fields",
		"sea_lanternjelly_drift": "sea_fields",
		"sea_anemone_gardens": "sea_fields",
		"sea_sunken_colonnade": "sea_fields",
		"sea_drowned_spires": "sea_deep",
		"sea_siren_shoals": "sea_deep",
		"sea_brine_falls": "sea_deep",
		"sea_abyssal_vents": "volcano",
		"sea_bone_reef": "undead_fields",
		"sea_twilight_trench": "sea_deep",
		"sea_leviathan_rift": "sea_deep",
		"sea_midnight_abyss": "sea_deep",
		"sea_throne_of_the_deep": "sea_mvp",
		"sea_galleon_hold": "sea_dungeon",
		"sea_kraken_maw": "sea_dungeon",
		"sky_nimbaria": "sky_town",
		"sky_cloudstep_meadows": "sky_fields",
		"sky_windmill_isles": "sky_fields",
		"sky_rainbow_falls": "sky_fields",
		"sky_balloon_harbor": "sky_fields",
		"sky_thunderspire_peaks": "sky_fields",
		"sky_hailstone_ridge": "sky_fields",
		"sky_aurora_gardens": "sky_fields",
		"sky_crystal_shoals": "sky_fields",
		"sky_feather_vale": "sky_fields",
		"sky_sunforge_ramparts": "sky_high",
		"sky_halo_cloister": "sky_high",
		"sky_gale_canyon": "sky_high",
		"sky_comet_strand": "sky_high",
		"sky_starwind_expanse": "sky_high",
		"sky_nebula_reef": "sky_high",
		"sky_seraph_bastion": "sky_high",
		"sky_eclipse_spires": "sky_high",
		"sky_zenith_sanctum": "sky_mvp",
		"sky_stormeye_vault": "sky_dungeon",
		"sky_celestial_observatory": "sky_dungeon",
		"smile_ban_sabai": "smile_town",
		"smile_golden_paddies": "smile_fields",
		"smile_floating_market": "smile_fields",
		"smile_durian_orchard": "smile_fields",
		"smile_sandstone_ruins": "smile_ruins",
		"smile_sapphire_caverns": "smile_dungeon",
		"smile_emerald_cave": "smile_dungeon",
		"smile_sunset_cape": "smile_mvp",
		"soul_lanternrest": "crypt",
		"soul_wisp_woods": "soul_fields",
		"soul_whispering_pines": "soul_fields",
		"soul_moonmere": "soul_fields"
	}
}