ZAP-Hourglass_Timer icon

Hourglass Timer

A sandglass timer to set by your smelter, kiln, oven, spit, fermenter or beehive. Its sand runs with the station's real progress, it turns over when a piece is done, and a bell rings when the load is finished.

By ZAP
Last updated 5 days ago
Total downloads 30
Total rating 0 
Categories Utility Crafting AI Generated
Dependency string ZAP-Hourglass_Timer-1.0.0
Dependants 0 other packages depend on this package

This mod requires the following mods to function

ValheimModding-Jotunn-2.30.2 icon
ValheimModding-Jotunn

Jötunn (/ˈjɔːtʊn/, 'giant'), the Valheim Library was created with the goal of making the lives of mod developers easier. It enables you to create mods for Valheim using an abstracted API so you can focus on the actual content creation.

Preferred version: 2.30.2
denikson-BepInExPack_Valheim-5.4.2360 icon
denikson-BepInExPack_Valheim

BepInEx pack for Valheim. Preconfigured with the correct entry point for mods and preferred defaults for the community.

Preferred version: 5.4.2360

README

Hourglass Timer – the sand runs with the work

A smelter, a kiln or an oven does not tell you how far along it is. Set a sandglass beside it. Its sand runs at the station's own pace: one bar of copper, one loaf of bread or one jar of honey per turn of the glass. When a piece is done the glass turns itself over. When the whole load is done, a small bell rings.

Where Cost
Hourglass Hammer → Crafting, workbench 2 Wood, 4 Resin, 1 Stone
Wall hourglass Hammer → Crafting, workbench 3 Wood, 4 Resin, 1 Stone
Bronze hourglass Hammer → Crafting, forge 2 Bronze, 4 Resin, 1 Stone
Bronze wall hourglass Hammer → Crafting, forge 3 Bronze, 4 Resin, 1 Stone

Clear resin makes the glass, and a stone ground down makes the sand.

Setting it up

  1. Place the standing glass on the floor, on a table, or right on top of the kiln or the smelter. Hang the wall glass on a wall or a beam beside the work, with its board against the wall.
  2. It watches the nearest station whose nearest side is within 4 m. Fires come last: a glass beside a spit over a campfire watches the meat, not the fire.
  3. E switches to the next station in reach. The glass names the station it watches.

A glass keeps its station, even if you later build another one closer.

What it shows

  • The sand in the upper bulb is what is left of the current piece. It runs at the station's speed: at the windmill it runs with the wind.
  • Standing still. If the station stops, the sand stops too: no fuel, no wind, no roof over the spinning wheel, a blocked smoke hole, or no fire under the spit. A fermenter without a roof and walls is started over by the game, and the glass says so. A hive with too much built around it saves up its time and makes up for it once it is free.
  • Turning over. When a piece is done and the next one starts, the glass turns on its pins with a soft knock. When you load an empty smelter, it turns over too.
  • The bell rings when the whole load is done, when food on a spit or in the oven is done, when the mead is ready, when a hive or a sap tap is full, and when a fire burns out. It does not ring for every bar of a full smelter.
  • Run out: an idle station leaves all the sand at the bottom.

At a cooking station every slot cooks at once. The glass follows whatever happens next: a piece getting done, or a done piece burning, which happens at twice its cooking time. It counts the other slots too:

Cooking Station · Boar Meat
0:13 left · 1 done, burns in 0:24

Wood or bronze: how much the glass tells you

The sand never lies. The hover text says as much or as little as the frame allows, and each frame can be set to one of three readouts:

  • Glance (wooden glasses, by default): no times at all. You judge the sand by eye.

    Smelter · Copper Ore
    the sand runs · 3 more waiting

  • Exact (bronze glasses, by default): minutes and seconds, the whole load, and a warning when the fuel runs out first.

    Smelter · Copper Ore
    0:18 left · 3 more, all done in 1:48 · Coal runs out in 0:43

  • Rough: spoken times.

    Smelter · Copper Ore
    under a minute left · 3 more, all done in about 2 minutes · Coal runs out in under a minute

The bronze glass has quarter marks on its posts at three quarters, half and a quarter of the sand. They are spaced by volume, not by height, as on a real glass, so they sit unevenly where the bulb narrows.

The real thing

Sand runs through the neck of a glass at a steady rate, however much sand still lies above it (the Beverloo law for grains through an opening). Equal volumes of sand therefore take equal times. That is why a sandglass keeps time and why the marks follow the volume of the bulb. The sand in these glasses is modelled by volume: the top drains fast at first where the bulb is wide, and the pile below grows as a cone, then fills up.

The glass does not guess. It reads each station's own counter, the same number the game uses to decide when the piece is done:

