Skip to content

marriage system

gumi requested to merge gumiko/serverdata:marriage into master

This is a reimplementation of the Legacy marriage system that uses chat messages instead of a NPC menu. The original script has been extended to work with NPC duplicates.

Usage

The scripts gets the x1,y1,x2,y2 from the hidden part of the name of the duplicate NPC and finds the nearest wedding officiator. When players stand in this square area and say marry playername (or the equivalent in their language) it will initiate the marriage process. The target player must reply marry ... with the name of the other character to confirm. Once all the checks pass, ::OnDoMarriage will be called in the officiator NPC (if any) to handle the actual marriage.

TODO

  • add a Wedding Officiator to the far-west of Hurnscald, like on Legacy
Edited by gumi

Merge request reports