Chapter 11 Mildred Intro

Chapter 11 Mildred Intro
This commit is contained in:
Ben987 2018-05-08 20:55:49 -04:00
parent 0bd7287514
commit e40a896625
14 changed files with 98 additions and 0 deletions

View file

@ -0,0 +1,4 @@
Stage,LoveReq,SubReq,VarReq,IntroText,Image
0,0,0,,"Since your teacher could not make it, I will be|taking over. You can address me as Miss Mildred.",MildredTeach.jpg
10,0,0,,,MildredTeach.jpg
20,0,0,,,MildredTeach.jpg
1 Stage LoveReq SubReq VarReq IntroText Image
2 0 0 0 Since your teacher could not make it, I will be|taking over. You can address me as Miss Mildred. MildredTeach.jpg
3 10 0 0 MildredTeach.jpg
4 20 0 0 MildredTeach.jpg

Binary file not shown.

After

(image error) Size: 64 KiB

Binary file not shown.

After

(image error) Size: 43 KiB

View file

@ -0,0 +1,33 @@
var C011_LiteratureClass_Mildred_CurrentStage = 0;
var C011_LiteratureClass_Mildred_Angry = false;
var C011_LiteratureClass_Mildred_GoodStudentCount = 0;
// Chapter 11 - Mildred Load
function C011_LiteratureClass_Mildred_Load() {
// Load the scene parameters
ActorLoad("Mildred", "");
LoadInteractions();
StartTimer(16.5 * 60 * 60 * 1000, "C011_LiteratureClass", "Outro");
C011_LiteratureClass_Mildred_Angry = GameLogQuery("C006_Isolation", "Mildred", "Isolation");
}
// Chapter 11 - Mildred Run
function C011_LiteratureClass_Mildred_Run() {
BuildInteraction(C011_LiteratureClass_Mildred_CurrentStage);
}
// Chapter 11 - Mildred Click
function C011_LiteratureClass_Mildred_Click() {
// Regular interactions
ClickInteraction(C011_LiteratureClass_Mildred_CurrentStage);
var ClickedInv = GetClickedInventory();
}
// Chapter 11 - Mildred recognizes that player is being a good student
function C011_LiteratureClass_Mildred_GoodStudent() {
C011_LiteratureClass_Mildred_GoodStudentCount++;
}

View file

@ -0,0 +1,7 @@
Stage,LoveReq,SubReq,VarReq,Interaction,Result,NextStage,LoveMod,SubMod,Function
0,0,0,,(Listen carefully.),I know there's been discipline problems|in this classroom and it will stop now.,10,0,0,GoodStudent()
0,0,0,,(Look at the clock.),I know there's been discipline problems|in this classroom and it will stop now.,10,0,0,
0,0,0,,(Relax on your chair.),I know there's been discipline problems|in this classroom and it will stop now.,10,0,0,
10,0,0,,(Listen carefully.),"I have the means to keep you under control.|If you disobey, you will get restrained.",20,0,0,GoodStudent()
10,0,0,,(Look bored.),"I have the means to keep you under control.|If you disobey, you will get restrained.",20,0,0,
10,0,0,,(Yawn loudly.),"(She whips the podium swiftly and everyone jumps.)|If you disobey, I have the means to restrain you.",20,-1,0,
1 Stage LoveReq SubReq VarReq Interaction Result NextStage LoveMod SubMod Function
2 0 0 0 (Listen carefully.) I know there's been discipline problems|in this classroom and it will stop now. 10 0 0 GoodStudent()
3 0 0 0 (Look at the clock.) I know there's been discipline problems|in this classroom and it will stop now. 10 0 0
4 0 0 0 (Relax on your chair.) I know there's been discipline problems|in this classroom and it will stop now. 10 0 0
5 10 0 0 (Listen carefully.) I have the means to keep you under control.|If you disobey, you will get restrained. 20 0 0 GoodStudent()
6 10 0 0 (Look bored.) I have the means to keep you under control.|If you disobey, you will get restrained. 20 0 0
7 10 0 0 (Yawn loudly.) (She whips the podium swiftly and everyone jumps.)|If you disobey, I have the means to restrain you. 20 -1 0

View file

@ -0,0 +1 @@
Tag,Content
1 Tag Content

Binary file not shown.

After

(image error) Size: 85 KiB

Binary file not shown.

After

(image error) Size: 110 KiB

Binary file not shown.

After

(image error) Size: 94 KiB

Binary file not shown.

After

(image error) Size: 120 KiB

View file