Station One turn of the glass
Smelter, blast furnace one ore 30 s
Charcoal kiln one piece of wood 15 s
Windmill one barley 10 s in full wind
Spinning wheel one flax 30 s, needs a roof
Eitr refinery one soft tissue 40 s
Cooking station, iron cooking station one piece of meat 25 s (on the iron station lox, serpent, seeker and bonemaw meat 60 s), burns at twice that
Stone oven one dish 50 s, burns at twice that
Fermenter the whole barrel 40 min
Beehive one jar of honey 20 min
Sap collector one unit of sap 60 s
Campfire, hearth, bonfire, hot tub one log 83 min
Braziers, standing torches, sconces one piece of fuel 5½ h (wooden torch 2¾ h)

Stations keep working while you are away, and the game catches up when you come back. The glass then shows where the station has got to. Stations added by other mods work too if they use the game's own smelter, cooking station, fermenter, beehive, sap collector or fireplace.

What it does not change: no station runs faster or slower, and cooking, fuel and fermenting times stay as they are.

Configuration

BepInEx/config/zap.hourglass.cfg

  • Building (server-synced, admin only):
    • StationWood, StationBronze;
    • RecipeWood, RecipeWoodWall, RecipeBronze, RecipeBronzeWall.
  • Reading (server-synced, admin only):
    • ReadoutWood: Glance, Rough or Exact (default Glance);
    • ReadoutBronze (default Exact);
    • Reach: how far a glass looks for a station (1–12 m, default 4 m).
  • Client:
    • TurnSound (default on);
    • Chime (default on);
    • Volume (default 0.8).

Multiplayer and compatibility

  • The station a glass watches is stored with the glass. The stations' counters are the game's own, so every player sees the same sand.
  • Every player and the server need the mod. It requires Jötunn.
  • Everything is built at runtime. There are no asset bundles.

Deutsch

Sanduhr und Wandsanduhr (Hammer → Handwerk, an der Werkbank: 2 bzw. 3 Holz, 4 Harz, 1 Stein), dazu beide in Bronze (an der Schmiede: 2 bzw. 3 Bronze, 4 Harz, 1 Stein). Klares Harz gibt das Glas, ein zermahlener Stein den Sand.

Aufstellen: Stell die Sanduhr auf den Boden, auf einen Tisch oder direkt oben auf Meiler oder Schmelzofen. Die Wandsanduhr hängst du mit dem Brett an eine Wand oder einen Balken neben der Arbeit. Jede Sanduhr beobachtet die nächste Station, deren nächste Seite höchstens 4 m entfernt ist. Feuer kommen zuletzt: Neben einem Bratspieß über dem Lagerfeuer beobachtet sie das Fleisch. Mit E wechselst du zur nächsten Station in Reichweite. Eine Sanduhr behält ihre Station, auch wenn du später eine nähere baust.

Was sie zeigt: Der Sand oben ist der Rest des aktuellen Stücks und rinnt im Takt der Station, an der Windmühle mit dem Wind. Steht die Station still (kein Brennstoff, kein Wind, kein Dach, Rauch zieht nicht ab, kein Feuer unter dem Spieß; ein Gärbottich ohne Dach und Wände beginnt im Spiel von vorn), steht auch der Sand. Ist ein Stück fertig, dreht sich das Glas auf seinen Zapfen um. Eine kleine Glocke läutet, wenn die ganze Ladung fertig ist, wenn Essen auf dem Spieß oder im Ofen gar ist, wenn der Met fertig ist, wenn Bienenstock oder Saftsammler voll sind und wenn ein Feuer erlischt. Am Bratspieß folgt die Uhr dem, was als Nächstes passiert, und zählt die übrigen Plätze mit: „noch 0:13 · 1 fertig, brennt in 0:24 an“.

Holz oder Bronze: Der Sand stimmt immer. Wie viel der Text verrät, ist je Fassung einstellbar. Die Holzuhr steht auf Glance und nennt keine Zeiten, du schätzt am Sand. Die Bronzeuhr steht auf Exact: „noch 0:18 · 3 weitere, alles fertig in 1:48 · Kohle ist in 0:43 aufgebraucht“. Dazwischen liegt Rough: „noch keine Minute · 3 weitere, alles fertig in etwa 2 Minuten“. Die Bronzeuhr hat Viertelmarken an den Säulen, nach Sandvolumen gesetzt wie bei einem echten Glas.

Echt: Sand rinnt gleichmäßig durch den Hals, egal wie viel noch darüber liegt. Deshalb misst eine Sanduhr die Zeit, und deshalb ist der Sand hier nach Volumen gerechnet. Die Uhr rät nicht, sie liest den Zähler der Station selbst: Schmelzofen 30 s je Erz, Meiler 15 s, Windmühle 10 s bei vollem Wind, Spinnrad 30 s, Eitr-Raffinerie 40 s, Bratspieß 25 s (auf der eisernen Kochstelle Lox, Seeschlange, Sucher- und Knochenschlund-Fleisch 60 s), Ofen 50 s, Gärbottich 40 min, Bienenstock 20 min je Honig, Saftsammler 60 s, ein Scheit im Lagerfeuer 83 min. Keine Station läuft schneller oder langsamer als im Spiel.