Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature] Marriage #370

Open
afrokick opened this issue Jul 27, 2023 · 1 comment
Open

[Feature] Marriage #370

afrokick opened this issue Jul 27, 2023 · 1 comment

Comments

@afrokick
Copy link
Contributor

afrokick commented Jul 27, 2023

From https://wiki.infinitymu.net/index.php?title=Marriage

Chat commands:

/marry NICKNAME
/acceptmarry
/cancelmarry
/tracemarry
/divorce
/forcedivorce

Proposed configuration:

int? MarriageTax;
int? DivorceTax;

@sven-n do you know how it stores in DB? I mean marriage status and the nickname of your other half

@sven-n
Copy link
Member

sven-n commented Jul 30, 2023

I think storing that in the DB will be a bit tricky. A new class/table for marriages would make the most sense... two columns for character ids, a state and maybe a marriage date? 😅

And then the MUnique.OpenMU.Persistence.IPlayerContext and its implementations need to be extended to make a query about a possible marriage.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants