mirror of
https://gitgud.io/BondageProjects/Bondage-College.git
synced 2025-04-25 17:59:34 +00:00
Merge branch 'fix/owner-friend-notification' into 'master'
When sending an ownership request, remind the sender to friend their sub See merge request BondageProjects/Bondage-College!5504
This commit is contained in:
commit
cf99906d4f
2 changed files with 8 additions and 1 deletions
BondageClub/Screens
|
@ -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.
|
||||||
|
|
|
|
@ -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();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue