Modding:Custom wedding events: Difference between revisions
Appearance
imported>Margotbean direct links |
imported>VulpesLucida m + zh link |
||
| Line 67: | Line 67: | ||
[[Category:Modding]] | [[Category:Modding]] | ||
[[zh:模组:自定义婚礼事件]] | |||
Revision as of 11:50, 16 August 2025
← Index
This page documents how the game stores and parses data for wedding events. This is an advanced guide for mod developers.
Format
The wedding event can now be changed by editing the Data\Weddings data asset, which consists of a data model with two relevant fields (listed below).
| field | effect | ||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| EventScript | The event scripts which play the wedding. The game will use the script for the spouse NPC/player if it exists, otherwise it'll use the default script.
This consists of a string → string dictionary, where...
The event scripts also have access to three extra tokens:
| ||||||||||||
| Attendees | The other NPCs which should attend the wedding (unless they're the spouse). This consists of a string → model lookup, where the key is the internal NPC name, and the value is a model with these fields:
|
See also
- See Modding:Event data for more information about event scripting.