[game]
target_fps = 30      # The target frames per second for the game.
game_tick_ms = 250   # The milliseconds per game tick.
ticks_per_minute = 4 # The amount of ticks per in-game minute.
movement_units_per_sec = 4 # Base movement speed in world units per second.
turn_speed_deg_per_sec = 120 # First-person turn speed in degrees per second.
firstp_eye_level = 1.7 # First-person camera eye height above base Y.

entity_block_mode = "always" # The block mode, "always" or "never"
auto_create_player = true    # Whether to auto create a player entity.

# The name of the region to start the game in.
start_region = ""

# The name of the start scren. If empty, shows the start region
start_screen = ""

# The name of the base currency
base_currency_name = "Gold"

# The symbol of the base currency
base_currency_symbol = "G"

# The supported gear slots
gear_slots = ["legs", "head", "torso"]

# The supported weapon slots
weapon_slots = ["main_hand", "off_hand"]

# The attribute which handles health & death
health = "HP"

# Enables generated marker ramp shading for avatars
avatar_shading = true

# Enables generated marker ramp shading for skin markers
avatar_skin_auto_shading = false

[say]
# Duration in in-game minutes a say bubble stays visible.
duration = 1.0

# Default say color used when category is empty or unknown.
default = "#E5E501"

# Draw a background behind say text.
background_enabled = true

# Background color for say text (supports alpha as #RRGGBBAA).
background_color = "#00000080"

[viewport]
width = 960
height = 540
grid_size = 32

[render]
# AO samples (number of rays, 0.0 = disable AO, default: 8)
ao_samples = 2.0

# AO radius (0.0 = disable AO, default: 0.5)
ao_radius = 0.5

# Reflection samples (0 = disabled, >=1 = GGX PBR reflection rays)
reflection_samples = 0.0

# Bump strength (0.0 = disable bump mapping, default: 1.0)
bump_strength = 1.0

# Max transparency bounces (1.0 = no transparency, default: 8)
max_transparency_bounces = 8.0

# Max shadow distance (0.0 = no distance limit, default: 10.0)
max_shadow_distance = 10.0

# Max sky distance (0.0 = no sky visibility check, default: 50.0)
max_sky_distance = 50.0

# Max shadow steps for transparent shadows (0.0 = no transparent shadows, default: 0)
max_shadow_steps = 0.0

# Static sky color (used when simulation is disabled)
sky_color = "#87CEEB"

# Static sun color (used when simulation is disabled)
sun_color = "#FFFACD"

# Sun intensity/brightness multiplier
sun_intensity = 1.0

# Static sun direction as [x, y, z] (used when simulation is disabled)
sun_direction = [-0.5, -1.0, -0.3]

# Enable/disable sun lighting
sun_enabled = true

# Ambient light color
ambient_color = "#CCCCCC"

# Ambient light strength (0.0 - 1.0)
ambient_strength = 0.3

# Fog color
fog_color = "#808080"

# Fog density (0.0 = no fog, higher values = denser fog)
fog_density = 0.0

[simulation]
# Enable procedural daylight simulation (overrides static sky_color, sun_color, sun_direction)
enabled = true

# Sky color at night (dark)
night_sky_color = "#050510"

# Sky color at sunrise/sunset (morning)
morning_sky_color = "#FF9966"

# Sky color at midday
midday_sky_color = "#87CEEB"

# Sky color in the evening
evening_sky_color = "#FF8040"

# Sun/moon color at night (very dim)
night_sun_color = "#1A1A26"

# Sun color at sunrise/sunset (morning)
morning_sun_color = "#FFCC99"

# Sun color at midday
midday_sun_color = "#FFFFF2"

# Sun color in the evening
evening_sun_color = "#FFB380"

# Sunrise time in 24-hour format (e.g., 6.5 = 6:30 AM)
sunrise_time = 6.0

# Sunset time in 24-hour format (e.g., 18.5 = 6:30 PM)
sunset_time = 18.0
