mirror of
https://gitgud.io/BondageProjects/Bondage-College.git
synced 2025-04-25 17:59:34 +00:00
* More SlaveTwin * To cut or not to cut * SlaveTwin Beta Ready The SlaveTwin section should be ready for some testing, but the accompanying RopeGroup section still needs a lot of work doing to it. * Cleanup random selection function This still uses the previous random number selection method, it's just been cleaned up to make it more readable and to avoid duplication. As far as I could tell, there was no reason for the `C101_KinbakuClub_Slaves_Random#` variables to be global. So that's been incorperated into the function to keep things cleaner. * RopeGroup tidied for Alhpa * Change going to K Club. * More KC fitting in * Can leave KC Changed the door in the club, player can now leave if not in bondage. * A bit more RopeGroup * Twins Stage 1 First part of main interaction with either twin. * upload 14-11-2018 * Update Cassi 1 * Return to dorm added * RG bug fix Fixed reference error * Cassi with rope group release * Disabled save function in club
66 lines
No EOL
2.1 KiB
JavaScript
66 lines
No EOL
2.1 KiB
JavaScript
var C999_Common_BallGag_CurrentStage = 0;
|
|
var C999_Common_BallGag_HasLooseBallGag = false;
|
|
|
|
// Chapter Common - BallGag Load
|
|
function C999_Common_BallGag_Load() {
|
|
|
|
// Load the scene parameters
|
|
LeaveIcon = "Leave";
|
|
LoadInteractions();
|
|
|
|
// Set the correct stage
|
|
if (PlayerHasLockedInventory("BallGag")) C999_Common_BallGag_CurrentStage = 10;
|
|
else C999_Common_BallGag_CurrentStage = 0;
|
|
|
|
// If the player has a loose BallGag
|
|
C999_Common_BallGag_HasLooseBallGag = PlayerHasInventory("BallGag");
|
|
|
|
}
|
|
|
|
// Chapter Common - BallGag Run, we draw the regular player image if the item is on
|
|
function C999_Common_BallGag_Run() {
|
|
BuildInteraction(C999_Common_BallGag_CurrentStage);
|
|
if (PlayerHasLockedInventory("BallGag") && (OverridenIntroImage == "")) DrawPlayerImage(150, 0);
|
|
}
|
|
|
|
// Chapter Common - BallGag Click, allow regular interactions and clicking on another item
|
|
function C999_Common_BallGag_Click() {
|
|
OverridenIntroImage = "";
|
|
ClickInteraction(C999_Common_BallGag_CurrentStage);
|
|
InventoryClick(GetClickedInventory(), LeaveChapter, LeaveScreen);
|
|
}
|
|
|
|
// Chapter Common - Self BallGag
|
|
function C999_Common_BallGag_SelfGag() {
|
|
if ((Common_BondageAllowed) && (Common_SelfBondageAllowed)) {
|
|
if (PlayerHasLockedInventory("PantieGag") || PlayerHasLockedInventory("SockGag")) {
|
|
if (PlayerHasLockedInventory("PantieGag")) {
|
|
PlayerUngag();
|
|
PlayerLockInventory("PantieGag");
|
|
PlayerRemoveInventory("PantieGag", 1);
|
|
}
|
|
if (PlayerHasLockedInventory("SockGag")) {
|
|
PlayerUngag();
|
|
PlayerLockInventory("SockGag");
|
|
PlayerRemoveInventory("SockGag", 1);
|
|
}
|
|
} else PlayerUngag();
|
|
PlayerRemoveInventory("BallGag", 1);
|
|
PlayerLockInventory("BallGag");
|
|
C999_Common_BallGag_HasLooseBallGag = PlayerHasInventory("BallGag");
|
|
} else {
|
|
OverridenIntroText = GetText("BadTiming");
|
|
C999_Common_BallGag_CurrentStage = 0;
|
|
}
|
|
}
|
|
|
|
// Chapter Common - Self Ungag
|
|
function C999_Common_BallGag_SelfUngag() {
|
|
PlayerUnlockInventory("BallGag");
|
|
PlayerAddInventory("BallGag", 1);
|
|
}
|
|
|
|
// Chapter Common - Show the item image
|
|
function C999_Common_BallGag_ShowImage() {
|
|
OverridenIntroImage = "BallGag.jpg";
|
|
} |