
ModularCarpets
Modular carpets for the hammer: tiles, corners, junctions and stair runners that snap onto stone stairs. 6 patterns in 10 colours from crafting materials. Build any width or shape; schematic-mod safe.Modular Carpets
Carpets for the hammer that fit together like building pieces: straight runs, ends, corners, T-junctions and crossings, plus edge, corner and fill pieces to build carpets of any width or shape, and stair runners that follow the steps of stone, grausten and black marble stairs and snap straight onto them.
Six patterns, each in ten colours taken from crafting materials. Each pattern has its own hammer tab (Modular Carpets - Jute, - Twill, ...).
Patterns and colours
Every pattern comes in every colour, shown here as room rugs built from the modular pieces.
Jute

Twill

Tartan

Crosses

Kilim

Jarl

Pieces
Every pattern, in every colour, comes as this set:
| Piece | Size | Border |
|---|---|---|
| Carpet | 2×2 | both sides |
| Carpet end | 2×2 | both sides and one end |
| Carpet corner | 2×2 | turns 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 |
| Carpet edge, inner corner left / right | 2×2 | one side and an inner corner |
| Carpet fill | 2×2 | none |
| Wide-to-narrow reducer | 4×2 | a 4 m carpet narrowing to a regular one |
| Stair runner | one stair | both sides |
| Stair runner, left / right edge | one stair | one side |
| Stair runner, fill | one stair | none |
Two edges side by side make a 4 m carpet; a field of fills bordered by edges and outer corners makes a room rug; the inner-corner pieces join a wide carpet to a branch. The reducer snaps every metre along its long sides, so carpets can attach centred or flush with either side.
Stair runners only fit the solid stairs (stone, grausten, black marble), not the open wood stairs.
Colours and recipes
Each colour comes from 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, and colours other than leather add a little of their material (1 for 2×2 pieces, 2 for the reducer and stair runners). The hammer only shows pieces whose materials you have found, so colours appear as you progress. Deconstructing refunds everything.
Carpets behave like the vanilla straw rug: comfort, health, burning, sounds and effects.
Compatibility
- Schematic and blueprint mods: every pattern and colour is its own piece, so copied builds keep their carpets exactly as built.
- Multiplayer: everyone on the server needs the mod.
Configuration
Graphics / Full resolution textures (default off): paints carpets at 256 px per metre instead
of 128. Uses about 130 MB of video memory instead of 33 MB. Takes effect after a restart.
Size and performance
The whole mod is one DLL of about 0.5 MB. Carpets are painted from compact pattern masks when the game starts, using every CPU core: well under a second on a modern CPU, about 2.5 s in all to register the 900 pieces. Hammer icons are rendered once and cached.
Source
Source code, build instructions and how to add patterns: https://github.com/xKirtle/ModularCarpets (MIT licence).