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,32 @@
# Research Post — Researcher job slot
# Produces knowledge, which is consumed by skill upgrades and building research.
# Knowledge is the second scarcity axis (after wood) — the design intent is that
# players must choose between levelling characters fast (knowledge) versus
# building the village faster (wood/stone).
# manual_work_eligible is false here; manual focus stays on wood for PoC clarity.
$schema: "xyvera/content-schema/job/v1"
id: research_post
name: "Research Post"
description: >
Scholars and curious minds study the strange phenomena of this world.
Knowledge produced here is consumed by skill upgrades, building improvements,
and eventually advanced expedition planning.
profession: researcher
output_resource: knowledge
base_output_per_hour: 6.0
secondary_output:
resource: experience
rate_fraction: 0.25 # minor experience trickle — characters learn while working
max_slots: 2
unlock_condition:
building_level: 1 # requires the village hub to be upgraded once
manual_work_eligible: false
passive_cap_hours: 8.0