Initial scaffold: Nakama backend, Godot client, content schema

Sets up the Step 1 (Project Foundation) and Step 2 (Content Schemas) scaffold
from the implementation sequence. Includes Docker Compose stack, Nakama
TypeScript module stubs, PostgreSQL migration, Godot 4 project shell with
scene stubs and NakamaClient singleton, YAML content schemas for all entity
types, and example data for 3 characters, 2 jobs, and all 7 core resources.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
caoimhinr 2026-06-02 23:33:06 +02:00
commit fb00954954
37 changed files with 2730 additions and 0 deletions

View file

@ -0,0 +1,77 @@
# Lyra Stoneheart / Leon Stoneheart
# SSR | Tank | Miner
# Starter-region character. Designed to anchor the early assignment economy:
# she is the primary miner for the PoC and functions as the front-row tank
# in combat. Her kit is intentionally simple — the first character the player
# will level up and use to validate both the assignment and combat systems.
$schema: "xyvera/content-schema/character/v1"
id: lyra_stoneheart
name:
female: "Lyra Stoneheart"
male: "Leon Stoneheart"
rarity: SSR
combat_role: tank
profession: miner
region_origin: heartwood_vale
element: earth
personality: stoic_protector
base_stats:
hp: 1200
attack: 80
defense: 160
speed: 70
crit_rate: 0.04
crit_damage: 1.4
skills:
- id: stone_resolve
name: "Stone Resolve"
type: passive
description: >
Passive: when HP drops below 40%, gain a shield equal to 15% of max HP.
Triggers once per combat.
max_level: 5
upgrade_cost_per_level:
knowledge: 20
gold: 150
- id: seismic_slam
name: "Seismic Slam"
type: ultimate
description: >
Deals 180% ATK as earth damage to all front-row enemies and reduces their
defense by 20% for 2 turns.
max_level: 5
upgrade_cost_per_level:
knowledge: 40
gold: 300
- id: miners_grit
name: "Miner's Grit"
type: passive
description: >
Village passive: when assigned to a Mining slot, stone output gains an
additional +10% per skill level on top of the suitability multiplier.
max_level: 5
upgrade_cost_per_level:
knowledge: 15
gold: 100
suitability_bonuses:
primary_profession_multiplier: 1.6 # slightly above default 1.5 due to Miner's Grit
secondary_professions:
- construction # knows how to work with stone
bond_hooks:
- loyalty
- protector
- stoic
lore_summary: >
A former quarry foreman who arrived in this world mid-shift, still gripping her pickaxe.
She doesn't talk much about home, but she builds like she's trying to recreate it.