Task #6: Supply Shed as its own weapon shop, separate from the Workbench

Adds a second UpgradePanel instance (shop "shed") at the Supply Shed's new
ShedCounter node, opened by interact like the Workbench. corn_shooter and
pumpkin_bomb move there ("shop": "shed" in GameConfig.upgrades); the
Workbench's panel (shop "workbench", the default) keeps rapid_fire,
heavy_seeds, and the rest, with "requires" still crossing shops. Co-op buys
go through the same ["buy", id] host gate; a shed_requested signal mirrors
workbench_requested so the partner's own shed panel opens. The shed's
walk-in pouch deposit is unaffected (no interact, not gated by the
counter's reach).

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
This commit is contained in:
Forrest 2026-10-05 15:13:48 -04:00
parent 1ccf825bbf
commit 308854d52c
17 changed files with 260 additions and 64 deletions

View file

@ -77,6 +77,7 @@ costs = {
upgrades = {
"corn_shooter": {
"name": "Corn shooter",
"shop": "shed",
"text": "A gun that fires corn kernels, from afar",
"track": "Weapon"
},
@ -104,6 +105,7 @@ upgrades = {
},
"pumpkin_bomb": {
"name": "Pumpkin bombs",
"shop": "shed",
"text": "Throw a pumpkin that bursts, hurting everything within 3 m (one every 4 s)",
"track": "Weapon"
},