ZAP-Double_Beds icon

Double Beds

Eight beds for two, from a straw pallet to an Ashlands ember bed: each half with its own owner and spawn point, blankets in ten Viking-age dyes, a box bed and a canopy bed that are their own shelter, an ember bed that is its own fire.

By ZAP
Last updated 5 days ago
Total downloads 137
Total rating 0 
Categories Building AI Generated
Dependency string ZAP-Double_Beds-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

Double Beds – a bed for two

A vanilla bed belongs to one viking. These beds have two places, each with its own owner and spawn point: you claim one half, your partner the other, and both of you wake up in your own place. Eight beds follow the game from the first straw pallet to an ember bed of Ashlands stone. Three of them do more than look good: the box bed and the canopy bed close around their sleepers and are their own shelter, and the ember bed is its own fire. Blankets come in ten colours of Viking-age dyes, chosen while you place the bed.

Bed Where Cost Comfort
Straw pallet for two Hammer → Furniture, workbench 8 Wood, 4 Deer Hide, 4 Leather Scraps 1
Plank double bed Hammer → Furniture, workbench 16 Wood, 6 Deer Hide, 6 Leather Scraps 1
Bunk bed Hammer → Furniture, workbench 24 Wood, 6 Deer Hide, 8 Leather Scraps 1
Box bed (lokrekkja) Hammer → Furniture, workbench 30 Wood, 12 Fine Wood, 12 Bronze Nails, 4 Troll Hide 1
Jarl's bed Hammer → Furniture, workbench 24 Fine Wood, 6 Wolf Pelt, 4 Silver, 8 Leather Scraps 2
Canopy bed Hammer → Furniture, workbench 30 Fine Wood, 24 Linen Thread, 2 Lox Pelt, 4 Tar, 10 Iron Nails 2
Dvergr marble bed Hammer → Furniture, stonecutter 16 Black Marble, 10 Yggdrasil Wood, 6 Copper, 12 Linen Thread, 2 Refined Eitr 3
Ember bed Hammer → Furniture, stonecutter 30 Grausten, 4 Flametal, 6 Asksvin Hide, 12 Linen Thread, 2 Surtling Core 3

The game's own beds give comfort 1 (bed) and 2 (dragon bed). As with them, only the best bed nearby counts.

Two places

  1. Look at the half you want and press E: you claim it, and your spawn point is set there. On the bunk bed the two places are the lower and the upper bunk.
  2. Your partner does the same on the other half.
  3. E on your own half sets your spawn point back to it, or lets you lie down when it is already your spawn point.
  4. Shift + E gives your place up again (and clears your spawn point if it was there).
  • Each player owns at most one half of a bed. Looking at someone else's half, E takes the free one.
  • The hover text names both owners:

    Plank double bed
    Left: Astrid Right: free
    [E] Claim this place (Right)

  • The rules for sleeping are the game's own, per half: a roof and walls, no enemies around, a fire nearby, not wet, evening or night.
  • When you get up, you stand beside the bed on your own side (out of the open front of the box bed), not on top of it.

Warm together

Two who sleep side by side keep each other warm. When the night is over and someone lies in the other half of your bed, you wake with +1 comfort for the Rested bonus, which is one more minute of Rested:

Warm together with Astrid: +1 comfort

The bonus counts for the morning you wake up, not for the rest of the day's comfort.

The beds

  • Straw pallet. Four barked logs on the floor, a straw sack, a wool blanket and a deer hide.
  • Plank double bed. The settler's bed made wide, with four posts and a headboard.
  • Bunk bed. Two bunks, one above the other, with rungs at the foot. Fits under a 2 m ceiling.
  • Box bed (lokrekkja). A closed cupboard bed of tarred boards. When someone lies inside, the two doors slide shut in their groove. Its walls and roof are a shelter of their own: you can sleep in it in a barn, in a half-built hall or out in the open, as long as a fire is near.
  • Jarl's bed. Turned posts with silver knobs, a round shield on the headboard and wolf pelts over the foot.
  • Canopy bed. Four tarred posts with carved dragon heads carry a wool canopy. While someone sleeps, the curtains are drawn round the bed, and then the bed is its own shelter, like the box bed.
  • Dvergr marble bed. Black marble banded in copper, a Yggdrasil-wood headboard and two Dvergr lanterns that dim while you sleep.
  • Ember bed. A hollow grausten plinth with embers glowing behind iron grates. The bed is its own fire, so you need no hearth beside it. It still needs a house: a roof and walls.

Blanket colours

While a bed is selected in the hammer, a colour strip shows at the bottom of the screen.

  • N picks the next colour, Shift + N the one before. The placement ghost shows it. Each bed remembers its own colour and starts with the one of its hammer icon.
  • K dyes the blanket of a bed you look at (within building reach, where the ward lets you build).
  • Copying a bed (Shift + remove, as for any piece) also takes its colour.

Dyeing is free: the wool is part of the bed. The colours are blankets, curtains and the canopy; pelts and wood keep their own colour.

The real thing

Box beds (Old Norse lokrekkja, "closed bed") stood along the walls of Norse longhouses and later farmhouses all over Scandinavia, Iceland and Scotland: a cupboard with a bed in it, closed with sliding doors or curtains. In a hall with one fire and no inner walls, the box kept the warmth of the sleepers in and the draught out. That is what the bed does in the game: shut, its own boards are the cover the game asks for. The cover test is the game's own: rays in 17 directions from the middle of the bed (it needs 80 % of them blocked) and a cast straight up for the roof.

