0.4.0: map (N) that fills in as you explore and a compass (closes #1); Old Tam's seam and Cove tips (voiced); the journey and sea fish in the guide; trailer with the tunnel and the Cove; protocol 16
This commit is contained in:
@@ -165,14 +165,18 @@ def ref_sections(data):
|
||||
total = sum(f["weight"] for f in w["fish"])
|
||||
total_dd = sum(f.get("dawn_dusk", f["weight"]) for f in w["fish"])
|
||||
for f in w["fish"]:
|
||||
depth = f.get("min_depth", 0) or w.get("min_depth", 0)
|
||||
rows.append(["<b>%s</b>" % esc(name(f["id"])), esc(water.title()),
|
||||
"%g m" % depth,
|
||||
"%d%%" % round(100 * f["weight"] / total),
|
||||
"%d%%" % round(100 * f.get("dawn_dusk", f["weight"]) / total_dd)])
|
||||
m = fish.get("modifiers", {})
|
||||
out.append(("fish", "Fish", "<p>What bites where. Bites come %g to %g s after the float settles, sooner at dawn "
|
||||
"(05:00-08:30) and dusk (17:00-20:30) and in rain.</p>"
|
||||
% tuple(fish["waters"]["lake"]["bite_wait"])
|
||||
+ table(["Fish", "Water", "Usually", "At dawn and dusk"], rows)))
|
||||
waits = ", ".join("%g to %g s in the %s" % (w["bite_wait"][0], w["bite_wait"][1], water)
|
||||
for water, w in fish.get("waters", {}).items())
|
||||
out.append(("fish", "Fish", "<p>What bites where. Bites come %s after the float settles, sooner at dawn "
|
||||
"(05:00-08:30) and dusk (17:00-20:30) and in rain. A fish that needs deeper water only bites "
|
||||
"where the float is at least that deep (the share shown is where it can bite).</p>"
|
||||
% waits
|
||||
+ table(["Fish", "Water", "Deep enough", "Usually", "At dawn and dusk"], rows)))
|
||||
|
||||
# Server settings.
|
||||
desc = {
|
||||
@@ -216,7 +220,7 @@ PAGE = """<!doctype html>
|
||||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<title>Emberwild guide: everything in the game</title>
|
||||
<meta name="description" content="How to play Emberwild: controls, survival, food, building, weather, wildlife, hunting, fishing, iron, the Old Stag and multiplayer, with every item, recipe and creature.">
|
||||
<meta name="description" content="How to play Emberwild: controls, survival, food, building, weather, wildlife, hunting, fishing, iron, the Old Stag, the journey to the Cove and multiplayer, with every item, recipe and creature.">
|
||||
<style>
|
||||
:root { --bg: #15110d; --panel: #221b14; --line: #3a2e22; --text: #f1e8da; --dim: #b8a892;
|
||||
--ember: #e8833a; --ember-hi: #f6a35c; --mark: #5a3a14; }
|
||||
|
||||
Reference in New Issue
Block a user