From 5a1b9f74466c98fb941936211bc7ffdd5d383d3c Mon Sep 17 00:00:00 2001 From: Ryan Barlow <7389646+ryanbarlow97@users.noreply.github.com> Date: Thu, 24 Sep 2026 20:44:40 +0000 Subject: [PATCH 1/2] fix: resolve the local kit-skin fallback from the workspace root The fallback looked for RPCharacters under a Workspace/ folder that the current layout does not have. Look for the sibling rpcharacters checkout instead, so local runs find its bundled kit-skin PNGs. Co-Authored-By: Claude Opus 5.5 (1M context) --- backend/src/characters/lore_items.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/backend/src/characters/lore_items.py b/backend/src/characters/lore_items.py index 8e2e1b7a..592bc90d 100644 --- a/backend/src/characters/lore_items.py +++ b/backend/src/characters/lore_items.py @@ -881,11 +881,10 @@ def _kit_skins_search_dirs() -> list: dirs.append(Path(env)) # ProvinceSystem/backend/assets/kit_skins (plugin sync target) dirs.append(_kit_skins_dir()) - # Monorepo fallback: RPC plugin resource shipped with the jar (local only) + # Workspace fallback: sibling RPCharacters checkout's bundled assets (local only) tfmc_root = _backend_root().parent.parent dirs.append( tfmc_root - / "Workspace" / "rpcharacters" / "src" / "main" From bdda1aabf06ca7355f9c1a1e679b690785ca8d45 Mon Sep 17 00:00:00 2001 From: Ryan Barlow <7389646+ryanbarlow97@users.noreply.github.com> Date: Thu, 24 Sep 2026 20:44:40 +0000 Subject: [PATCH 2/2] docs: remove one-off output cleanup notes from the README Co-Authored-By: Claude Opus 5.5 (1M context) --- README.md | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index 5e66d745..5bf90027 100644 --- a/README.md +++ b/README.md @@ -40,15 +40,12 @@ python -m src.scripts.mapgen.mapmodes.fertility_mapmode --map main Run these commands before starting the backend; regeneration updates compiled definitions as well as map images. Docker Compose mounts the same output directory. -When updating an existing deployment across the output-file cleanup, back up its -output directory outside the checkout before pulling, then restore it afterward. Preserve runtime history and other server data: map regeneration only replaces rendered map assets, and does not reconstruct historical records. -The retained ammo sprite source is `frontend/assets/wiki/ammo_sheet.png`. The -grindstone assets are in `frontend/public/wiki/models/stations/` and -`frontend/public/wiki/textures/stations/grindstone/`; temporary duplicate copies -do not need to be committed. +The ammo sprite source is `frontend/assets/wiki/ammo_sheet.png`. The grindstone +assets are in `frontend/public/wiki/models/stations/` and +`frontend/public/wiki/textures/stations/grindstone/`. ## License