> 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/selling.md).

# Selling

Selling a home in CAS Housing. Sell back to the bank, hand the deed to a friend, or sell your home to another player for a price you set.

Open the home menu and press **Sell or hand over**.

## Sell to the bank

**Sell for $...** gives the home back to the server for 60 % of its price (`Config.SellShare`). A rented home is given up with **End the lease** and pays nothing. The furniture goes to your Stored tab, and the home is for sale again at once.

## Hand over the deed

**Hand over** gives the home to a player standing next to you, with everything in it. `Config.Transfer.Fee` can charge for the paperwork; `Config.Transfer.Rented` says whether a rented home may be handed over.

## Sell to a player for a price

1. Choose **Sell for a price**.
2. Type the price.
3. Press **Offer** next to the player standing near you, then **Send the offer**.
4. The buyer gets **Accept** and **Decline**. They have 60 seconds (`Config.Sale.OfferSeconds`); the menu shows the time left, and you can cancel the offer.
5. When they accept, the price goes from the buyer to you and the deed goes to them at once, with everything in the house. The keys others held end.

Nothing is paid until the buyer accepts. One offer per home at a time.

```lua
Config.Sale = { Enabled = true, OfferSeconds = 60 }
```

`Enabled = false` hides the option.
