# Configuración de jlauncher — lista de juegos.
#
# Campos por juego ([[game]]):
#   id          (obligatorio) slug interno → nombre de carpeta en jlauncher_data/
#   name        (obligatorio) nombre visible en la lista
#   clone_url   (obligatorio) URL para git clone / git pull
#   run_cmd     (obligatorio) comando que ejecuta el juego (cwd = repo clonado)
#   build_cmd   (opcional)    comando de compilado. Vacío = run_cmd ya compila (p.ej. "make run")
#   version_cmd (opcional)    comando que imprime la versión. Default: "git describe --tags --always"
#   info_url    (opcional)    API de Gitea del repo. Default: derivada de clone_url
#   icon_rel    (opcional)    ruta del icono dentro del repo. Default: "release/icons/icon.png"
#   players     (opcional)    texto del pill de jugadores, p.ej. "1-2 jugadors" (Gitea no lo da)
#   author      (opcional)    texto del pill de autor, p.ej. "JailDesigner"
#
# Otros pills (topics, descripción, fecha de lanzamiento, versión) salen
# automáticamente de Gitea / git; no hace falta escribirlos aquí.

data_dir = "jlauncher_data"

[[game]]
id = "coffee_crisis"
name = "Coffee Crisis"
clone_url = "https://gitea.sustancia.synology.me/jaildesigner-jailgames/coffee_crisis.git"
build_cmd = ""
run_cmd = "make run"
players = "1-2 jugadors"
author = "JailDesigner"

[[game]]
id = "coffee_crisis_arcade_edition"
name = "Coffee Crisis Arcade Edition"
clone_url = "https://gitea.sustancia.synology.me/jaildesigner-jailgames/coffee_crisis_arcade_edition.git"
build_cmd = ""
run_cmd = "make run"
players = "1-2 jugadors"
author = "JailDesigner"

[[game]]
id = "jaildoctors_dilemma"
name = "JailDoctor's Dilemma"
clone_url = "https://gitea.sustancia.synology.me/jaildesigner-jailgames/jaildoctors_dilemma.git"
build_cmd = ""
run_cmd = "make run"
players = "1 jugador"
author = "JailDesigner"

[[game]]
id = "aee"
name = "Aventures en Egipte"
clone_url = "https://gitea.sustancia.synology.me/jaildesigner-jailgames/aee.git"
build_cmd = ""
run_cmd = "make run"
players = "1 jugador"
author = "JailDesigner"

[[game]]
id = "orni_attack"
name = "Orni Attack"
clone_url = "https://gitea.sustancia.synology.me/jaildesigner-jailgames/orni_attack.git"
build_cmd = ""
run_cmd = "make run"
players = "1-2 jugadors"
author = "JailDesigner"

[[game]]
id = "projecte_2026"
name = "Projecte 2026"
clone_url = "https://gitea.sustancia.synology.me/jaildesigner-jailgames/projecte_2026.git"
build_cmd = ""
run_cmd = "make run"
players = "1 jugador"
author = "JailDesigner"
