> For the complete documentation index, see [llms.txt](https://code-after-sex.gitbook.io/script-documentation/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://code-after-sex.gitbook.io/script-documentation/cas-housing/yard-and-stables.md).

# The yard and the home stable

The yard of a CAS Housing home. Fences, troughs and porch furniture around the house, and the home stable with CAS Stables, where hitching posts bring your own horses out.

## The yard

Every home has a yard: metres around the house where outdoor pieces may stand (10 by default, set per home in the creator, up to 30). Build mode shows where the yard ends.

* **Outdoor pieces** (fences and gates, tents, structures, troughs, hitching posts) stand in the yard and on plots. `Config.Build.OutdoorInHomes = true` lets them stand inside a home too.
* **Porch furniture** (chairs, tables, plants, lamps) may stand in the yard while `Config.Build.IndoorInYard` is on, the default.

Use the **Outdoor** and **Fences and gates** categories of the catalogue.

## The home stable (with CAS Stables)

With our **CAS Stables** script running, two pieces become a stable at home:

* A **hitching post** ("Horses"): a small panel lists your own horses from every stable. **Bring out** makes the horse stand in front of the post; **Put away** sends it back to its stable.
* A **wagon spot** (a wagon wheel of the Outdoor category, "Wagons") does the same for your wagons.

CAS Stables keeps its own rules (one horse and one wagon out, the vet, the retrieve fee). Who may use the home stable is the `stable` permission of the key roles (owner, co-owner and roommate by default; not a guest).

```lua
Config.Stables = { Enabled = true, Resource = "cas-stables" }
```

Without CAS Stables started (or with `Enabled = false`) the hitching posts and wagon spots are not in build mode.
