mirror of
https://gitgud.io/BondageProjects/Bondage-College.git
synced 2025-04-25 17:59:34 +00:00
A few fixes
A few fixes
This commit is contained in:
parent
7973edfc37
commit
0fe0dcb4c6
19 changed files with 109 additions and 71 deletions
C001_BeforeClass/Classroom
C002_FirstClass
C004_ArtClass
C009_Library
C010_Revenge/EarlyEnding
SaveState.jsindex.html
|
@ -5,6 +5,7 @@ function C001_BeforeClass_Classroom_Load() {
|
|||
|
||||
// Set the timer limits
|
||||
StartTimer(8 * 60 * 60 * 1000, "C001_BeforeClass", "Outro");
|
||||
Common_SelfBondageAllowed = false;
|
||||
|
||||
// Set the screen background
|
||||
if (ActorSpecificHasInventory("Amanda", "Rope") && ActorSpecificHasInventory("Sidney", "Rope")) C001_BeforeClass_Classroom_Mode = 3;
|
||||
|
|
|
@ -24,6 +24,9 @@ function C002_FirstClass_Classroom_Load() {
|
|||
if (C002_FirstClass_Classroom_Sarah == "SarahEmpty") StartTimer(8.5 * 60 * 60 * 1000, "C002_FirstClass", "SarahIntro");
|
||||
else StartTimer(9 * 60 * 60 * 1000, "C002_FirstClass", "Outro");
|
||||
|
||||
// Self bondage is only allowed if Mildred was subdued
|
||||
Common_SelfBondageAllowed = C002_FirstClass_Classroom_MildredSubdueSuccess;
|
||||
|
||||
// Get the image file for each girls
|
||||
C002_FirstClass_Classroom_Sidney = ActorSpecificGetImage("Sidney");
|
||||
C002_FirstClass_Classroom_Mildred = ActorSpecificGetImage("Mildred");
|
||||
|
|
|
@ -104,7 +104,8 @@ function C002_FirstClass_Mildred_Click() {
|
|||
}
|
||||
|
||||
// Chapter 2 - Mildred Restrain Player
|
||||
function C002_FirstClass_Mildred_RestrainPlayer() {
|
||||
function C002_FirstClass_Mildred_RestrainPlayer() {
|
||||
PlayerReleaseBondage();
|
||||
PlayerLockInventory("Cuffs");
|
||||
PlayerLockInventory("BallGag");
|
||||
PlayerRemoveAllInventory();
|
||||
|
|
|
@ -51,21 +51,21 @@ Stage,LoveReq,SubReq,VarReq,Interaction,Result,NextStage,LoveMod,SubMod,Function
|
|||
300,0,0,,"Lady, this class will|finally be interesting.",Nonsense! I'm in charge of this class.|You are in a world of trouble little Miss.,310,0,0,
|
||||
300,0,0,,"If you cooperate, it|will be over quickly.",(She nods and stays silent.),310,0,1,
|
||||
300,0,0,,I didn't expect you|to be so pretty.,"(She blushes.) Young lady,|what exactly are you planning?",310,1,0,
|
||||
310,0,0,,(Tickle her.)|(1 minute),(She trashes to avoid you and laughs silently.)|You're only sinking deeper in trouble!,310,0,0,
|
||||
310,0,0,Common_PlayerNotRestrained,(Tickle her.)|(1 minute),(She trashes to avoid you and laughs silently.)|You're only sinking deeper in trouble!,310,0,0,
|
||||
310,0,0,SearchAvail,(Search in her stuff.)|(1 minute),(You search in her stuff and find many|interesting items.) You little thief!,310,-1,0,Search()
|
||||
320,0,0,,(Tickle her.)|(1 minute),(She trashes to avoid you and laughs silently.),320,0,0,
|
||||
320,0,0,,(Ungag her.)|(1 minute),(You slowly unbuckle her gag.)|Young lady! This is highly inappropriate.,310,0,0,Ungag()
|
||||
330,0,0,,(Tickle her.)|(1 minute),(She trashes to avoid you and laughs silently.)|You're only sinking deeper in trouble!,330,0,0,
|
||||
320,0,0,Common_PlayerNotRestrained,(Tickle her.)|(1 minute),(She trashes to avoid you and laughs silently.),320,0,0,
|
||||
320,0,0,Common_PlayerNotRestrained,(Ungag her.)|(1 minute),(You slowly unbuckle her gag.)|Young lady! This is highly inappropriate.,310,0,0,Ungag()
|
||||
330,0,0,Common_PlayerNotRestrained,(Tickle her.)|(1 minute),(She trashes to avoid you and laughs silently.)|You're only sinking deeper in trouble!,330,0,0,
|
||||
330,0,0,SearchAvail,(Search in her stuff.)|(1 minute),(You search in her stuff and find many|interesting items.) You little thief!,330,-1,0,Search()
|
||||
340,0,0,,(Tickle her.)|(1 minute),(She trashes to avoid you and laughs silently.),340,0,0,
|
||||
340,0,0,,(Ungag her.)|(1 minute),(You slowly unbuckle her gag.)|Young lady! This is highly inappropriate.,330,0,0,Ungag()
|
||||
410,0,0,,(Whip her.)|(1 minute),(You whip her pretty hard with the crop.)|Little Miss! You will regret what you're doing!,410,0,0,Whip()
|
||||
410,0,0,,(Put away the crop.)|(1 minute),(You put away the crop and|get her back on her feet.),310,0,0,
|
||||
420,0,0,,(Whip her.)|(1 minute),(You whip her pretty hard with the crop.)|(She screams angrily in her gag.),420,0,0,Whip()
|
||||
420,0,0,,(Put away the crop.)|(1 minute),(You put away the crop and|get her back on her feet.),320,0,0,
|
||||
420,0,0,,(Ungag her.)|(1 minute),(You slowly unbuckle her gag.)|Young lady! This is highly inappropriate.,410,0,0,Ungag()
|
||||
430,0,0,,(Whip her.)|(1 minute),(You whip her pretty hard with the crop.)|Little Miss! You will regret what you're doing!,430,0,0,Whip()
|
||||
430,0,0,,(Put away the crop.)|(1 minute),(You put away the crop and|get her back on her feet.),330,0,0,
|
||||
440,0,0,,(Whip her.)|(1 minute),(You whip her pretty hard with the crop.)|(She screams angrily in her gag.),440,0,0,Whip()
|
||||
440,0,0,,(Put away the crop.)|(1 minute),(You put away the crop and|get her back on her feet.),340,0,0,
|
||||
440,0,0,,(Ungag her.)|(1 minute),(You slowly unbuckle her gag.)|Young lady! This is highly inappropriate.,430,0,0,Ungag()
|
||||
340,0,0,Common_PlayerNotRestrained,(Tickle her.)|(1 minute),(She trashes to avoid you and laughs silently.),340,0,0,
|
||||
340,0,0,Common_PlayerNotRestrained,(Ungag her.)|(1 minute),(You slowly unbuckle her gag.)|Young lady! This is highly inappropriate.,330,0,0,Ungag()
|
||||
410,0,0,Common_PlayerNotRestrained,(Whip her.)|(1 minute),(You whip her pretty hard with the crop.)|Little Miss! You will regret what you're doing!,410,0,0,Whip()
|
||||
410,0,0,Common_PlayerNotRestrained,(Put away the crop.)|(1 minute),(You put away the crop and|get her back on her feet.),310,0,0,
|
||||
420,0,0,Common_PlayerNotRestrained,(Whip her.)|(1 minute),(You whip her pretty hard with the crop.)|(She screams angrily in her gag.),420,0,0,Whip()
|
||||
420,0,0,Common_PlayerNotRestrained,(Put away the crop.)|(1 minute),(You put away the crop and|get her back on her feet.),320,0,0,
|
||||
420,0,0,Common_PlayerNotRestrained,(Ungag her.)|(1 minute),(You slowly unbuckle her gag.)|Young lady! This is highly inappropriate.,410,0,0,Ungag()
|
||||
430,0,0,Common_PlayerNotRestrained,(Whip her.)|(1 minute),(You whip her pretty hard with the crop.)|Little Miss! You will regret what you're doing!,430,0,0,Whip()
|
||||
430,0,0,Common_PlayerNotRestrained,(Put away the crop.)|(1 minute),(You put away the crop and|get her back on her feet.),330,0,0,
|
||||
440,0,0,Common_PlayerNotRestrained,(Whip her.)|(1 minute),(You whip her pretty hard with the crop.)|(She screams angrily in her gag.),440,0,0,Whip()
|
||||
440,0,0,Common_PlayerNotRestrained,(Put away the crop.)|(1 minute),(You put away the crop and|get her back on her feet.),340,0,0,
|
||||
440,0,0,Common_PlayerNotRestrained,(Ungag her.)|(1 minute),(You slowly unbuckle her gag.)|Young lady! This is highly inappropriate.,430,0,0,Ungag()
|
||||
|
|
|
|
@ -51,21 +51,21 @@ Stage,LoveReq,SubReq,VarReq,Interaction,Result,NextStage,LoveMod,SubMod,Function
|
|||
300,0,0,,"""Madame"", ce cours va|enfin devenir intéressant.","Non-sens ! Je suis la responsable de cette classe.|Vous allez au-devant de grands soucis mademoiselle.",310,0,0,
|
||||
300,0,0,,"Si vous coopérez,|Ça sera vite finis.",(Elle hocha la tête et reste silencieuse.),310,0,1,
|
||||
300,0,0,,"Je ne m'attendais pas à|ce que vous soyez si jolie".,"(Elle rougit.) Jeune fille,|Qu'est-ce que tu as prévu exactement ?",310,1,0,
|
||||
310,0,0,,(Tu la chatouilles.)|(1 minute),(Elle se recroqueville pour t'éviter et rit en silence.)|Tu ne fais que prolonger l'inévitable !,310,0,0,
|
||||
310,0,0,Common_PlayerNotRestrained,(Tu la chatouilles.)|(1 minute),(Elle se recroqueville pour t'éviter et rit en silence.)|Tu ne fais que prolonger l'inévitable !,310,0,0,
|
||||
310,0,0,SearchAvail,(Tu fouilles dans ses|affaires.) (1 minute),(Tu fouilles dans ses affaires et trouves des objets|très intéressants.) Sale petite voleuse !,310,-1,0,Search()
|
||||
320,0,0,,(Tu la chatouilles.)|(1 minute),(Elle se recroqueville pour t'éviter et rit en silence.),320,0,0,
|
||||
320,0,0,,(Tu la débâillones.)|(1 minute),(Tu lui enlèves doucement son bâillon.)|Jeune fille ! Ceci est vraiment inapproprié.,310,0,0,Ungag()
|
||||
330,0,0,,(Tu la chatouilles.)|(1 minute),(Elle se recroqueville pour t'éviter et rit en silence.)|Tu ne fais que prolonger l'inévitable !,330,0,0,
|
||||
320,0,0,Common_PlayerNotRestrained,(Tu la chatouilles.)|(1 minute),(Elle se recroqueville pour t'éviter et rit en silence.),320,0,0,
|
||||
320,0,0,Common_PlayerNotRestrained,(Tu la débâillones.)|(1 minute),(Tu lui enlèves doucement son bâillon.)|Jeune fille ! Ceci est vraiment inapproprié.,310,0,0,Ungag()
|
||||
330,0,0,Common_PlayerNotRestrained,(Tu la chatouilles.)|(1 minute),(Elle se recroqueville pour t'éviter et rit en silence.)|Tu ne fais que prolonger l'inévitable !,330,0,0,
|
||||
330,0,0,SearchAvail,(Tu fouilles dans ses|affaires.)|(1 minute),(Tu fouilles dans ses affaires et trouves des objets|très intéressants.) Sale petite voleuse !,330,-1,0,Search()
|
||||
340,0,0,,(Tu la chatouilles.)|(1 minute),(Elle se recroqueville pour t'éviter et rit en silence.),340,0,0,
|
||||
340,0,0,,(Tu la débâillones.)|(1 minute),(Tu lui enlèves doucement son bâillon.)|Jeune fille ! Ceci est vraiment inapproprié.,330,0,0,Ungag()
|
||||
410,0,0,,(Tu la fouettes.)|(1 minute),(Tu lui donnes un grand coup de cravache.)|Mademoiselle ! Vous regretterez ces actes !,410,0,0,Whip()
|
||||
410,0,0,,(Tu ranges la cravache.)|(1 minute),(Tu ranges la cravache et tu la remets sur ses pieds.),310,0,0,
|
||||
420,0,0,,(Tu la fouettes.)|(1 minute),(Tu lui donnes un grand coup de cravache.)|(Elle crie de colère dans son bâillon.),420,0,0,Whip()
|
||||
420,0,0,,(Tu ranges la cravache.)|(1 minute),(Tu ranges la cravache et tu la remets sur ses pieds.),320,0,0,
|
||||
420,0,0,,(Tu la débâillones.)|(1 minute),(Tu lui enlèves doucement son bâillon.)|Jeune fille ! Ceci est vraiment inapproprié.,410,0,0,Ungag()
|
||||
430,0,0,,(Tu la fouettes.)|(1 minute),(Tu lui donnes un grand coup de cravache.)|Mademoiselle ! Vous regretterez ces actes !,430,0,0,Whip()
|
||||
430,0,0,,(Tu ranges la cravache.)|(1 minute),(Tu ranges la cravache et tu la remets sur ses pieds.),330,0,0,
|
||||
440,0,0,,(Tu la fouettes.)|(1 minute),(Tu lui donnes un grand coup de cravache.)|(Elle crie de colère dans son bâillon.),440,0,0,Whip()
|
||||
440,0,0,,(Tu ranges la cravache.)|(1 minute),(Tu ranges la cravache et tu la remets sur ses pieds.),340,0,0,
|
||||
440,0,0,,(Tu la débâillones.)|(1 minute),(Tu lui enlèves doucement son bâillon.)|Jeune fille ! Ceci est vraiment inapproprié.,430,0,0,Ungag()
|
||||
340,0,0,Common_PlayerNotRestrained,(Tu la chatouilles.)|(1 minute),(Elle se recroqueville pour t'éviter et rit en silence.),340,0,0,
|
||||
340,0,0,Common_PlayerNotRestrained,(Tu la débâillones.)|(1 minute),(Tu lui enlèves doucement son bâillon.)|Jeune fille ! Ceci est vraiment inapproprié.,330,0,0,Ungag()
|
||||
410,0,0,Common_PlayerNotRestrained,(Tu la fouettes.)|(1 minute),(Tu lui donnes un grand coup de cravache.)|Mademoiselle ! Vous regretterez ces actes !,410,0,0,Whip()
|
||||
410,0,0,Common_PlayerNotRestrained,(Tu ranges la cravache.)|(1 minute),(Tu ranges la cravache et tu la remets sur ses pieds.),310,0,0,
|
||||
420,0,0,Common_PlayerNotRestrained,(Tu la fouettes.)|(1 minute),(Tu lui donnes un grand coup de cravache.)|(Elle crie de colère dans son bâillon.),420,0,0,Whip()
|
||||
420,0,0,Common_PlayerNotRestrained,(Tu ranges la cravache.)|(1 minute),(Tu ranges la cravache et tu la remets sur ses pieds.),320,0,0,
|
||||
420,0,0,Common_PlayerNotRestrained,(Tu la débâillones.)|(1 minute),(Tu lui enlèves doucement son bâillon.)|Jeune fille ! Ceci est vraiment inapproprié.,410,0,0,Ungag()
|
||||
430,0,0,Common_PlayerNotRestrained,(Tu la fouettes.)|(1 minute),(Tu lui donnes un grand coup de cravache.)|Mademoiselle ! Vous regretterez ces actes !,430,0,0,Whip()
|
||||
430,0,0,Common_PlayerNotRestrained,(Tu ranges la cravache.)|(1 minute),(Tu ranges la cravache et tu la remets sur ses pieds.),330,0,0,
|
||||
440,0,0,Common_PlayerNotRestrained,(Tu la fouettes.)|(1 minute),(Tu lui donnes un grand coup de cravache.)|(Elle crie de colère dans son bâillon.),440,0,0,Whip()
|
||||
440,0,0,Common_PlayerNotRestrained,(Tu ranges la cravache.)|(1 minute),(Tu ranges la cravache et tu la remets sur ses pieds.),340,0,0,
|
||||
440,0,0,Common_PlayerNotRestrained,(Tu la débâillones.)|(1 minute),(Tu lui enlèves doucement son bâillon.)|Jeune fille ! Ceci est vraiment inapproprié.,430,0,0,Ungag()
|
||||
|
|
Can't render this file because it contains an unexpected character in line 53 and column 62.
|
|
@ -30,7 +30,7 @@ Stage,LoveReq,SubReq,VarReq,Interaction,Result,NextStage,LoveMod,SubMod,Function
|
|||
100,0,0,Common_PlayerGagged,(Chew on the gag.),(She whispers.) You look like an idiot.,100,0,0,
|
||||
100,1,0,Common_PlayerGagged,(Try to point|to the BallGag.),(She whispers) Shut up.|I'll help you after class.,100,0,0,
|
||||
100,-1,0,Common_PlayerGagged,(Try to point|to the BallGag.),(She whispers.) Stay gagged bitch.,100,0,0,
|
||||
100,0,0,Common_PlayerRestrained,(Tug on the cuffs.),(She whispers.) You'll never get out.,100,0,0,
|
||||
100,0,0,Common_PlayerRestrained,(Struggle in|your restrains.),(She whispers.) You'll never get out.,100,0,0,
|
||||
100,0,-2,BowRemarkReady,(Bow your head.),(She whispers.) You're pathetic.,100,0,-1,BowRemark()
|
||||
110,0,0,Common_PlayerGagged,"@Uuuummph, mmph!",(She rolls her eyes up.),110,0,0,
|
||||
110,0,0,Common_PlayerNotRestrained,(Ungag her.)|(1 minute),(You unbuckle and pull out the big ball.)|Fuck this gag!,100,0,0,Ungag()
|
||||
|
|
|
|
@ -30,7 +30,7 @@ Stage,LoveReq,SubReq,VarReq,Interaction,Result,NextStage,LoveMod,SubMod,Function
|
|||
100,0,0,Common_PlayerGagged,(Tu mâches la boule.),(Elle chuchote.) Tu as l'air d'une idiote.,100,0,0,
|
||||
100,1,0,Common_PlayerGagged,(Tu essayes de montrer|du doigt la boule.),(Elle chuchote) La ferme.|Je t'aiderai après le cours.,100,0,0,
|
||||
100,-1,0,Common_PlayerGagged,(Tu essayes de montrer|du doigt la boule.),(Elle chuchote.) Reste bâillonnée pétasse.,100,0,0,
|
||||
100,0,0,Common_PlayerRestrained,(Tu tires sur les menottes.),(Elle chuchote.) Tu n'arriveras jamais à te libérer.,100,0,0,
|
||||
100,0,0,Common_PlayerRestrained,(Tu essais de|te libérer.),(Elle chuchote.) Tu n'arriveras jamais à te libérer.,100,0,0,
|
||||
100,0,-2,BowRemarkReady,(Tu baisses la tête.),(Elle chuchotte.) Tu es pitoyable.,100,0,-1,BowRemark()
|
||||
110,0,0,Common_PlayerGagged,"@Uuuummph, mmph !",(Elle lève les yeux au ciel.),110,0,0,
|
||||
110,0,0,Common_PlayerNotRestrained,(Tu la débâillonnes.)|(1 minute),(Tu détaches le bâillon et retires la grosse boule.)|Putain de bâillon !,100,0,0,Ungag()
|
||||
|
|
Can't render this file because it contains an unexpected character in line 19 and column 174.
|
|
@ -238,13 +238,14 @@ function C004_ArtClass_Jennifer_Paint() {
|
|||
if (CurrentTime <= 9.75 * 60 * 60 * 1000) {
|
||||
C004_ArtClass_Sarah_PaintAvail = false;
|
||||
C004_ArtClass_Jennifer_PaintAvail = false;
|
||||
C004_ArtClass_Julia_PaintAvail = false;
|
||||
ActorChangeAttitude(0, 2);
|
||||
CurrentTime = CurrentTime + 0.5 * 60 * 60 * 1000;
|
||||
PlayerAddSkill("Arts", 1);
|
||||
if (PlayerGetSkillLevel("Arts") >= 1) {
|
||||
ActorSpecificChangeAttitude("Julia", PlayerGetSkillLevel("Arts"), 0);
|
||||
ActorSpecificChangeAttitude("Sarah", PlayerGetSkillLevel("Arts"), 0);
|
||||
ActorSpecificChangeAttitude("Jennifer", PlayerGetSkillLevel("Arts"), 0);
|
||||
}
|
||||
PlayerAddSkill("Arts", 1);
|
||||
} else OverridenIntroText = GetText("NoTimeToPaint");
|
||||
}
|
|
@ -13,6 +13,7 @@ var C004_ArtClass_Julia_CanBegForRelease = false;
|
|||
var C004_ArtClass_Julia_EggConfirm = false;
|
||||
var C004_ArtClass_Julia_EggInside = false;
|
||||
var C004_ArtClass_Julia_WorkOfArtReady = true;
|
||||
var C004_ArtClass_Julia_PaintAvail = true;
|
||||
|
||||
// New image depending on Julia's bondage
|
||||
function C004_ArtClass_Julia_GetImage() {
|
||||
|
@ -316,3 +317,20 @@ function C004_ArtClass_Julia_WorkOfArt() {
|
|||
C004_ArtClass_Julia_WorkOfArtReady = false;
|
||||
ActorChangeAttitude(1, 0);
|
||||
}
|
||||
|
||||
// Chapter 4 - Julia Paint, can only be done if there's 30 minutes left for the class
|
||||
function C004_ArtClass_Julia_Paint() {
|
||||
if (CurrentTime <= 9.75 * 60 * 60 * 1000) {
|
||||
C004_ArtClass_Sarah_PaintAvail = false;
|
||||
C004_ArtClass_Jennifer_PaintAvail = false;
|
||||
C004_ArtClass_Julia_PaintAvail = false;
|
||||
ActorChangeAttitude(2, 0);
|
||||
CurrentTime = CurrentTime + 0.5 * 60 * 60 * 1000;
|
||||
if (PlayerGetSkillLevel("Arts") >= 1) {
|
||||
ActorSpecificChangeAttitude("Julia", PlayerGetSkillLevel("Arts"), 0);
|
||||
ActorSpecificChangeAttitude("Sarah", PlayerGetSkillLevel("Arts"), 0);
|
||||
ActorSpecificChangeAttitude("Jennifer", PlayerGetSkillLevel("Arts"), 0);
|
||||
}
|
||||
PlayerAddSkill("Arts", 1);
|
||||
} else OverridenIntroText = GetText("NoTimeToPaint");
|
||||
}
|
||||
|
|
|
@ -54,3 +54,4 @@ Stage,LoveReq,SubReq,VarReq,Interaction,Result,NextStage,LoveMod,SubMod,Function
|
|||
170,0,0,IsRestrained,(Tighten the ropes.)|(1 minute),The ropes are already|as tight as they can be.,170,0,0,Tighten()
|
||||
170,0,0,IsRestrained,(Release her.)|(1 minute),(You undo the knots and release her.)|So you didn't like Shibari after all?,170,0,0,Release()
|
||||
170,0,0,IsGagged,(Ungag her.)|(1 minute),(You remove the gag and she smiles.)|Art can be crazy sometimes. Now paint!,170,0,0,TryUngag()
|
||||
170,0,0,PaintAvail,(Paint Julia.)|(30 minutes),(You carefully paint her and show the result.)|(She looks at your painting and jumps of joy.),170,0,0,Paint()
|
||||
|
|
|
|
@ -234,13 +234,14 @@ function C004_ArtClass_Sarah_Paint() {
|
|||
if (CurrentTime <= 9.75 * 60 * 60 * 1000) {
|
||||
C004_ArtClass_Sarah_PaintAvail = false;
|
||||
C004_ArtClass_Jennifer_PaintAvail = false;
|
||||
C004_ArtClass_Julia_PaintAvail = false;
|
||||
ActorChangeAttitude(1, 1);
|
||||
CurrentTime = CurrentTime + 0.5 * 60 * 60 * 1000;
|
||||
PlayerAddSkill("Arts", 1);
|
||||
if (PlayerGetSkillLevel("Arts") >= 1) {
|
||||
ActorSpecificChangeAttitude("Julia", PlayerGetSkillLevel("Arts"), 0);
|
||||
ActorSpecificChangeAttitude("Sarah", PlayerGetSkillLevel("Arts"), 0);
|
||||
ActorSpecificChangeAttitude("Jennifer", PlayerGetSkillLevel("Arts"), 0);
|
||||
}
|
||||
PlayerAddSkill("Arts", 1);
|
||||
} else OverridenIntroText = GetText("NoTimeToPaint");
|
||||
}
|
|
@ -2,7 +2,7 @@
|
|||
function C009_Library_Intro_Load() {
|
||||
|
||||
// Time is always 14:25 on the intro, no timer, if time was already higher, we keep it
|
||||
if (CurrentTime < 14.25 * 60 * 60 * 1000) CurrentTime = 14.25 * 60 * 60 * 1000;
|
||||
if ((CurrentTime < 14.25 * 60 * 60 * 1000) || (CurrentTime > 15.25 * 60 * 60 * 1000)) CurrentTime = 14.25 * 60 * 60 * 1000;
|
||||
StopTimer(CurrentTime);
|
||||
|
||||
}
|
||||
|
@ -27,5 +27,5 @@ function C009_Library_Intro_Run() {
|
|||
// Chapter 9 - Library Click
|
||||
function C009_Library_Intro_Click() {
|
||||
TextPhase++;
|
||||
if (TextPhase >= 5) SetScene(CurrentChapter, "LibraryMain");
|
||||
if (TextPhase >= 5) SetScene(CurrentChapter, "Library");
|
||||
}
|
Before ![]() (image error) Size: 214 KiB After ![]() (image error) Size: 214 KiB ![]() ![]() |
39
C009_Library/Library/Script.js
Normal file
39
C009_Library/Library/Script.js
Normal file
|
@ -0,0 +1,39 @@
|
|||
var C009_Library_Library_CurrentZone = "001";
|
||||
|
||||
// Chapter 9 - Library Load
|
||||
function C009_Library_Library_Load() {
|
||||
|
||||
// Set the timer limits at 15:25
|
||||
StartTimer(15.25 * 60 * 60 * 1000, "C009_Library", "Outro");
|
||||
LeaveIcon = "Wait";
|
||||
Common_BondageAllowed = true;
|
||||
Common_SelfBondageAllowed = true;
|
||||
|
||||
}
|
||||
|
||||
// Chapter 9 - Library Run
|
||||
function C009_Library_Library_Run() {
|
||||
|
||||
// Draw the background image
|
||||
var ctx = document.getElementById("MainCanvas").getContext("2d");
|
||||
DrawImage(ctx, CurrentChapter + "/" + CurrentScreen + "/" + C009_Library_Library_CurrentZone + ".jpg", 0, 0);
|
||||
|
||||
}
|
||||
|
||||
// Chapter 9 - Library Click
|
||||
function C009_Library_Library_Click() {
|
||||
|
||||
// Checks if the user clicks on any regular item
|
||||
InventoryClick(GetClickedInventory(), "C009_Library", "Library");
|
||||
|
||||
// In Zone 1, the player can go to 2, 3 or 4
|
||||
if ((C009_Library_Library_CurrentZone == "001") && (MouseX >= 0) && (MouseX <= 200) && (MouseY >= 400) && (MouseY <= 600)) C009_Library_Library_CurrentZone = "002";
|
||||
if ((C009_Library_Library_CurrentZone == "001") && (MouseX >= 1000) && (MouseX <= 1200) && (MouseY >= 400) && (MouseY <= 600)) C009_Library_Library_CurrentZone = "003";
|
||||
if ((C009_Library_Library_CurrentZone == "001") && (MouseX >= 500) && (MouseX <= 700) && (MouseY >= 200) && (MouseY <= 400)) C009_Library_Library_CurrentZone = "004";
|
||||
|
||||
// In Zone 2, the player can go to 1 or search the books
|
||||
if ((C009_Library_Library_CurrentZone == "002") && (MouseX >= 500) && (MouseX <= 700) && (MouseY >= 400) && (MouseY <= 600)) C009_Library_Library_CurrentZone = "001";
|
||||
if ((C009_Library_Library_CurrentZone == "002") && (MouseX >= 0) && (MouseX <= 300) && (MouseY >= 50) && (MouseY <= 350)) SetScene(CurrentChapter, "Search" + C009_Library_Library_CurrentZone + "A");
|
||||
if ((C009_Library_Library_CurrentZone == "002") && (MouseX >= 900) && (MouseX <= 1200) && (MouseY >= 50) && (MouseY <= 350)) SetScene(CurrentChapter, "Search" + C009_Library_Library_CurrentZone + "B");
|
||||
|
||||
}
|
|
@ -1,27 +0,0 @@
|
|||
// Chapter 9 - Library Main Load
|
||||
function C009_Library_LibraryMain_Load() {
|
||||
|
||||
// Set the timer limits at 15:25
|
||||
StartTimer(15.25 * 60 * 60 * 1000, "C009_Library", "Outro");
|
||||
LeaveIcon = "Wait";
|
||||
Common_BondageAllowed = true;
|
||||
Common_SelfBondageAllowed = true;
|
||||
|
||||
}
|
||||
|
||||
// Chapter 9 - Library Main Run
|
||||
function C009_Library_LibraryMain_Run() {
|
||||
|
||||
// Draw the background image
|
||||
var ctx = document.getElementById("MainCanvas").getContext("2d");
|
||||
DrawImage(ctx, CurrentChapter + "/" + CurrentScreen + "/Background.jpg", 0, 0);
|
||||
|
||||
}
|
||||
|
||||
// Chapter 9 - Library Main Click
|
||||
function C009_Library_LibraryMain_Click() {
|
||||
|
||||
// Checks if the user clicks on any regular item
|
||||
InventoryClick(GetClickedInventory(), "C009_Library", "LibraryMain");
|
||||
|
||||
}
|
|
@ -5,6 +5,7 @@ function C009_Library_Outro_Load() {
|
|||
StopTimer(15.25 * 60 * 60 * 1000);
|
||||
PlayerReleaseBondage();
|
||||
PlayerUnlockAllInventory();
|
||||
Common_PlayerCrime = "";
|
||||
|
||||
}
|
||||
|
||||
|
|
|
@ -42,9 +42,6 @@ function C010_Revenge_EarlyEnding_Click() {
|
|||
|
||||
// Jump to the next animation
|
||||
TextPhase++;
|
||||
if (TextPhase >= 3) {
|
||||
Common_PlayerCrime = "";
|
||||
SaveMenu("C009_Library", "Intro");
|
||||
}
|
||||
if (TextPhase >= 3) SaveMenu("C009_Library", "Intro");
|
||||
|
||||
}
|
|
@ -64,6 +64,7 @@ function SaveState(SlotNumber) {
|
|||
localStorage.setItem("PlayerLockedInventory" + SN, JSON.stringify(PlayerLockedInventory));
|
||||
localStorage.setItem("PlayerSkill" + SN, JSON.stringify(PlayerSkill));
|
||||
localStorage.setItem("Actor" + SN, JSON.stringify(Actor));
|
||||
localStorage.setItem("CurrentTime" + SN, CurrentTime.toString());
|
||||
localStorage.setItem("Common_PlayerCrime" + SN, Common_PlayerCrime);
|
||||
localStorage.setItem("Common_ClubStatus" + SN, Common_ClubStatus);
|
||||
|
||||
|
@ -89,6 +90,7 @@ function LoadState(SlotNumber) {
|
|||
PlayerInventory = JSON.parse(localStorage.getItem("PlayerInventory" + SN));
|
||||
PlayerLockedInventory = JSON.parse(localStorage.getItem("PlayerLockedInventory" + SN));
|
||||
Actor = JSON.parse(localStorage.getItem("Actor" + SN));
|
||||
if (localStorage.getItem("CurrentTime" + SN) != null) CurrentTime = parseFloat(localStorage.getItem("CurrentTime" + SN));
|
||||
Common_PlayerCrime = localStorage.getItem("Common_PlayerCrime" + SN);
|
||||
Common_ClubStatus = localStorage.getItem("Common_ClubStatus" + SN);
|
||||
LoadRestrainStatus();
|
||||
|
|
|
@ -96,7 +96,7 @@
|
|||
<script src="C008_DramaClass/Villain/Script.js"></script>
|
||||
<script src="C008_DramaClass/Outro/Script.js"></script>
|
||||
<script src="C009_Library/Intro/Script.js"></script>
|
||||
<script src="C009_Library/LibraryMain/Script.js"></script>
|
||||
<script src="C009_Library/Library/Script.js"></script>
|
||||
<script src="C009_Library/Outro/Script.js"></script>
|
||||
<script src="C010_Revenge/Intro/Script.js"></script>
|
||||
<script src="C010_Revenge/AmandaSarah/Script.js"></script>
|
||||
|
|
Loading…
Add table
Reference in a new issue