Heated beds are as old: the Chinese kang is a brick platform with flues from the stove running through it, and Roman floors were warmed from below by the hypocaust. The ember bed is the Ashlands version: embers in a stone plinth.

The dyes are the ones found in Viking-age textiles:

Colour Dye
Undyed and grey wool the sheep's own colours
Madder red, madder rose madder root (Rubia tinctorum), strong and diluted
Weld yellow weld (Reseda luteola)
Woad blue woad (Isatis tinctoria)
Woad green woad dyed over weld
Walnut brown walnut husks
Lichen purple orchil lichens
Oak-gall black oak galls with iron

Rested lasts 8 minutes at comfort 1 and one minute longer for each further level of comfort (the game's numbers). Sleeping side by side adds a level.

Configuration

BepInEx/config/zap.doublebeds.cfg

Building (server-synced, admin only)

  • RecipeStraw, RecipePlank, RecipeBunk, RecipeBox, RecipeJarl, RecipeCanopy, RecipeDvergr, RecipeEmber: build costs as Item:amount,Item:amount.
  • Station… (same names): crafting station prefab, empty for none.
  • Comfort… (same names): comfort of each bed, 0 to 5.

Sleeping (server-synced, admin only)

  • WarmTogether (on): the comfort bonus for sleeping side by side.
  • WarmTogetherComfort (1): how much comfort it adds, 1 to 3.
  • ClosedBedIsShelter (on): the box bed and the canopy bed are their own shelter while shut. Off: they need a house like any bed.
  • EmberBedIsWarm (on): the ember bed is the fire a sleeper needs. Off: it needs a fire like any bed.

Client

  • KeyColor (N), KeyRecolor (K): the colour keys while placing a bed.
  • ShowPalette (on): the colour strip.
  • Sounds (on), Volume (0.7): doors and curtains.

Multiplayer and compatibility

  • Everyone needs the mod (server and clients). Owners and colours are shared through the bed's network data; recipes and the sleeping options come from the server.
  • The first half of a double bed uses the game's own owner fields, so anything that reads a bed's owner sees that player.
  • Respawning, removing a bed (it clears its owners' spawn points) and the "everybody in bed" rule for skipping the night work as with the game's beds.
  • Doors and curtains move on every client from what each sees: they shut when someone lies in the bed.

Deutsch

Ein Bett für zwei. Ein Vanilla-Bett gehört einem Wikinger. Diese Betten haben zwei Plätze, jeder mit eigenem Besitzer und eigenem Spawnpunkt. Acht Betten begleiten das Spiel vom Strohlager bis zum Glutbett der Aschlande. Das Kastenbett (Lokrekkja) und das Himmelbett schließen sich um die Schlafenden und sind dann ihr eigener Schutz, das Glutbett ist sein eigenes Feuer. Die Decken gibt es in zehn Farben aus Pflanzenfarben der Wikingerzeit.

Zwei Plätze. Schau auf die gewünschte Hälfte und drücke E: Der Platz gehört dir, dein Spawnpunkt liegt dort. Beim Etagenbett sind es die untere und die obere Koje. E auf dem eigenen Platz setzt den Spawnpunkt zurück oder legt dich schlafen. Umschalt + E gibt den Platz wieder frei. Jeder hat höchstens einen Platz pro Bett. Fürs Schlafen gelten die Regeln des Spiels: Dach und Wände, keine Feinde, ein Feuer in der Nähe, nicht nass, Abend oder Nacht. Beim Aufstehen stehst du neben dem Bett auf deiner Seite.

Zu zweit warm. Liegt beim Aufwachen jemand in der anderen Hälfte, wachst du mit +1 Komfort für den Ausgeruht-Bonus auf, also einer Minute mehr Ausgeruht.

Die Betten. Strohlager, Planken-Doppelbett und Etagenbett für den Anfang; alle bis zum Himmelbett an der Werkbank, Dvergr- und Glutbett am Steinmetztisch. Das Kastenbett schiebt seine Türen zu, wenn jemand darin liegt, und ist dann sein eigenes Dach: Schlafen geht damit auch in der Scheune oder im Freien, solange ein Feuer nah ist. Jarlsbett mit Silberknäufen und Wolfsfellen. Das Himmelbett zieht seine Vorhänge zu und schützt dann ebenso. Dvergr-Marmorbett mit zwei Laternen, die beim Schlafen gedämpft leuchten, und das Glutbett mit Glut hinter Eisengittern, das kein Feuer daneben braucht, wohl aber ein Haus mit Dach und Wänden. Komfort 1, 1, 1, 1, 2, 2, 3, 3; wie im Spiel zählt nur das beste Bett in der Nähe.

Deckenfarben. Mit einem Bett im Hammer wählt N die nächste Farbe (Umschalt + N zurück), K färbt das Bett, auf das du schaust. Färben kostet nichts. Kopieren eines Betts übernimmt seine Farbe.

Echt. Kastenbetten (lokrekkja) standen in nordischen Langhäusern an den Wänden und hielten die Wärme der Schlafenden; beheizte Betten gab es als chinesischen Kang und römisches Hypokaustum. Die Farben stammen aus Krapp, Wau, Waid, Walnussschalen, Flechten und Gallapfeltinte.

Einstellungen in BepInEx/config/zap.doublebeds.cfg: Rezepte, Stationen und Komfort je Bett, WarmTogether, WarmTogetherComfort, ClosedBedIsShelter, EmberBedIsWarm (vom Server), Tasten, Farbleiste und Klänge (lokal). Alle Spieler brauchen den Mod.