Skip to content

Region Database

Usage: Use the search box to filter regions by ID or description. Click on a region ID to copy it to clipboard.

Incomplete Database: This region database is currently under development and does not contain all regions available in the game. More entries will be added in future updates.

Region IDDescriptionRestricted AreasCurfew Enabled
DOWNTOWNCentral downtown areaNoYes
WESTVILLEWestvilleNoYes

Example Usage

lua
-- Get the player's current region
local currentRegion = GetPlayerRegion()
Log("Player is in region: " .. currentRegion)

-- Check if the region has curfew
local isCurfewActive = IsRegionCurfewActive(currentRegion)
if isCurfewActive then
  Log("Curfew is active in this region!")
  
  -- Get curfew time range
  local startTime, endTime = GetRegionCurfewTime(currentRegion)
  Log("Curfew runs from " .. startTime .. " to " .. endTime)
  
  -- Show notification to player
  ShowNotification("Warning: Curfew is active from " .. startTime .. " to " .. endTime)
end

-- Check if player is in a specific region
if currentRegion == "DOWNTOWN" then
  Log("Player is downtown")
  
  -- Do region-specific things
  local npcsInRegion = GetNPCsInRegion("DOWNTOWN")
  Log("There are " .. #npcsInRegion .. " NPCs in downtown")
end

Released as Beta Software under the GPL-3.0 License.