Crucible: 5th fire for silver and gold bars

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
rope 2026-11-04 11:08:03 +00:00
parent 4eb23fc009
commit 7dc780352c
4 changed files with 42 additions and 12 deletions

17
game.py
View file

@ -177,6 +177,7 @@ FIRES = {
"kitchen": {"name": "Kitchen fire", "icon": "🍳", "skill": "cooking", "glyph": "cooking-pot"},
"kiln": {"name": "Kiln", "icon": "🧱", "skill": "construction", "glyph": "brick-pile"},
"still": {"name": "Still", "icon": "⚗️", "skill": "herblore", "glyph": "erlenmeyer"},
"crucible": {"name": "Crucible", "icon": "💍", "skill": "jewelcrafting", "glyph": "furnace"},
}
FLAMES = [("Red", "#ff6a2a"), ("Gold", "#ffcb3d"), ("White", "#eeeaf8"),
("Blue", "#4fa3ff"), ("Green", "#3ed37a"), ("Violet", "#b07cff")]
@ -1068,9 +1069,9 @@ def _jewel_actions() -> list[dict]:
{source: PROSPECT_ORE}, finds=[(gem, 1, PROSPECT_ODDS)], group="Prospecting"))
actions += [
_action("jc_silver_bar", "jewelcrafting", "Silver bar", 10, 25, 12, {"silver_ore": 1, "logs": 1},
{"silver_bar": 1}, group="Bars"),
_action("jc_gold_bar", "jewelcrafting", "Gold bar", 40, 30, 32, {"gold_ore": 1, "coal": 1},
{"gold_bar": 1}, group="Bars"),
{"silver_bar": 1}, group="Bars", fire="crucible", fuel=0),
_action("jc_gold_bar", "jewelcrafting", "Gold bar", 40, 30, 32, _fuelled({"gold_ore": 1, "coal": 1}, 2),
{"gold_bar": 1}, group="Bars", fire="crucible", fuel=2),
]
for tier, (gem, gem_name, *_rest) in enumerate(GEMS):
for key, slot, noun, _stat, _bonus, bands, gems, shards, offset, _glyph in JEWELLERY:
@ -1682,7 +1683,7 @@ RAID_TRAITS = ["lightly armoured, heavy on archers", "mounted and fast, few bows
# --- world ---------------------------------------------------------------
WORLD_VERSION = 37
WORLD_VERSION = 38
def new_world(now: float, speed: float = 1.0) -> dict:
@ -1956,6 +1957,10 @@ def migrate(world: dict, now: float | None = None) -> dict:
if world["version"] < 37:
_planks_to_frames(world)
world["version"] = 37
if world["version"] < 38:
# The crucible: a fifth fire, for the jeweller's silver and gold.
world["city"]["fires"].setdefault("crucible", new_fire(now))
world["version"] = 38
return world
@ -6850,6 +6855,10 @@ ORDER_RECIPES, ORDER_RAW = _order_sources()
# What changed, shown on the Patch notes page. Newest first; every shipped change adds a
# line here (new / balance / fix), and a new release a new entry on top.
PATCH_NOTES = [
{"date": "2026-11-04", "title": "Crucible", "notes": [
("new", "Crucible: 5th fire, for silver and gold bars."),
("balance", "Gold bar: +1 willow log. White flame or hotter pays it."),
]},
{"date": "2026-11-03", "title": "Combat materials on order", "notes": [
("new", "Work orders: relics, reagents and trophies under Materials ⚔️, by area."),
("new", "Work orders: 🔨 on recipes and gathering, opens the order."),