Full Config: Walk-in Houses
The complete configs/shared/walkin.lua for Advanced Housing (sd-housing): importing the interiors pack, pricing, garages and regions.
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.
lua
-- Importing the walk-in pack's houses (sd-housing-interiors: generated interiors inside the vanilla houses). The panel's
-- Import reads them from the pack's export, names each after its street, and prices it by its floor area. Doing it
-- again later only adds the houses not yet imported and brings the doors and entrances of the others up to date:
-- owners, keys, prices and names are never touched.
return {
Resource = 'sd-housing-interiors', -- the walk-in pack's resource name
PricePerSqm = 2200, -- a house's price: its floor area in square metres times this, rounded to RoundTo
MinPrice = 85000, -- no house costs less (a pack built before areas were recorded prices every house at this)
RoundTo = 5000,
-- A detached garage comes with its house: owned, locked and keyed with it, never sold on its own.
BundleGarages = true,
GaragePrice = 45000, -- what a garage costs when BundleGarages is off
-- Regions: the pack's houses by where they are, each region open or work in progress. Every house of a region that
-- is work in progress is closed - the house the game built, shut: no interior, nobody goes in, not for sale - until
-- the region is opened. `enabled` is how a region stands until an admin says otherwise on the panel's Overview
-- (what they choose there is kept, and wins over this).
-- areas: the area part of a house's key (sdwi_<area>_...). `rest = true`: every area no other region names, so a
-- new area of the pack comes in as that region stands.
-- (An area is the map file a house is in, not always the district its name says: West Mirror Drive's houses are in
-- lmesa and eastv, Nikola Place's in tatav - all Mirror Park.)
Regions = {
{ id = 'mirror', label = 'Mirror Park', areas = { 'mirr', 'lmesa', 'eastv', 'tatav' }, enabled = true },
{ id = 'grove', label = 'Grove Street, Davis, Rancho and Strawberry', areas = { 'grove', 'davis', 'rancho', 'straw' }, enabled = true },
{ id = 'vinewood', label = 'Vinewood', areas = { 'hills', 'wvine', 'dtvine' }, enabled = false },
{ id = 'canals', label = 'Vespucci Canals', areas = { 'canals' }, enabled = false },
{ id = 'elsewhere', label = 'Everywhere else', rest = true, enabled = false },
},
}