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,79 @@
# Sable Quillworth / Sebastian Quillworth
# SR | Support | Researcher
# The knowledge-economy anchor. Researchers unlock skill upgrades and building
# improvements, so this character is critical to demonstrating that the
# profession assignment system has strategic depth beyond raw resource output.
# Support role in combat — placed in the backrow, buffs the team.
$schema: "xyvera/content-schema/character/v1"
id: sable_quillworth
name:
female: "Sable Quillworth"
male: "Sebastian Quillworth"
rarity: SR
combat_role: support
profession: researcher
region_origin: heartwood_vale
element: "null"
personality: methodical_curious
base_stats:
hp: 760
attack: 95
defense: 110
speed: 90
crit_rate: 0.05
crit_damage: 1.5
skills:
- id: analytical_boost
name: "Analytical Boost"
type: active
description: >
Increases all allies' ATK by 18% and DEF by 12% for 3 turns. At skill
level 3+, also removes one debuff from a random ally.
max_level: 5
upgrade_cost_per_level:
knowledge: 30
gold: 200
- id: field_notes
name: "Field Notes"
type: passive
description: >
Passive: at the start of each combat round, Sable gains 1 knowledge
(village resource) per enemy still alive (capped at 5 per round, 20 per combat).
Knowledge gained this way is credited to the player's balance at combat end.
max_level: 3
upgrade_cost_per_level:
knowledge: 20
gold: 150
- id: deep_study
name: "Deep Study"
type: passive
description: >
Village passive: when assigned to a Research Post, knowledge output is
increased by 30% and skill upgrade costs for all characters are reduced by 5%.
The cost reduction stacks additively if multiple researchers are assigned.
max_level: 5
upgrade_cost_per_level:
knowledge: 35
gold: 250
suitability_bonuses:
primary_profession_multiplier: 1.5
secondary_professions: [] # purely academic; no secondary bonus
bond_hooks:
- intellectual
- reserved
- hidden_warmth
lore_summary: >
A librarian's assistant who was cataloguing a collection of supposedly mundane travel
journals when the pages started describing places she'd never heard of — and then
she was in one of them. She brought three notebooks and has already filled two.