Please disclose if any significant portion of your mod was created using AI tools by adding the 'AI Generated' category. Failing to do so may result in the mod being removed from Thunderstore.
ModularCarpets
Modular carpets for the hammer: tiles, corners, junctions and stair runners that snap onto stone stairs. 11 patterns in 10 colours from crafting materials. Build any width or shape; schematic-mod safe.
| Last updated | 4 hours ago |
| Total downloads | 85 |
| Total rating | 0 |
| Categories | Mods Server-side Client-side Building AI Generated Deep North Update |
| Dependency string | Kirtle-ModularCarpets-0.3.0 |
| Dependants | 1 other package depends on this package |
This mod requires the following mods to function
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.2360ValheimModding-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.3README
Modular Carpets (Valheim)
Carpets for the hammer that fit together like building pieces: floor tiles with ends, corners and junctions, pieces to build carpets of any width or shape, and stair runners that follow the zig-zag of the stone, grausten and black marble stairs and snap directly onto them. Open wood/ashwood stairs are intentionally not supported.
Eleven patterns, each in ten colours taken from crafting materials, each with its own hammer tab (Modular Carpets - Jute, - Twill, ...). Every pattern and colour is its own set of pieces, so schematic and blueprint mods keep them exactly as built.
Each carpet is a clone of the vanilla straw rug with its model swapped out, so health, comfort, burning, sounds and effects behave like a vanilla rug.
Installing
Install ModularCarpets from Thunderstore with r2modman or the Thunderstore app; it needs BepInEx and Jötunn, which they install with it. In multiplayer, everyone on the server needs the mod.
Pieces
Every pattern, in every colour, comes as this set of pieces (shown in Jarl, red jute):

The edge, outer corner, inner-corner and fill pieces combine into carpets of any width or shape: a field of fills bordered by edges and outer corners makes a room rug, two edges side by side make a 4 m carpet, and the inner-corner pieces or the reducer narrow a wide carpet to a regular one.

Stair runners snap onto stone, grausten and black marble stairs. For a staircase several stairs wide, use the left and right edge runners on the outside and fill runners between them; stair runners can't be mirrored by rotating, so their edge comes in a left and a right version (as seen walking up).

| Piece | Mesh | Ribbon (border) |
|---|---|---|
| Carpet | 2×2 | both sides |
| Carpet end | 2×2 | both sides + one end |
| Carpet corner | 2×2 | two adjacent sides, turning around the outside |
| Carpet T-junction | 2×2 | one side; inner corners toward the branches |
| Carpet crossing | 2×2 | inner corners only |
| Carpet edge | 2×2 | one side |
| Carpet outer corner | 2×2 | two adjacent sides, without the inner-corner square |
| Carpet edge, inner corner left / right | 2×2 | one side + an inner-corner square at the far edge |
| Carpet fill | 2×2 | none |
| Carpet fill, inner corner | 2×2 | an inner-corner square only (inside of an L-shaped rug) |
| Wide-to-narrow reducer | 4×2 | 4 m wide carpet narrows to a centred regular carpet |
| Stair runner | stone stair | both sides |
| Stair runner, left / right edge | stone stair | one side (left/right walking up) |
| Stair runner, fill | stone stair | none |
The reducer has snap points every metre along its long edges, so carpets attach centred or flush with either side.
Patterns and colours
Every pattern comes in every colour, shown as a room rug built from the modular pieces. Click a pattern to see it.
Jute

Twill

Tartan

Crosses

Kilim

Jarl

Selbu

Peel

Hail

Cabin

Medallion

Each colour belongs to a crafting material, in progression order: leather, deer hide, troll hide, bear hide, wolf pelt, linen, red jute, carapace, blue jute and asksvin hide. Every piece costs leather scraps; colours other than leather add a little of their material (1 for 2×2 pieces, 2 for the reducer and stair runners), which deconstructing refunds. Since the hammer only lists pieces whose materials you have discovered, colours appear as you progress.
Configuration
Graphics / Full resolution textures (default off): paints carpets at 256 px per metre instead
of 128. Uses about 240 MB of video memory instead of 60 MB. Takes effect after a restart.
Size and performance
The whole mod is one DLL of about 1 MB: carpets are painted from compact pattern masks when the game loads, using every CPU core. That takes well under a second on a modern CPU, and about 5 s in all to register the 1,650 pieces. Hammer icons are rendered once and cached by Jötunn.
Development
Building, releasing, and adding patterns, colours or piece shapes: see DEVELOPMENT.md.
Legal
The mod's code, patterns and artwork are under the MIT licence (LICENSE). Valheim and its
assets belong to Iron Gate; the mod ships none of them (it clones the vanilla rug at runtime).