Merge branch 'fix/owner-friend-notification' into 'master'

When sending an ownership request, remind the sender to friend their sub

See merge request 
This commit is contained in:
BondageProjects 2025-03-30 23:58:16 +00:00
commit cf99906d4f
2 changed files with 8 additions and 1 deletions
BondageClub/Screens

View file

@ -183,6 +183,7 @@ NotificationTitleLarp,LARP - Your turn
NotificationTitleTest,Test Notification NotificationTitleTest,Test Notification
OpacityLabel,Change Opacity OpacityLabel,Change Opacity
OptionNeedsToBeBought,Option needs to be bought OptionNeedsToBeBought,Option needs to be bought
OwnerProposeSub,<b>You've asked TargetCharacterName to become your submissive. Don't forget to friend them if they accept!</b>
Page,Page Page,Page
PandoraActivityBondage,A Pandora guard puts TargetCharacterName in new restraints. PandoraActivityBondage,A Pandora guard puts TargetCharacterName in new restraints.
PandoraActivitySpank,A Pandora guard spanks TargetCharacterName butt many times. PandoraActivitySpank,A Pandora guard spanks TargetCharacterName butt many times.

1 's 's
183 NotificationTitleTest Test Notification
184 OpacityLabel Change Opacity
185 OptionNeedsToBeBought Option needs to be bought
186 OwnerProposeSub <b>You've asked TargetCharacterName to become your submissive. Don't forget to friend them if they accept!</b>
187 Page Page
188 PandoraActivityBondage A Pandora guard puts TargetCharacterName in new restraints.
189 PandoraActivitySpank A Pandora guard spanks TargetCharacterName butt many times.

View file

@ -5512,9 +5512,15 @@ function ChatRoomSendOwnershipRequest(RequestType) {
CharacterChangeMoney(Player, -100); CharacterChangeMoney(Player, -100);
DialogChangeReputation("Dominant", 10); DialogChangeReputation("Dominant", 10);
} }
if ((ChatRoomOwnershipOption == "CanEndTrial") && (RequestType == "Accept")) DialogChangeReputation("Dominant", -20); if ((ChatRoomOwnershipOption == "CanEndTrial") && (RequestType == "Accept")) {
DialogChangeReputation("Dominant", -20);
}
ChatRoomOwnershipOption = ""; ChatRoomOwnershipOption = "";
ServerSend("AccountOwnership", { MemberNumber: CurrentCharacter.MemberNumber, Action: RequestType }); ServerSend("AccountOwnership", { MemberNumber: CurrentCharacter.MemberNumber, Action: RequestType });
if (RequestType === "Propose") {
const msg = InterfaceTextGet("OwnerProposeSub").replace("TargetCharacterName", CharacterNickname(CurrentCharacter));
ChatRoomSendLocal(msg);
}
if (RequestType == "Accept") DialogLeave(); if (RequestType == "Accept") DialogLeave();
} }