primeiro commit

This commit is contained in:
2026-02-12 15:25:40 -03:00
commit 0dcfb9c9f1
15 changed files with 2082 additions and 0 deletions

View File

@@ -0,0 +1,86 @@
imports:
- ../shared/finale.yaml
scenes:
- id: intro
commands:
- type: set
key: trust
value: false
- type: set
key: coins
value: 2
- type: background
background: night
- type: character
character: Mira
emotion: calma
- type: say
speaker: Mira
text: "Você acordou. A cidade fica em silêncio antes do amanhecer."
- type: choice
choices:
- text: "Ler o bilhete"
target: read_note
- text: "Ignorar e sair"
target: outside
- id: read_note
commands:
- type: set
key: trust
value: true
- type: set
key: luck
value: 1.5
- type: say
speaker: Narrador
text: "No bilhete está escrito: 'Me encontre na primeira luz. Venha só.'"
- type: goto
target: outside
- id: outside
commands:
- type: background
background: dawn
- type: character
character: Mira
emotion: séria
- type: if
if: "trust == true"
then:
- type: say
speaker: Mira
text: "Você leu. Ótimo."
else:
- type: say
speaker: Mira
text: "Você ignorou o bilhete. Arriscado."
- type: if
if: "coins >= 2"
then:
- type: say
speaker: Narrador
text: "Você ainda tem moedas suficientes para o bonde."
- type: choice
choices:
- text: "Confiar em Mira"
target: trust_path
- text: "Manter distância"
target: doubt_path
- id: trust_path
commands:
- type: set
key: route
value: "confiando"
- type: goto
target: finale
- id: doubt_path
commands:
- type: set
key: route
value: "cautelosa"
- type: goto
target: finale

4
default/script.yaml Normal file
View File

@@ -0,0 +1,4 @@
title: "Ecos ao Amanhecer"
start: intro
imports:
- chapters/act1.yaml

View File

@@ -0,0 +1,19 @@
scenes:
- id: finale
commands:
- type: background
background: city
- type: say
speaker: Narrador
text: "Você caminha pela cidade despertando, rota: {route}."
- type: if
if: "trust == true"
then:
- type: say
speaker: Narrador
text: "O bilhete no seu bolso parece mais quente do que deveria."
else:
- type: say
speaker: Narrador
text: "Você se pergunta se deixou algo passar no escuro."
- type: end

49
default/ui.yaml Normal file
View File

@@ -0,0 +1,49 @@
end_text: "[Fim]"
engine_error_speaker: "Erro de Engine"
character_label_fmt: "Personagem: %s [%s]"
loading_title: "Carregando..."
loading_message: "Validandoo arquivos"
loading_wait: "Aguarde..."
title_subtitle: "Uma Visual Novel Scriptavel"
title_menu_start: "Iniciar"
title_menu_load: "Carregar"
title_menu_quit: "Sair"
title_controls: "Cima/Baixo + Enter"
title_controls_2: "Enter: Selecionar Cima/Baixo: Navegar"
hint_advance: "[Enter / Clique esquerdo]"
hint_ended: "[Esc: Titulo]"
story_controls_1: "Enter: Avancar/Confirmar Esquerda/Direita/Cima/Baixo: Menu Cima/Baixo: Escolhas"
story_controls_2: "F5: Salvar F9: Carregar F2: Debug Esc: Titulo"
notice_new_game: "novo jogo"
notice_loaded: "carregado"
notice_saved: "salvo"
notice_load_failed: "falha ao carregar: %s"
notice_save_failed: "falha ao salvar: %s"
notice_jump_failed: "falha no salto: %s"
notice_jumped: "saltou para %s"
notice_debug_on: "debug ligado"
notice_debug_off: "debug desligado"
flight_check_passed: "carregado com sucesso"
flight_check_one_fmt: "validação falhou: %s"
flight_check_many_fmt: "validação falhou: %d problemas"
flight_missing_script_fmt: "arquivo de script ausente: %s"
flight_duplicate_scene_fmt: "id de cena duplicado: %s"
flight_start_missing_fmt: "cena inicial nao encontrada: %s"
flight_goto_missing_fmt: "cena %s: alvo de goto ausente: %s"
flight_choice_missing_fmt: "cena %s: alvo de escolha ausente: %s"
flight_missing_asset_fmt: "asset ausente: %s"
debug_header: "[MODO DEBUG]"
debug_current_scene: "Cena atual: %s"
debug_jump_prefix: "ID da cena para salto: "
debug_jump_help: "Para pular a uma cena: digite o ID + Enter"
debug_variables: "Variaveis:"
debug_scenes: "Cenas:"
debug_more_fmt: "... +%d mais"
debug_var_fmt: "%s (%s) = %s"
error_banner_fmt: "erro: %v"