> 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-wedding/redm-wedding-and-marriage-system.md).

# RedM Wedding & Marriage System

RedM Wedding & Marriage System for VORP and RSG Core: ring proposals with a two-player embrace, ceremony booking, invitations, a signed marriage register, divorce court and a Saint Denis venue.

**CAS Wedding takes a couple from the first question to the county register. A player kneels with a ring box, the answer is yes, and the two of them embrace. From there they book an hour at the Mayor's Garden, send out sealed invitations and sign the marriage register in front of their guests.**

{% hint style="success" %}
Works on **VORP Core** and **RSG Core**. The framework is detected on its own and the database tables create themselves on the first start. English and Turkish are included.
{% endhint %}

The script covers everything a marriage goes through in roleplay. A proposal is a real moment: the proposer goes down on one knee with a ring box in hand, and everyone nearby sees it. The one being asked watches the kneel before the question appears. After a yes, the couple share a synchronised two-person embrace, made for this script.

The county clerk handles the paperwork. Couples book a ceremony hour on a calendar that shows every time in the player's own time zone. They design invitations in a full studio with ten themes, print sealed copies and hand them to guests. On the day, the couple, their witnesses and the officiant each draw their signature into the marriage register. Sealing it marries the couple, gives each of them a certificate and sets off confetti and fireworks over the altar.

Married life continues in the marriage records: days together, a bond that grows when the couple spend time near each other, and anniversary gifts to claim. If it ends, a divorce goes through the circuit court: a sworn petition, a hearing, the judge's signature and the clerk's stamp.

## Highlights

* **Ring proposals.** Use a ring item beside someone, write your words and kneel. A custom ring box sits in the proposer's palm, and the pose is synced to everyone within 80 m.
* **A two-player embrace after a yes.** A custom synchronised animation. Both players line up automatically and play on one shared timeline, so they stay in step.
* **Ceremony booking.** A calendar of up to 15 days with four evening hours by default, venue and registry fees, a 50% refund on cancellation and closed weekdays.
* **Every time in the player's own time zone.** Hours are set in server time and each player sees them converted to their own clock, in 12 or 24 hour format.
* **Invitation studio.** Ten themes, five game fonts, papers, borders, ornaments, wax seals and envelopes. Up to five designs per couple, printed as sealed invitation items.
* **Guests open real envelopes.** They break the seal, draw the letter out, turn the card over and mark the venue on their map. The couple sees who has opened theirs.
* **A signed marriage register.** Every party draws their signature. Witnesses (0 to 2) and an NPC or player officiant are supported.
* **Marriage certificates** as inventory items, with every signature on them. Copies can be printed and handed out.
* **Marriage records** with days married, the next anniversary, six bond levels and six anniversary gifts.
* **Divorce court** in five steps: petition, signature, hearing, the judge's decree and the clerk's stamp, with a remarriage waiting period.
* **The Mayor's Garden in Saint Denis**, dressed for a 1900s wedding with custom props: a floral arch, rows of chairs, guest tables, a cake and a string quartet.
* **Sittable chairs and benches**, NPC guests for filming, applause, confetti, fireworks and sound.
* **Fully translatable.** The interface, prompts, notifications and server messages all come from one language file.

## At a glance

|                           |                                                                                                    |
| ------------------------- | -------------------------------------------------------------------------------------------------- |
| **Resource name**         | `cas-wedding`                                                                                      |
| **Version**               | 1.0.0                                                                                              |
| **Made by**               | Mirliva & UIForc                                                                                   |
| **Frameworks**            | VORP Core, RSG Core (auto-detected)                                                                |
| **Required dependencies** | oxmysql, plus your framework's core and inventory                                                  |
| **Database**              | 5 tables, created automatically                                                                    |
| **Items**                 | 4 rings, a wedding invitation, a marriage certificate                                              |
| **Player commands**       | `/marriage`, `/propose`                                                                            |
| **Staff commands**        | `/wedding_venue`, `/wedding_crowd`, `/wedding_clap`, `/wedding_confetti`, `/weddingcoords`, `/hug` |
| **Venue**                 | The Mayor's Garden, Saint Denis: 223 props, 7 custom models, 92 seats, no MLO                      |
| **County clerk**          | Valentine                                                                                          |
| **Languages**             | English and Turkish included, add your own                                                         |
| **Builds**                | Escrow and Open Source                                                                             |

## Three things to do first

1. [Install the resource](/script-documentation/cas-wedding/installation.md) and add the items to your inventory.
2. [Check the permissions](/script-documentation/cas-wedding/commands.md#permissions) so your staff can run the venue commands.
3. [Set your ceremony hours](/script-documentation/cas-wedding/booking.md#ceremony-hours) and, if your players are spread across time zones, [pin the server time](/script-documentation/cas-wedding/time-zones.md).

Everything else has a working default.

## Where to start

| I want to                              | Read                                                                                |
| -------------------------------------- | ----------------------------------------------------------------------------------- |
| Get it running                         | [Installation](/script-documentation/cas-wedding/installation.md)                   |
| Know what differs between VORP and RSG | [VORP and RSG Core](/script-documentation/cas-wedding/frameworks.md)                |
| See every command, key and permission  | [Commands, Controls and Permissions](/script-documentation/cas-wedding/commands.md) |
| Understand proposals and the embrace   | [Proposals and the Embrace](/script-documentation/cas-wedding/proposals.md)         |
| Set up ceremony hours and prices       | [Booking a Ceremony](/script-documentation/cas-wedding/booking.md)                  |
| Learn the invitation studio            | [Wedding Invitations](/script-documentation/cas-wedding/invitations.md)             |
| Run a ceremony                         | [The Ceremony](/script-documentation/cas-wedding/ceremony.md)                       |
| Understand bond levels and gifts       | [Marriage Records and Anniversaries](/script-documentation/cas-wedding/marriage.md) |
| Understand the divorce court           | [Divorce](/script-documentation/cas-wedding/divorce.md)                             |
| Move, hide or fill the venue           | [The Wedding Venue](/script-documentation/cas-wedding/venue.md)                     |
| Get the hours right for every player   | [Time and Time Zones](/script-documentation/cas-wedding/time-zones.md)              |
| Change any setting                     | [Configuration](/script-documentation/cas-wedding/configuration.md)                 |
| Change the language or any text        | [Languages and Translation](/script-documentation/cas-wedding/languages.md)         |
| Fix a problem                          | [Troubleshooting](/script-documentation/cas-wedding/troubleshooting.md)             |
| Get a quick answer                     | [FAQ](/script-documentation/cas-wedding/faq.md)                                     |

## Get the script

CAS Wedding & Marriage System is on sale at [codeaftersex.com/script/wedding-and-marriage-system](https://codeaftersex.com/script/wedding-and-marriage-system), in both the Escrow build and the Open Source build.

Browse the rest of the CAS catalog at [codeaftersex.com/scripts](https://codeaftersex.com/scripts).
