→Custom NPCs: update for build 24055 (renamed SpouseGetsJealousOfGifts to SpouseGiftJealousy, added SpouseGiftJealousyFriendshipChange)
Line 4,649:
Line 4,649:
The <samp>Target</samp> player is the one they're married to.
The <samp>Target</samp> player is the one they're married to.
|-
|-
−
| <samp>SpouseGetsJealousOfGifts</samp>
+
| <samp>SpouseGiftJealousy</samp>
| ''(Optional)'' A [[Modding:Game state queries|game state query]] which indicates whether the [[Marriage#Jealousy|spouse will get jealous of gifts to other NPCs]]. Defaults to true.
| ''(Optional)'' A [[Modding:Game state queries|game state query]] which indicates whether the [[Marriage#Jealousy|spouse will get jealous of gifts to other NPCs]]. Defaults to true.
The <samp>Target</samp> player is the one they're married to, and the <samp>Target</samp> item is the one that was gifted.
The <samp>Target</samp> player is the one they're married to, and the <samp>Target</samp> item is the one that was gifted.
+
|-
+
| <samp>SpouseGiftJealousyFriendshipChange</samp>
+
| ''(Optional)'' The [[Friendship|friendship point]] effect when the <samp>SpouseGiftJealously</samp> is triggered. Default -30.