-- Spawn regions offered to new characters, deployed as -- Server/debbzoid_spawnregions.lua. PZ reads it at every server start, so a -- change here takes effect on the live world after a restart -- no wipe. -- -- Each entry either points at a map's own list (file = ...) or at a file in the -- server's Server/ directory (serverfile = ...). Both are loaded by -- media/lua/shared/SpawnRegions.lua; a region whose file is missing logs -- "spawn points may be broken" to the server console and is dropped from the -- list, taking its spawn choices with it. -- -- This list is also what makes buildings unclaimable. SafeHouse.canBeSafehouse -- walks every point of every region here, resolves each to a grid square, and -- refuses the claim with "Spawn location. Cannot be claimed." if the square -- being claimed is inside that square's building. It does not care which -- profession the point belongs to, whether the region is reachable, or whether -- the player is an admin. A point on an outdoor square blocks nothing, because -- an outdoor square has no building. -- -- 2026-08-31: "Echo Creek, KY" is commented out below. Its spawn list holds -- exactly one point -- posX 3573, posY 10899, unemployed only -- and that point -- sits inside the Echo Creek gas station/diner, which is why the diner cannot -- be claimed as a safehouse. There is no server option that lifts the -- restriction, so removing the region is the only way to free the building -- short of moving the point somewhere else (see spawnpoints.lua). -- -- The cost of removing it: unemployed characters lose Echo Creek as a spawn -- choice. Nothing else changes -- the town, its loot and its buildings stay in -- the world, and no existing character is affected. function SpawnRegions() return { { name = "Brandenburg, KY", file = "media/maps/Brandenburg, KY/spawnpoints.lua" }, -- { name = "Echo Creek, KY", file = "media/maps/Echo Creek, KY/spawnpoints.lua" }, { name = "Ekron, KY", file = "media/maps/Ekron, KY/spawnpoints.lua" }, { name = "Fallas Lake, KY", file = "media/maps/Fallas Lake, KY/spawnpoints.lua" }, { name = "Irvington, KY", file = "media/maps/Irvington, KY/spawnpoints.lua" }, { name = "March Ridge, KY", file = "media/maps/March Ridge, KY/spawnpoints.lua" }, { name = "Muldraugh, KY", file = "media/maps/Muldraugh, KY/spawnpoints.lua" }, { name = "Riverside, KY", file = "media/maps/Riverside, KY/spawnpoints.lua" }, { name = "Rosewood, KY", file = "media/maps/Rosewood, KY/spawnpoints.lua" }, { name = "Valley Station, KY", file = "media/maps/Valley Station, KY/spawnpoints.lua" }, { name = "West Point, KY", file = "media/maps/West Point, KY/spawnpoints.lua" }, } end