@ -0,0 +1,38 @@
var C011_LiteratureClass_MildredIntro_MildredStatus = "";
// Chapter 11 - Mildred Intro Load
function C011_LiteratureClass_MildredIntro_Load() {
// If no desk is picked, we pick one at random
if (!C011_LiteratureClass_SelectDesk_FrontDesk && !C011_LiteratureClass_SelectDesk_BackDesk) {
if (Math.floor(Math.random() * 2) == 1) C011_LiteratureClass_SelectDesk_SelectFront();
else C011_LiteratureClass_SelectDesk_SelectBack();
}
// Stop the time and show the intro, Mildred will have a defiant intro if the player was isolated
StopTimer(15.666667 * 60 * 60 * 1000);
if (GameLogQuery("C006_Isolation", "Mildred", "Isolation")) C011_LiteratureClass_MildredIntro_MildredStatus = "Defiant";
}
// Chapter 11 - Mildred Intro Run
function C011_LiteratureClass_MildredIntro_Run() {
// Paints the background
if (C011_LiteratureClass_SelectDesk_FrontDesk) DrawImage(CurrentChapter + "/" + CurrentScreen + "/BackgroundFront.jpg", 0, 0);
else DrawImage(CurrentChapter + "/" + CurrentScreen + "/BackgroundBack.jpg", 0, 0);
// Write the chapter introduction
DrawText(GetText("Intro" + C011_LiteratureClass_MildredIntro_MildredStatus + "1"), 600, 100, "White");
if (TextPhase >= 1) DrawText(GetText("Intro" + C011_LiteratureClass_MildredIntro_MildredStatus + "2"), 600, 200, "White");
if (TextPhase >= 2) DrawText(GetText("Intro" + C011_LiteratureClass_MildredIntro_MildredStatus + "3"), 600, 300, "White");
if (TextPhase >= 3) DrawText(GetText("Intro" + C011_LiteratureClass_MildredIntro_MildredStatus + "4"), 600, 400, "White");
if (TextPhase >= 4) DrawText(GetText("Intro" + C011_LiteratureClass_MildredIntro_MildredStatus + "5"), 600, 500, "White");
}
// Chapter 11 - Mildred Intro Click
function C011_LiteratureClass_MildredIntro_Click() {
TextPhase++;
if (TextPhase >= 5) SetScene(CurrentChapter, "Mildred");
}

View file

@ -0,0 +1,11 @@
Tag,Content
Intro1,It's 15:40 and the teacher finally comes into class.
Intro2,"She introduce herself as Mildred, a substitute teacher."
Intro3,She's carrying a briefcase and a rigid leather crop.
Intro4,She stares at Sidney who removes her feet from her desk.
Intro5,She stands in front of the podium and speaks to everyone.
IntroDefiant1,It's 15:40 and the teacher finally comes into class.
IntroDefiant2,You recognize Mildred who will be the substitute teacher.
IntroDefiant3,She's carrying a briefcase and a rigid leather crop.
IntroDefiant4,She gives you a defiant look and points the crop at you.
IntroDefiant5,She stands in front of the podium and speaks to everyone.
1 Tag Content
2 Intro1 It's 15:40 and the teacher finally comes into class.
3 Intro2 She introduce herself as Mildred, a substitute teacher.
4 Intro3 She's carrying a briefcase and a rigid leather crop.
5 Intro4 She stares at Sidney who removes her feet from her desk.
6 Intro5 She stands in front of the podium and speaks to everyone.
7 IntroDefiant1 It's 15:40 and the teacher finally comes into class.
8 IntroDefiant2 You recognize Mildred who will be the substitute teacher.
9 IntroDefiant3 She's carrying a briefcase and a rigid leather crop.
10 IntroDefiant4 She gives you a defiant look and points the crop at you.
11 IntroDefiant5 She stands in front of the podium and speaks to everyone.

View file

@ -194,5 +194,7 @@ function C011_LiteratureClass_SelectDesk_MoveToFront() {
CurrentActor = "";
GameLogAdd("KickedFromBackDesk");
GameLogAdd("FrontDesk");
C011_LiteratureClass_SelectDesk_FrontDesk = true;
C011_LiteratureClass_SelectDesk_BackDesk = false;
CurrentTime = CurrentTime + 50000;
}

View file

@ -110,6 +110,8 @@
<script src="C010_Revenge/Outro/Script.js"></script>
<script src="C011_LiteratureClass/Intro/Script.js"></script>
<script src="C011_LiteratureClass/SelectDesk/Script.js"></script>
<script src="C011_LiteratureClass/MildredIntro/Script.js"></script>
<script src="C011_LiteratureClass/Mildred/Script.js"></script>
<script src="C011_LiteratureClass/Outro/Script.js"></script>
<script src="C101_KinbakuClub/Intro/Script.js"></script>
<script src="C101_KinbakuClub/JennaIntro/Script.js"></script>