Skip to content

Full Config: Decorating ​

The complete configs/shared/decor.lua for Advanced Housing (sd-housing): who may decorate, limits, refunds, the build camera, and the prices of walls, floors, stairs, finishes, doors, windows and joinery.

TIP

See the configuration guide for what each file controls. Download this file as a reference, and merge changes with the config shipped in your installed version.

Download shared/decor.lua

lua
-- Decorating a property from the inside: furniture out of a priced catalogue (configs/shared/catalog.lua), walls drawn
-- in two clicks, floors laid on any level - a tall walk-in house becomes two storeys - and stairs up to them. Walls,
-- floors and stairs are sd-housing's own props (stream/decor, built by tools/props): their styles are listed here with
-- what they cost; which heights and colours each comes in is shared/decor/pieces.lua (generated with them).
return {
    Enabled = true,
    Command = 'decorate', -- a command that opens (and closes) decorate mode in the property you stand in; false = from the home panel only

    Keyholders = false, -- keyholders may decorate too (paying themselves); the owner always may
    AdminFree = true, -- whoever holds config.Admin.EditAce decorates any property, free of charge
    Account = 'bank', -- what decor is paid from ('bank' or 'cash')
    Refund = 0.5, -- share of what a piece cost that comes back when it is removed
    OnSale = 'refund', -- a property sold back to the market: 'refund' (decor removed, Refund paid to the seller),
                       -- 'keep' (it stays for the next owner) or 'clear' (removed, nothing back)

    MaxPieces = 350, -- per property: every item, wall, floor and flight of stairs counts as one
    StreamDistance = 70.0, -- metres from a property its decor is spawned (and taken down again past it)
    Radius = 22.0, -- metres from the entrance decor may go in a property whose shape is not known (made by hand)
    BoxMargin = 0.6, -- metres a walk-in house's box is grown by (decor may stand on its walls' outer skin)
    ForceRooms = true, -- put every spawned piece in the room of the interior it stands in (props inside an MLO)

    Lights = {
        Max = 12, -- lamps lit at once (the nearest to you): a catalogue item with `light` really lights its room
        -- The light fittings (tools/lights, streamed by sd-housing-assets): pendants, chandeliers, downlights, sconces,
        -- floor and table lamps, LED strips and neon, each lit by lights in its own model (shadows, glow and all) -
        -- they head the Lighting category. false leaves them out.
        Fixtures = true,
    },

    -- The build camera (decorate mode, key C - rebindable - or the HUD's button): a free camera inside the property to
    -- build and place from. The mouse cursor aims every tool while it is on; hold the right button to look around.
    Camera = {
        Enabled = true,
        Speed = 3.0, -- metres a second (W A S D, Space / Ctrl)
        FastMultiplier = 3.0, -- with Shift held
        LookSpeed = 8.0, -- how fast the mouse turns it (right button held)
        Zoom = 0.6, -- metres a wheel notch moves it in or out (when the tool in hand does not turn with the wheel)
        Fov = 60.0, -- degrees, top to bottom
        StartHeight = 1.4, -- metres over the player it starts at ...
        StartBack = 2.4, -- ... and behind them,
        StartPitch = -40.0, -- looking down this many degrees
        ForceRoom = true, -- tell the game which room of the house the camera is in (else a room can go undrawn)
        Cursor = 'nui', -- where the cursor is read from: 'nui' (the window's own cursor) or 'control' (the game's)
        -- House view (V with the camera on): over the house, a floor at a time, the walls cut away - in the sandbox, the
        -- house copied alone into an empty space high over the map (tools/sandbox; false: over the house where it is)
        HouseView = true, -- house view (V in decorate mode, apart from the build camera's C); false: none
        Sandbox = true,
        SandboxHeight = 1500.0, -- metres the copy stands over the house
        SandboxCut = 1.4, -- metres over a floor its walls are cut at, in a pack from before each side of a house was
        -- built apart (the pack says its own: houses.lua storeys[n].sb.cutH)
        SandboxHour = 13, -- the hour it is in the sandbox (for this player only, while house view is on) ...
        SandboxWeather = 'EXTRASUNNY', -- ... and the weather (no rain falls through a house with no roof)
        PanSpeed = 1.2, -- how far a drag with the middle button moves house view (times its distance out)
        HouseFov = 42.0, -- degrees, top to bottom
        HousePitch = -55.0, -- degrees it looks down at first ...
        HousePitchMin = -89.0, -- ... and between these as the mouse tilts it
        HousePitchMax = -25.0,
        HouseDistance = 16.0, -- metres from the point it turns round, at first ...
        HouseNear = 5.0, -- ... and between these with the wheel
        HouseFar = 45.0,
        HouseSpeed = 6.0, -- metres a second W A S D move the point (more, further out)
    },

    Walls = {
        MaxLength = 12.0, -- metres: the longest single wall (longer: draw two - the tool carries on from the end)
        Snap = 0.35, -- metres within which a click snaps to the end of another wall
        Angle = 15.0, -- degrees a wall turns in steps of, from the house's own axis (hold Shift for free angles)
        -- What each style costs: `price` per metre of wall built in it (both faces; pieces.lua says which heights and
        -- colours it comes in), `look` per square metre of wall the wall painter gives it (whole walls or stretches). A
        -- style left out here is not offered. The page lists them by their group (pieces.lua), in this order.
        Styles = {
            -- paint & plaster
            plaster              = { label = 'Plaster', price = 45, look = 6 },
            limewash             = { label = 'Limewash', price = 60, look = 8 },
            venetian             = { label = 'Venetian plaster', price = 95, look = 14 },
            stucco               = { label = 'Textured stucco', price = 55, look = 7 },
            -- wallpaper
            wallpaper_stripe     = { label = 'Striped wallpaper', price = 70, look = 11 },
            wallpaper_damask     = { label = 'Damask wallpaper', price = 85, look = 13 },
            wallpaper_grasscloth = { label = 'Grasscloth', price = 95, look = 14 },
            wallpaper_trellis    = { label = 'Trellis wallpaper', price = 80, look = 12 },
            wallpaper_deco       = { label = 'Art deco wallpaper', price = 85, look = 13 },
            -- panelling
            wainscot             = { label = 'Wainscot & plaster', price = 110, look = 14 },
            shiplap              = { label = 'Shiplap', price = 100, look = 14 },
            beadboard            = { label = 'Beadboard', price = 95, look = 13 },
            board_batten         = { label = 'Board & batten', price = 105, look = 15 },
            -- tile
            subway_tile          = { label = 'Subway tile', price = 130, look = 15 },
            subway_sage          = { label = 'Sage subway tile', price = 135, look = 16 },
            zellige_white        = { label = 'White zellige', price = 170, look = 22 },
            zellige_green        = { label = 'Emerald zellige', price = 170, look = 22 },
            herringbone_tile     = { label = 'Herringbone tile', price = 150, look = 19 },
            square_tile          = { label = 'Square tile', price = 115, look = 14 },
            hex_tile             = { label = 'Charcoal hex tile', price = 135, look = 16 },
            mosaic_blue          = { label = 'Blue mosaic', price = 160, look = 20 },
            -- stone
            marble               = { label = 'Marble', price = 200, look = 26 },
            stacked_stone        = { label = 'Stacked stone', price = 190, look = 24 },
            -- brick & block
            brick                = { label = 'Exposed brick', price = 140, look = 16 },
            brick_painted        = { label = 'Painted brick', price = 140, look = 16 },
            brick_whitewash      = { label = 'Whitewashed brick', price = 145, look = 17 },
            brick_yellow         = { label = 'London stock brick', price = 145, look = 17 },
            brick_charcoal       = { label = 'Charcoal brick', price = 145, look = 17 },
            block_painted        = { label = 'Painted block', price = 70, look = 9 },
            -- wood
            wood_panel           = { label = 'Oak panelling', price = 120, look = 18 },
            wood_slats           = { label = 'Walnut slats', price = 180, look = 24 },
            barnwood             = { label = 'Reclaimed barn wood', price = 150, look = 19 },
            -- concrete
            concrete             = { label = 'Concrete', price = 90, look = 9 },
            board_formed         = { label = 'Board-formed concrete', price = 120, look = 13 },
            concrete_block       = { label = 'Concrete block', price = 65, look = 8 },
            -- railings (half height, see-through; as a room's look it stands in as paint)
            railing              = { label = 'Balustrade', price = 80, look = 6 },
        },
    },

    Floors = {
        MaxSize = 16.0, -- metres: the longest side of one floor (bigger: lay two side by side)
        Grid = 0.25, -- metres a floor's corners snap to, along the house's own axis
        Headroom = 2.2, -- metres a floor must leave under it (and over it, to the ceiling) - else it is refused
        -- What each style costs per square metre (a floor laid as pieces, or a room's floor given it). A style left out
        -- here is not offered. The page lists them by their group (pieces.lua), in this order.
        Styles = {
            -- wood
            oak               = { label = 'Oak boards', price = 70 },
            walnut            = { label = 'Walnut boards', price = 95 },
            laminate          = { label = 'Grey laminate', price = 40 },
            parquet           = { label = 'Herringbone parquet', price = 110 },
            chevron           = { label = 'Chevron parquet', price = 120 },
            wide_plank        = { label = 'Wide oak planks', price = 90 },
            white_oak         = { label = 'Whitewashed oak', price = 80 },
            smoked_oak        = { label = 'Smoked oak', price = 85 },
            -- tile
            checker           = { label = 'Checkerboard tile', price = 60 },
            hex_mosaic        = { label = 'Hex mosaic tile', price = 75 },
            terracotta        = { label = 'Terracotta tile', price = 65 },
            encaustic         = { label = 'Encaustic tile', price = 95 },
            porcelain         = { label = 'Large porcelain tile', price = 80 },
            -- stone
            marble            = { label = 'Marble tile', price = 150 },
            marble_black      = { label = 'Black marble', price = 165 },
            terrazzo          = { label = 'Terrazzo', price = 130 },
            slate             = { label = 'Slate', price = 100 },
            travertine        = { label = 'Travertine', price = 120 },
            -- brick
            brick_herringbone = { label = 'Brick pavers', price = 85 },
            -- concrete
            concrete          = { label = 'Polished concrete', price = 50 },
            epoxy             = { label = 'Flake epoxy', price = 45 },
            -- carpet
            carpet            = { label = 'Carpet', price = 45 },
            carpet_berber     = { label = 'Berber carpet', price = 50 },
            carpet_diamond    = { label = 'Patterned carpet', price = 55 },
            sisal             = { label = 'Sisal', price = 60 },
            -- cork, rubber & lino
            rubber            = { label = 'Rubber gym floor', price = 45 },
            cork              = { label = 'Cork tile', price = 55 },
            linoleum          = { label = 'Marbled lino', price = 40 },
        },
    },

    Stairs = {
        RailPrice = 200, -- each handrail
        Styles = { -- price per flight
            oak      = { label = 'Oak stairs', price = 2400 },
            walnut   = { label = 'Walnut stairs', price = 2800 },
            painted  = { label = 'Painted stairs', price = 2000 },
            concrete = { label = 'Concrete stairs', price = 1800 },
        },
    },

    PaintPrice = 0, -- repainting something already placed

    -- A walk-in house's own walls, floors and ceilings: repainted, re-floored, papered - no props, the house's shell is
    -- given another texture (sd-housing-assets/stream/finishes, built by tools/finishes; which finishes take paint is
    -- shared/decor/finishes.lua). Priced per square metre of the surface (the pack measures each). A finish left out here
    -- is not offered; putting a surface back as built is free.
    Finishes = {
        Enabled = true,
        Wall = { -- the rooms' walls, and a garage's (each the same look as the wall style of that name; paint = plaster)
            paint                = { label = 'Paint', price = 6 },
            limewash             = { label = 'Limewash', price = 8 },
            venetian             = { label = 'Venetian plaster', price = 14 },
            stucco               = { label = 'Textured stucco', price = 7 },
            wallpaper_stripe     = { label = 'Striped wallpaper', price = 11 },
            wallpaper_damask     = { label = 'Damask wallpaper', price = 13 },
            wallpaper_grasscloth = { label = 'Grasscloth', price = 14 },
            wallpaper_trellis    = { label = 'Trellis wallpaper', price = 12 },
            wallpaper_deco       = { label = 'Art deco wallpaper', price = 13 },
            shiplap              = { label = 'Shiplap', price = 14 },
            beadboard            = { label = 'Beadboard', price = 13 },
            board_batten         = { label = 'Board & batten', price = 15 },
            subway_tile          = { label = 'Subway tile', price = 15 },
            subway_sage          = { label = 'Sage subway tile', price = 16 },
            zellige_white        = { label = 'White zellige', price = 22 },
            zellige_green        = { label = 'Emerald zellige', price = 22 },
            herringbone_tile     = { label = 'Herringbone tile', price = 19 },
            square_tile          = { label = 'Square tile', price = 14 },
            hex_tile             = { label = 'Charcoal hex tile', price = 16 },
            mosaic_blue          = { label = 'Blue mosaic', price = 20 },
            marble               = { label = 'Marble', price = 26 },
            stacked_stone        = { label = 'Stacked stone', price = 24 },
            brick                = { label = 'Exposed brick', price = 16 },
            brick_painted        = { label = 'Painted brick', price = 16 },
            brick_whitewash      = { label = 'Whitewashed brick', price = 17 },
            brick_yellow         = { label = 'London stock brick', price = 17 },
            brick_charcoal       = { label = 'Charcoal brick', price = 17 },
            block_painted        = { label = 'Painted block', price = 9 },
            wood_panel           = { label = 'Oak panelling', price = 18 },
            wood_slats           = { label = 'Walnut slats', price = 24 },
            barnwood             = { label = 'Reclaimed barn wood', price = 19 },
            concrete             = { label = 'Concrete', price = 9 },
            board_formed         = { label = 'Board-formed concrete', price = 13 },
            concrete_block       = { label = 'Concrete block', price = 8 },
        },
        Floor = { -- the rooms' floor, and a garage's (each the same look as the floor style of that name)
            laminate          = { label = 'Grey laminate', price = 18 },
            concrete          = { label = 'Polished concrete', price = 20 },
            carpet            = { label = 'Carpet', price = 20 },
            checker           = { label = 'Checkerboard tile', price = 26 },
            oak               = { label = 'Oak boards', price = 32 },
            walnut            = { label = 'Walnut boards', price = 42 },
            parquet           = { label = 'Herringbone parquet', price = 48 },
            marble            = { label = 'Marble tile', price = 60 },
            chevron           = { label = 'Chevron parquet', price = 50 },
            wide_plank        = { label = 'Wide oak planks', price = 40 },
            white_oak         = { label = 'Whitewashed oak', price = 36 },
            smoked_oak        = { label = 'Smoked oak', price = 38 },
            hex_mosaic        = { label = 'Hex mosaic tile', price = 32 },
            terracotta        = { label = 'Terracotta tile', price = 28 },
            encaustic         = { label = 'Encaustic tile', price = 40 },
            porcelain         = { label = 'Large porcelain tile', price = 34 },
            marble_black      = { label = 'Black marble', price = 66 },
            terrazzo          = { label = 'Terrazzo', price = 55 },
            slate             = { label = 'Slate', price = 42 },
            travertine        = { label = 'Travertine', price = 50 },
            brick_herringbone = { label = 'Brick pavers', price = 36 },
            epoxy             = { label = 'Flake epoxy', price = 20 },
            carpet_berber     = { label = 'Berber carpet', price = 22 },
            carpet_diamond    = { label = 'Patterned carpet', price = 24 },
            sisal             = { label = 'Sisal', price = 26 },
            rubber            = { label = 'Rubber gym floor', price = 20 },
            cork              = { label = 'Cork tile', price = 24 },
            linoleum          = { label = 'Marbled lino', price = 18 },
        },
        Ceiling = {
            paint = { label = 'Paint', price = 4 },
        },
    },

    -- The wall painter (docs/decorate.md > "The wall painter"): any single wall can be given its own look - a straight
    -- wall of a walk-in house's own (the house needs its plan from the pack) or a face of a wall built inside - whole, or
    -- a stretch of it picked from one point to another. It costs Walls.Styles[style].look per m2 of the wall that changes;
    -- taking a wall's own look off again is free. Doorways in a built wall are bought here too.
    Plan = {
        Enabled = true,
        OpeningPrice = 250, -- a doorway cut in a partition (1 m or 2 m wide)
    },

    -- Picture frames (docs/decorate.md > "Picture frames"): bought in Furniture > Decor, hung on a wall, and given a
    -- picture by link from the piece's card (whoever may decorate the house). Every client draws each picture itself,
    -- from the link, into the frame (as many of one frame size at once as there are canvases: tools/props/frames.py).
    -- Only https links to these hosts (or hosts under them) are kept: an empty list lets any through. Mind that a link
    -- shows whatever is at it - keep the list to hosts you trust, and the picture log (Log) says who hung what.
    Pictures = {
        Enabled = true,
        Hosts = {
            'i.imgur.com', 'imgur.com', 'cdn.discordapp.com', 'media.discordapp.net', 'i.ibb.co', 'files.catbox.moe',
            'images.unsplash.com', 'upload.wikimedia.org', 'i.postimg.cc', 'r2.fivemanage.com',
        },
        MaxLength = 512, -- characters in a link
        Range = 30.0, -- metres from a frame its picture is drawn within
        Resolution = 512, -- px on a picture's longer side
    },

    -- Every door of a walk-in house can take another style: a base-game door, made to the measure of each doorway
    -- (sd-housing-assets/stream/doors, built by tools/doors; the designs are shared/decor/doors.lua). The price is per
    -- door (a double door is one door); a design left out of Styles costs Price. Putting the door back is free.
    DoorStyles = {
        Enabled = true,
        Price = 650,
        Styles = {}, -- [design key] = price, to price a design apart from the rest
        -- a door's frame (its jambs, head and casings) in another finish - the window frames': paint, wood, metal -
        -- drawn in place of the pack's (it says how each was made: walkin-poc build_assets.py kit); per door
        Frames = true,
        FramePrice = 380,
    },

    -- Every window of a walk-in house can be restyled from Finishes > Windows: its glass (tints, frosted and fogged,
    -- reeded, leaded, stained...), a frame round it, a grille, and blinds, curtains or shutters over it - which anyone in
    -- the house opens and closes by aiming at the window (sd-housing-assets streams the models, built by tools/windows;
    -- the styles are shared/decor/windows.lua). Prices there are per m2 of window (a frame: per metre round it; a window
    -- under a m2 pays for one); PriceScale scales them all, Prices sets one style's own, and a style named in Disabled
    -- (its key, or 'part:key' - part glass, frame, grille or treat) is not offered.
    --
    -- With a walk-in pack built for it (walkin-poc OWN_WINDOWS with blanks), a window can also be walled up - the house's
    -- own wall across it, outside and in - and put back, and a new one put in along the plain stretches of the outer
    -- walls, at the house's window line (Finishes > Windows > Put a window in: drawn along the wall, half a metre at a
    -- time). Fill is what walling one up costs a m2 of it (taking out a window put in, too), Open what putting one in
    -- or back does (a window under a m2 pays for one; both times PriceScale).
    Windows = {
        Enabled = true,
        PriceScale = 1.0,
        Prices = {}, -- [style key] = price per m2 (per metre for a frame finish)
        Disabled = {}, -- [style key] = true
        Fill = 650,
        Open = 2400,
    },

    -- The railing round a walk-in house's basement stairs (its guard on the ground floor and down the flight) can take
    -- another style from Finishes > Railing: spindles, slim balusters, horizontal bars or glass, in any of the window
    -- frames' finishes (paint, wood, metal) - built from the window styles' parts, so a walk-in pack only has to draw
    -- the railing in a model of its own (walkin-poc gen_shell.py, 2026-10-21). Prices are per metre of railing, times
    -- PriceScale; Prices sets one style's own. Putting the house's own railing back is free.
    Railing = {
        Enabled = true,
        PriceScale = 1.0,
        Prices = {}, -- [style key] = price per metre
    },

    -- Every garage door of a walk-in house can take another design from Finishes > Doors: sectional doors (short and long
    -- raised panels, glazed, ribbed, flush, full view, carriage house, cedar slats, craftsman, barn planks) and roller
    -- doors, each made for every width of door the walk-in pack has (sd-housing-assets/stream/garagedoors, built by
    -- tools/garagedoors; the designs are shared/decor/garagedoors.lua). A painted design takes any colour of the paint
    -- chart. They open and close as the pack's own did (its prompt, its lock). Default: what a door shows until its owner
    -- picks one - 'stock' (the pack's own, cut from the house's painted door), a design's key, or 'mixed' (a sectional
    -- design for each door, picked by its name, in the paint it comes in). PriceScale scales the designs' prices, Prices
    -- sets one's own, a design in Disabled is not offered; Repaint is what the same design in another colour costs.
    -- Putting the pack's own back is free.
    GarageDoors = {
        Enabled = true,
        Default = 'mixed',
        PriceScale = 1.0,
        Prices = {}, -- [design key] = price
        Disabled = {}, -- [design key] = true
        Repaint = 450,
    },
    -- The walk-in houses' balcony doors (tools/slidingdoors): a sliding door hung in every one, opened and shut from the
    -- lock prompt, its design picked in decorate mode (Finishes > Doors). Default: the design of an opening nothing was
    -- picked for; Wide (from WideFrom metres across) a wide one's. Prices: [design key] = a door's price (else the
    -- catalogue's, times PriceScale). Disabled: [design key] = true.
    SlidingDoors = {
        Enabled = true,
        Default = 'patio_white',
        Wide = 'patio_white_four',
        WideFrom = 3.4,
        PriceScale = 1.0,
        Prices = {},
        Disabled = {},
    },
    -- Joinery for a walk-in house (Finishes > Joinery; the models are tools/joinery's, streamed by sd-housing-assets):
    -- its stairs dressed (tread boards, riser facings, a runner and rods, string boards - priced a step and a metre), its
    -- mouldings (skirting, cornice, dado and picture rails, a region at a time - priced a metre) and the casings round
    -- its doors and windows (a region at a time - priced a metre, its rosette and plinth blocks each, its head boards and
    -- window stools a metre). Wood costs the catalogue's premium over paint. PriceScale scales every price;
    -- Mouldings.Prices / Casings.Prices = { [key] = price } set one profile's own price a metre and Disabled =
    -- { [key] = true } takes one out of the catalogue. Enabled = false turns a part (or all of it) off.
    Joinery = {
        Enabled = true,
        PriceScale = 1.0,
        Stairs = { Enabled = true },
        Mouldings = { Enabled = true, Prices = {}, Disabled = {} },
        Casings = { Enabled = true, Prices = {}, Disabled = {} },
    },
}