-- Deployed as Server/debbzoid_spawnpoints.lua, and currently unused: nothing -- reads it, because no entry in spawnregions.lua names it with -- serverfile = "debbzoid_spawnpoints.lua". The contents below are the stock -- sample and mean nothing until such an entry exists. -- -- This is the file to use if a spawn point has to move rather than disappear. -- Point a region at it by serverfile instead of file, and put that region's -- whole spawn table here -- the serverfile replaces the map's list, it does not -- merge with it, so anything left out is gone. -- -- Keeping "Echo Creek, KY" as a spawn choice while freeing the diner would look -- like this, with an outdoor square -- the parking lot or the road, not another -- building, or that building becomes the unclaimable one instead: -- -- unemployed = { -- { posX = , posY = , posZ = 0 }, -- } -- -- Coordinates are absolute world tiles when worldX/worldY are omitted; with -- them, the world position is worldX * 300 + posX (same for Y). -- -- The filename is not free-form: serverfile resolves inside the server's -- Server/ directory, and the deploy names this copy after zomboid_server_name. -- Rename the server and the serverfile reference has to follow, or the region -- loses its points and drops out of the list. function SpawnPoints() return { unemployed = { { worldX = 40, worldY = 22, posX = 67, posY = 201 } } } end