Chapter 8 - Part 2 Start
Chapter 8 - Part 2 Start
7
Actor.js
|
@ -152,6 +152,13 @@ function ActorSetCloth(NewCloth) {
|
|||
Actor[A][ActorCloth] = NewCloth;
|
||||
}
|
||||
|
||||
// Sets the clothes for a specific actor
|
||||
function ActorSpecificSetCloth(SpecificActor, NewCloth) {
|
||||
for (var A = 0; A < Actor.length; A++)
|
||||
if (Actor[A][ActorName] == SpecificActor)
|
||||
Actor[A][ActorCloth] = NewCloth;
|
||||
}
|
||||
|
||||
// Returns true if the actor is restrained
|
||||
function ActorIsRestrained() {
|
||||
return (ActorHasInventory("Rope") || ActorHasInventory("TwoRopes") || ActorHasInventory("Cuffs"));
|
||||
|
|
BIN
Actors/Player/ChastityBelt_Cuffs_BallGag.png
Normal file
After ![]() (image error) Size: 116 KiB |
BIN
Actors/Player/ChastityBelt_Cuffs_ClothGag.png
Normal file
After ![]() (image error) Size: 113 KiB |
BIN
Actors/Player/ChastityBelt_Cuffs_NoGag.png
Normal file
After ![]() (image error) Size: 112 KiB |
BIN
Actors/Player/ChastityBelt_Cuffs_TapeGag.png
Normal file
After ![]() (image error) Size: 114 KiB |
BIN
Actors/Player/ChastityBelt_NoBondage_BallGag.png
Normal file
After ![]() (image error) Size: 132 KiB |
BIN
Actors/Player/ChastityBelt_NoBondage_ClothGag.png
Normal file
After ![]() (image error) Size: 129 KiB |
BIN
Actors/Player/ChastityBelt_NoBondage_NoGag.png
Normal file
After ![]() (image error) Size: 129 KiB |
BIN
Actors/Player/ChastityBelt_NoBondage_TapeGag.png
Normal file
After ![]() (image error) Size: 130 KiB |
BIN
Actors/Player/ChastityBelt_Rope_BallGag.png
Normal file
After ![]() (image error) Size: 132 KiB |
BIN
Actors/Player/ChastityBelt_Rope_ClothGag.png
Normal file
After ![]() (image error) Size: 128 KiB |
BIN
Actors/Player/ChastityBelt_Rope_NoGag.png
Normal file
After ![]() (image error) Size: 128 KiB |
BIN
Actors/Player/ChastityBelt_Rope_TapeGag.png
Normal file
After ![]() (image error) Size: 129 KiB |
BIN
Actors/Player/ChastityBelt_TwoRopes_BallGag.png
Normal file
After ![]() (image error) Size: 130 KiB |
BIN
Actors/Player/ChastityBelt_TwoRopes_ClothGag.png
Normal file
After ![]() (image error) Size: 127 KiB |
BIN
Actors/Player/ChastityBelt_TwoRopes_NoGag.png
Normal file
After ![]() (image error) Size: 127 KiB |
BIN
Actors/Player/ChastityBelt_TwoRopes_TapeGag.png
Normal file
After ![]() (image error) Size: 128 KiB |
BIN
Actors/Player/Clothed_NoBondage_BallGag.png
Normal file
After ![]() (image error) Size: 160 KiB |
BIN
Actors/Player/Clothed_NoBondage_ClothGag.png
Normal file
After ![]() (image error) Size: 157 KiB |
BIN
Actors/Player/Clothed_NoBondage_NoGag.png
Normal file
After ![]() (image error) Size: 157 KiB |
BIN
Actors/Player/Clothed_NoBondage_TapeGag.png
Normal file
After ![]() (image error) Size: 158 KiB |
BIN
Actors/Player/Heroine_NoBondage_NoGag.png
Normal file
After ![]() (image error) Size: 241 KiB |
BIN
Actors/Player/Naked_Cuffs_BallGag.png
Normal file
After ![]() (image error) Size: 111 KiB |
BIN
Actors/Player/Naked_Cuffs_ClothGag.png
Normal file
After ![]() (image error) Size: 108 KiB |
BIN
Actors/Player/Naked_Cuffs_NoGag.png
Normal file
After ![]() (image error) Size: 108 KiB |
BIN
Actors/Player/Naked_Cuffs_TapeGag.png
Normal file
After ![]() (image error) Size: 109 KiB |
BIN
Actors/Player/Naked_NoBondage_BallGag.png
Normal file
After ![]() (image error) Size: 124 KiB |
BIN
Actors/Player/Naked_NoBondage_ClothGag.png
Normal file
After ![]() (image error) Size: 122 KiB |
BIN
Actors/Player/Naked_NoBondage_NoGag.png
Normal file
After ![]() (image error) Size: 121 KiB |
BIN
Actors/Player/Naked_NoBondage_TapeGag.png
Normal file
After ![]() (image error) Size: 122 KiB |
BIN
Actors/Player/Underwear_Cuffs_BallGag.png
Normal file
After ![]() (image error) Size: 119 KiB |
BIN
Actors/Player/Underwear_Cuffs_ClothGag.png
Normal file
After ![]() (image error) Size: 116 KiB |
BIN
Actors/Player/Underwear_Cuffs_NoGag.png
Normal file
After ![]() (image error) Size: 116 KiB |
BIN
Actors/Player/Underwear_Cuffs_TapeGag.png
Normal file
After ![]() (image error) Size: 117 KiB |
BIN
Actors/Player/Underwear_NoBondage_BallGag.png
Normal file
After ![]() (image error) Size: 133 KiB |
BIN
Actors/Player/Underwear_NoBondage_ClothGag.png
Normal file
After ![]() (image error) Size: 130 KiB |
BIN
Actors/Player/Underwear_NoBondage_NoGag.png
Normal file
After ![]() (image error) Size: 130 KiB |
BIN
Actors/Player/Underwear_NoBondage_TapeGag.png
Normal file
After ![]() (image error) Size: 130 KiB |
BIN
Actors/Player/Underwear_Rope_BallGag.png
Normal file
After ![]() (image error) Size: 132 KiB |
BIN
Actors/Player/Underwear_Rope_ClothGag.png
Normal file
After ![]() (image error) Size: 129 KiB |
BIN
Actors/Player/Underwear_Rope_NoGag.png
Normal file
After ![]() (image error) Size: 129 KiB |
BIN
Actors/Player/Underwear_Rope_TapeGag.png
Normal file
After ![]() (image error) Size: 130 KiB |
BIN
Actors/Player/Underwear_TwoRopes_BallGag.png
Normal file
After ![]() (image error) Size: 129 KiB |
BIN
Actors/Player/Underwear_TwoRopes_ClothGag.png
Normal file
After ![]() (image error) Size: 126 KiB |
BIN
Actors/Player/Underwear_TwoRopes_NoGag.png
Normal file
After ![]() (image error) Size: 126 KiB |
BIN
Actors/Player/Underwear_TwoRopes_TapeGag.png
Normal file
After ![]() (image error) Size: 128 KiB |
BIN
Actors/Player/Villain_NoBondage_NoGag.png
Normal file
After ![]() (image error) Size: 215 KiB |
BIN
C008_DramaClass/Damsel/Background.jpg
Normal file
After ![]() (image error) Size: 88 KiB |
33
C008_DramaClass/Damsel/Intro_EN.csv
Normal file
|
@ -0,0 +1,33 @@
|
|||
Stage,LoveReq,SubReq,VarReq,IntroText,Image
|
||||
100,0,0,PlayerIsDamsel,(The white knight is starting the play.),Background.jpg
|
||||
100,0,0,!PlayerIsDamsel,(She's watching the white knight.),Background.jpg
|
||||
110,0,0,PlayerIsDamsel,(The black knight is next.),Background.jpg
|
||||
110,0,0,!PlayerIsDamsel,(She's watching the black knight.),Background.jpg
|
||||
120,0,0,PlayerIsDamsel,(The white knight is next.),Background.jpg
|
||||
120,0,0,!PlayerIsDamsel,(She's watching the white knight.),Background.jpg
|
||||
130,0,0,PlayerIsDamsel,(The black knight is next.),Background.jpg
|
||||
130,0,0,!PlayerIsDamsel,(She's watching the black knight.),Background.jpg
|
||||
140,0,0,PlayerIsDamsel,"(As the damsel, this is your line.)",Background.jpg
|
||||
140,0,0,!PlayerIsDamsel,(She's about to say her line.),Background.jpg
|
||||
150,0,0,PlayerIsDamsel,"(As the damsel, this is your line.)",Background.jpg
|
||||
150,0,0,!PlayerIsDamsel,(She's about to say her line.),Background.jpg
|
||||
160,0,0,PlayerIsDamsel,"(As the damsel, this is your line.)",Background.jpg
|
||||
160,0,0,!PlayerIsDamsel,(She's about to say her line.),Background.jpg
|
||||
200,0,0,PlayerIsDamsel,(The black knight is next.),Background.jpg
|
||||
200,0,0,!PlayerIsDamsel,(She's watching the black knight.),Background.jpg
|
||||
210,0,0,PlayerIsDamsel,(The black knight is next.),Background.jpg
|
||||
210,0,0,!PlayerIsDamsel,(She's watching the black knight.),Background.jpg
|
||||
220,0,0,PlayerIsDamsel,(The white knight is next.),Background.jpg
|
||||
220,0,0,!PlayerIsDamsel,(She's watching the white knight.),Background.jpg
|
||||
230,0,0,PlayerIsDamsel,(The black knight is next.),Background.jpg
|
||||
230,0,0,!PlayerIsDamsel,(She's watching the black knight.),Background.jpg
|
||||
240,0,0,PlayerIsDamsel,(The white knight is next.),Background.jpg
|
||||
240,0,0,!PlayerIsDamsel,(She's watching the white knight.),Background.jpg
|
||||
250,0,0,PlayerIsDamsel,"(As the damsel, this is your line.)",Background.jpg
|
||||
250,0,0,!PlayerIsDamsel,(She's about to say her line.),Background.jpg
|
||||
270,0,0,PlayerIsDamsel,(The black knight is next.),Background.jpg
|
||||
270,0,0,!PlayerIsDamsel,(She's watching the black knight.),Background.jpg
|
||||
280,0,0,PlayerIsDamsel,"(As the damsel, this is your line.)",Background.jpg
|
||||
280,0,0,!PlayerIsDamsel,(She's about to say her line.),Background.jpg
|
||||
300,0,0,PlayerIsDamsel,(The play is over.),Background.jpg
|
||||
300,0,0,!PlayerIsDamsel,It was a fun play.,Background.jpg
|
|
101
C008_DramaClass/Damsel/Script.js
Normal file
|
@ -0,0 +1,101 @@
|
|||
var C008_DramaClass_Damsel_CurrentStage = 0;
|
||||
var C008_DramaClass_Damsel_PlayerIsDamsel = false;
|
||||
var C008_DramaClass_Damsel_ForgetLineDone = false;
|
||||
var C008_DramaClass_Damsel_SnapFingersDone = false;
|
||||
|
||||
// Chapter 8 - Damsel Load
|
||||
function C008_DramaClass_Damsel_Load() {
|
||||
|
||||
// Checks if the player is the damsel & set the stage to the current global stage
|
||||
C008_DramaClass_Damsel_PlayerIsDamsel = (C008_DramaClass_JuliaIntro_PlayerRole == "Damsel");
|
||||
C008_DramaClass_Damsel_CurrentStage = C008_DramaClass_Theater_GlobalStage;
|
||||
|
||||
// Load the scene parameters
|
||||
if (!C008_DramaClass_Damsel_PlayerIsDamsel) ActorLoad(C008_DramaClass_Theater_Damsel, "Theater");
|
||||
LoadInteractions();
|
||||
LeaveIcon = "Leave";
|
||||
LeaveScreen = "Theater";
|
||||
|
||||
}
|
||||
|
||||
// Chapter 8 - Damsel Run
|
||||
function C008_DramaClass_Damsel_Run() {
|
||||
BuildInteraction(C008_DramaClass_Damsel_CurrentStage);
|
||||
DrawInteractionActor();
|
||||
}
|
||||
|
||||
// Chapter 8 - Damsel Click
|
||||
function C008_DramaClass_Damsel_Click() {
|
||||
|
||||
// Regular and inventory interactions
|
||||
ClickInteraction(C008_DramaClass_Damsel_CurrentStage);
|
||||
var ClickInv = GetClickedInventory();
|
||||
|
||||
// If the player is the villain, she can restrain Sarah once stage 140 is reached. Stage 220 becomes the minimum stage.
|
||||
if ((C008_DramaClass_Theater_Villain == "Player") && (C008_DramaClass_Damsel_CurrentStage >= 140) && (C008_DramaClass_Damsel_CurrentStage < 300) && ((ClickInv == "Cuffs") || (ClickInv == "Rope") || (ClickInv == "ClothGag") || (ClickInv == "BallGag") || (ClickInv == "TapeGag"))) {
|
||||
ActorSetCloth("Underwear");
|
||||
ActorApplyRestrain(ClickInv);
|
||||
if (C008_DramaClass_Damsel_CurrentStage < 220) {
|
||||
C008_DramaClass_Damsel_CurrentStage = 220;
|
||||
C008_DramaClass_Theater_GlobalStage = 220;
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
// Chapter 8 - Damsel - Sets the global stage and can alter Julia's mood
|
||||
function C008_DramaClass_Damsel_GlobalStage(GlobalStage, LoveMod, SubMod) {
|
||||
|
||||
// We can also flag for snapped fingers and a perfect play
|
||||
C008_DramaClass_Theater_GlobalStage = GlobalStage;
|
||||
if (!C008_DramaClass_Damsel_SnapFingersDone || (SubMod <= 0)) ActorSpecificChangeAttitude("Julia", LoveMod, SubMod);
|
||||
if (SubMod > 0) C008_DramaClass_Damsel_SnapFingersDone = true;
|
||||
if (LoveMod < 0) C008_DramaClass_Theater_PerfectPlay = false;
|
||||
|
||||
// If the player is the Damsel, Amanda can restrain her if she's in a Domme mood and wasn't selected
|
||||
if ((GlobalStage == 200) && (C008_DramaClass_Theater_Damsel == "Player") && (C008_DramaClass_Theater_Villain == "Amanda") && (ActorSpecificGetValue("Amanda", ActorSubmission) < 0)) {
|
||||
PlayerClothes("Underwear");
|
||||
PlayerLockInventory("Rope");
|
||||
PlayerLockInventory("ClothGag");
|
||||
OverridentIntroText = GetText("AmandaRestrainPlayer");
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
// Chapter 8 - Damsel - When the player forgets her line
|
||||
function C008_DramaClass_Damsel_ForgetLine() {
|
||||
if (!C008_DramaClass_Damsel_ForgetLineDone) {
|
||||
C008_DramaClass_Damsel_ForgetLineDone = true;
|
||||
C008_DramaClass_Theater_PerfectPlay = false;
|
||||
ActorSpecificChangeAttitude("Julia", 0, -1);
|
||||
}
|
||||
}
|
||||
|
||||
// Chapter 8 - Damsel - When Sarah must choose a knight
|
||||
function C008_DramaClass_Damsel_SarahChooseKnight() {
|
||||
|
||||
// Sarah chooses the player if love is 10 or better
|
||||
if (((ActorGetValue(ActorLove) >= 10) && (C008_DramaClass_Theater_Heroine == "Player")) || ((ActorGetValue(ActorLove) < 10) && (C008_DramaClass_Theater_Heroine == "Amanda"))) {
|
||||
|
||||
// Stage 200 means the hero was selected
|
||||
C008_DramaClass_Damsel_CurrentStage = 200;
|
||||
C008_DramaClass_Theater_GlobalStage = 200;
|
||||
|
||||
// If Amanda is the villain, she will restrain Sarah
|
||||
if (C008_DramaClass_Theater_Villain == "Amanda") {
|
||||
ActorSetCloth("Underwear");
|
||||
ActorAddInventory("Rope");
|
||||
ActorAddInventory("ClothGag");
|
||||
OverridentIntroText = GetText("SarahChooseWhiteKnightRestrained");
|
||||
} else OverridentIntroText = GetText("SarahChooseWhiteKnight");
|
||||
|
||||
} else {
|
||||
|
||||
// Stage 210 means the villain was selected
|
||||
C008_DramaClass_Damsel_CurrentStage = 210;
|
||||
C008_DramaClass_Theater_GlobalStage = 210;
|
||||
OverridentIntroText = GetText("SarahChooseBlackKnight");
|
||||
|
||||
}
|
||||
|
||||
}
|
20
C008_DramaClass/Damsel/Stage_EN.csv
Normal file
|
@ -0,0 +1,20 @@
|
|||
Stage,LoveReq,SubReq,VarReq,Interaction,Result,NextStage,LoveMod,SubMod,Function
|
||||
140,0,0,PlayerIsDamsel,Halt! Before soil|turns crimson.,Both knights looks at the damsel.,150,0,0,"GlobalStage(150, 1, 0)"
|
||||
140,0,0,PlayerIsDamsel,Stop! Before the|ground turns red.,Both knights looks at the damsel.,150,0,0,"GlobalStage(150, -1, 0)"
|
||||
140,0,0,PlayerIsDamsel,Sorry Julia.|I forgot my line.,"Julia whispers: ""Halt! Before soil turns crimson.""",140,0,0,ForgetLine()
|
||||
140,0,0,!PlayerIsDamsel,(Listen quietly.),"Sarah steps in like a princess and says:|""Halt! Before soil turns crimson.""",150,0,0,"GlobalStage(150, 0, 0)"
|
||||
140,0,0,!PlayerIsDamsel,(Snap your fingers|with impatience.),"Sarah rushes on the stage and says:|""Halt! Before soil turns red.""",150,0,0,"GlobalStage(150, 0, 1)"
|
||||
140,0,0,!PlayerIsDamsel,(Make some silly|faces to distract her.),"Sarah tries not to laugh and says:|""Stop! Before ground turns crimson.""",150,0,0,"GlobalStage(150, -1, 0)"
|
||||
150,0,0,PlayerIsDamsel,Allow me to speak|from my heart.,Both knights looks curiously at you.,160,0,0,"GlobalStage(160, -1, 0)"
|
||||
150,0,0,PlayerIsDamsel,Alloweth thy heart speaks pure voice.,Both knights looks at you anxiously.,160,0,0,"GlobalStage(160, 1, 0)"
|
||||
150,0,0,PlayerIsDamsel,Sorry Julia.|I forgot my line.,"Julia whispers: ""Alloweth thy heart speaks pure voice.""",150,0,0,ForgetLine()
|
||||
150,0,0,!PlayerIsDamsel,(Listen quietly.),"Sarah looks at both knights and says:|""Alloweth thy heart speaks pure voice.""",160,0,0,"GlobalStage(160, 0, 0)"
|
||||
150,0,0,!PlayerIsDamsel,(Snap your fingers|with impatience.),"Sarah speeds up and says:|""Allow my heart to speak pure voice.""",160,0,0,"GlobalStage(160, 0, 1)"
|
||||
150,0,0,!PlayerIsDamsel,(Give her a thumbs|up to cheer her.),"Sarah smiles at you and says:|""Alloweth thy heart speaks pure voice.""",160,0,0,"GlobalStage(160, 1, 0)"
|
||||
160,0,0,PlayerIsDamsel,I love the|white hero!,The black knight unsheathe her|sword and takes the stage.,200,0,0,"GlobalStage(200, -1, 0)"
|
||||
160,0,0,PlayerIsDamsel,I profess love unto|thy white hero.,The black knight unsheathe her|sword and takes the stage.,200,0,0,"GlobalStage(200, 1, 0)"
|
||||
160,0,0,PlayerIsDamsel,I love the|black knight!,The black knight unsheathe her|sword and takes the stage.,210,0,0,"GlobalStage(210, -1, 0)"
|
||||
160,0,0,PlayerIsDamsel,I profess love unto|thy black champion.,The black knight unsheathe her|sword and takes the stage.,210,0,0,"GlobalStage(210, 1, 0)"
|
||||
160,0,0,PlayerIsDamsel,Sorry Julia.|I forgot my line.,"Julia sighs and whispers to you:|""I profess love unto thy white hero.""",150,0,0,ForgetLine()
|
||||
160,0,0,!PlayerIsDamsel,(Listen quietly.),,160,0,0,SarahChooseKnight()
|
||||
160,0,0,!PlayerIsDamsel,(Snap your fingers|with impatience.),,160,0,0,SarahChooseKnight()
|
|
5
C008_DramaClass/Damsel/Text_EN.csv
Normal file
|
@ -0,0 +1,5 @@
|
|||
Tag,Content
|
||||
SarahChooseWhiteKnight,"Sarah: ""I profess love unto thy white hero.""|Amanda stares at you with a huge grin."
|
||||
SarahChooseWhiteKnightRestrained,"Sarah: ""I profess love unto thy white hero.""|Amanda quickly restrains her and looks at you."
|
||||
SarahChooseBlackKnight,"Sarah: ""I profess love unto thy black champion.""|The black knight smiles and takes the lead."
|
||||
AmandaRestrainPlayer,Amanda jumps on you and restrains you.|She then turns to the hero with a menacing look.
|
|
BIN
C008_DramaClass/Heroine/Background.jpg
Normal file
After ![]() (image error) Size: 88 KiB |
33
C008_DramaClass/Heroine/Intro_EN.csv
Normal file
|
@ -0,0 +1,33 @@
|
|||
Stage,LoveReq,SubReq,VarReq,IntroText,Image
|
||||
100,0,0,PlayerIsHeroine,"(As the white knight, you are|supposed to start the play.)",Background.jpg
|
||||
100,0,0,!PlayerIsHeroine,(The white knight is about to start to play.),Background.jpg
|
||||
110,0,0,PlayerIsHeroine,(The black knight is next.),Background.jpg
|
||||
110,0,0,!PlayerIsHeroine,(She's watching the black knight.),Background.jpg
|
||||
120,0,0,PlayerIsHeroine,"(As the white knight,|this is your next line.)",Background.jpg
|
||||
120,0,0,!PlayerIsHeroine,(The white knight is about to talk.),Background.jpg
|
||||
130,0,0,PlayerIsHeroine,(The black knight is next.),Background.jpg
|
||||
130,0,0,!PlayerIsHeroine,(She's watching the black knight.),Background.jpg
|
||||
140,0,0,PlayerIsHeroine,(The damsel is next.),Background.jpg
|
||||
140,0,0,!PlayerIsHeroine,(She's watching the damsel.),Background.jpg
|
||||
150,0,0,PlayerIsHeroine,(The damsel is next.),Background.jpg
|
||||
150,0,0,!PlayerIsHeroine,(She's watching the damsel.),Background.jpg
|
||||
160,0,0,PlayerIsHeroine,(The damsel is next.),Background.jpg
|
||||
160,0,0,!PlayerIsHeroine,(She's watching the damsel.),Background.jpg
|
||||
200,0,0,PlayerIsHeroine,(The black knight is next.),Background.jpg
|
||||
200,0,0,!PlayerIsHeroine,(She's watching the black knight.),Background.jpg
|
||||
210,0,0,PlayerIsHeroine,(The black knight is next.),Background.jpg
|
||||
210,0,0,!PlayerIsHeroine,(She's watching the black knight.),Background.jpg
|
||||
220,0,0,PlayerIsHeroine,"(As the white knight,|this is your next line.)",Background.jpg
|
||||
220,0,0,!PlayerIsHeroine,(The white knight is about to talk.),Background.jpg
|
||||
230,0,0,PlayerIsHeroine,(The black knight is next.),Background.jpg
|
||||
230,0,0,!PlayerIsHeroine,(She's watching the black knight.),Background.jpg
|
||||
240,0,0,PlayerIsHeroine,"(As the white knight,|this is your next line.)",Background.jpg
|
||||
240,0,0,!PlayerIsHeroine,(The white knight is about to talk.),Background.jpg
|
||||
250,0,0,PlayerIsHeroine,(The damsel is next.),Background.jpg
|
||||
250,0,0,!PlayerIsHeroine,(She's watching the damsel.),Background.jpg
|
||||
270,0,0,PlayerIsHeroine,(The black knight is next.),Background.jpg
|
||||
270,0,0,!PlayerIsHeroine,(She's watching the black knight.),Background.jpg
|
||||
280,0,0,PlayerIsHeroine,(The damsel is next.),Background.jpg
|
||||
280,0,0,!PlayerIsHeroine,(She's watching the damsel.),Background.jpg
|
||||
300,0,0,PlayerIsHeroine,(The play is over),Background.jpg
|
||||
300,0,0,!PlayerIsHeroine,It was a fun play.,Background.jpg
|
|
51
C008_DramaClass/Heroine/Script.js
Normal file
|
@ -0,0 +1,51 @@
|
|||
var C008_DramaClass_Heroine_CurrentStage = 100;
|
||||
var C008_DramaClass_Heroine_PlayerIsHeroine = false;
|
||||
var C008_DramaClass_Heroine_ForgetLineDone = false;
|
||||
var C008_DramaClass_Heroine_SnapFingersDone = false;
|
||||
|
||||
// Chapter 8 - Heroine Load
|
||||
function C008_DramaClass_Heroine_Load() {
|
||||
|
||||
// Checks if the player is the heroine & set the stage to the current global stage
|
||||
C008_DramaClass_Heroine_PlayerIsHeroine = (C008_DramaClass_JuliaIntro_PlayerRole == "Heroine");
|
||||
C008_DramaClass_Heroine_CurrentStage = C008_DramaClass_Theater_GlobalStage;
|
||||
|
||||
// Load the scene parameters
|
||||
if (!C008_DramaClass_Heroine_PlayerIsHeroine) ActorLoad(C008_DramaClass_Theater_Heroine, "Theater");
|
||||
LoadInteractions();
|
||||
LeaveIcon = "Leave";
|
||||
LeaveScreen = "Theater";
|
||||
|
||||
}
|
||||
|
||||
// Chapter 8 - Heroine Run
|
||||
function C008_DramaClass_Heroine_Run() {
|
||||
BuildInteraction(C008_DramaClass_Heroine_CurrentStage);
|
||||
DrawInteractionActor();
|
||||
}
|
||||
|
||||
// Chapter 8 - Heroine Click
|
||||
function C008_DramaClass_Heroine_Click() {
|
||||
|
||||
// Regular and inventory interactions
|
||||
ClickInteraction(C008_DramaClass_Heroine_CurrentStage);
|
||||
var ClickInv = GetClickedInventory();
|
||||
|
||||
}
|
||||
|
||||
// Chapter 8 - Heroine - Sets the global stage and can alter Julia's mood
|
||||
function C008_DramaClass_Heroine_GlobalStage(GlobalStage, LoveMod, SubMod) {
|
||||
C008_DramaClass_Theater_GlobalStage = GlobalStage;
|
||||
if (!C008_DramaClass_Heroine_SnapFingersDone || (SubMod <= 0)) ActorSpecificChangeAttitude("Julia", LoveMod, SubMod);
|
||||
if (SubMod > 0) C008_DramaClass_Heroine_SnapFingersDone = true;
|
||||
if (LoveMod < 0) C008_DramaClass_Theater_PerfectPlay = false;
|
||||
}
|
||||
|
||||
// Chapter 8 - Heroine - When the player forgets her line
|
||||
function C008_DramaClass_Heroine_ForgetLine() {
|
||||
if (!C008_DramaClass_Heroine_ForgetLineDone) {
|
||||
C008_DramaClass_Heroine_ForgetLineDone = true;
|
||||
C008_DramaClass_Theater_PerfectPlay = false;
|
||||
ActorSpecificChangeAttitude("Julia", 0, -1);
|
||||
}
|
||||
}
|
18
C008_DramaClass/Heroine/Stage_EN.csv
Normal file
|
@ -0,0 +1,18 @@
|
|||
Stage,LoveReq,SubReq,VarReq,Interaction,Result,NextStage,LoveMod,SubMod,Function
|
||||
100,0,0,PlayerIsHeroine,Felon! Thou hast|ravished my fiancee.,"Amanda quickly steps in and answers:|""Her heart had beaten thy true loveth.""",120,0,0,"GlobalStage(120, 1, 0)"
|
||||
100,0,0,PlayerIsHeroine,Thief! You|stole my wife.,"Amanda seems confused and answers:|""Her heart has beaten with true love.""",120,0,0,"GlobalStage(120, -1, 0)"
|
||||
100,0,0,PlayerIsHeroine,Sorry Julia.|I forgot my line.,"Julia whispers: ""Felon! Thou hast ravished my fiancee.""",100,0,0,ForgetLine()
|
||||
100,0,0,!PlayerIsHeroine,(Listen quietly.),"The white knight slowly steps in and says:|""Felon! Thou hast ravished my fiancee.""",110,0,0,"GlobalStage(110, 0, 0)"
|
||||
100,0,0,!PlayerIsHeroine,(Snap your fingers|with impatience.),"The white knight quickly steps in and yells:|""Felon! Thou hast ravished my fiancee.""",110,0,0,"GlobalStage(110, 0, 1)"
|
||||
120,0,0,PlayerIsHeroine,"Dirty mouth,|free her now.","Amanda giggles and answers:|""Step further and you will get steel.""",140,0,0,"GlobalStage(140, -1, 0)"
|
||||
120,0,0,PlayerIsHeroine,"Foul tongue,|liberate with haste.","Amanda stares at you and answers solemnly:|""Step furth'r and steel awaits thee.""",140,0,0,"GlobalStage(140, 1, 0)"
|
||||
120,0,0,PlayerIsHeroine,Sorry Julia.|I forgot my line.,"Julia whispers: ""Foul tongue, liberate with haste.""",120,0,0,ForgetLine()
|
||||
120,0,0,!PlayerIsHeroine,(Listen quietly.),"The white knight takes a stand and says:|""Foul tongue, liberate with haste.""",130,0,0,"GlobalStage(130, 0, 0)"
|
||||
120,0,0,!PlayerIsHeroine,(Snap your fingers|with impatience.),"The white knight quickly says:|""Foul tongue, liberate with haste.""",130,0,0,"GlobalStage(130, 0, 1)"
|
||||
120,0,0,!PlayerIsHeroine,(Make some silly|faces to distract her.),"The white knight laughs and says:|""Foul mouth, liberate her now.""",130,0,0,"GlobalStage(130, -1, 0)"
|
||||
220,0,0,PlayerIsHeroine,"So fate chosen|metal, en garde!",Amanda unsheathes her|sword and steps forward.,230,0,0,"GlobalStage(230, -1, 0)"
|
||||
220,0,0,PlayerIsHeroine,"So fate chooseth|steel, en garde!",Amanda unsheathes her|sword and steps forward.,230,0,0,"GlobalStage(230, 1, 0)"
|
||||
220,0,0,PlayerIsHeroine,Sorry Julia.|I forgot my line.,"Julia whispers: ""So fate chooseth steel, en garde!""",220,0,0,ForgetLine()
|
||||
220,0,0,!PlayerIsHeroine,(Listen quietly.),"The white knight grabs her sword and says:|""So fate chooseth steel, en garde!""",230,0,0,"GlobalStage(230, 0, 0)"
|
||||
220,0,0,!PlayerIsHeroine,(Yawn in boredom.),"The white knight grabs her sword and says:|""So fate chooseth steel, en garde!""",230,0,0,"GlobalStage(230, -1, 0)"
|
||||
220,0,0,!PlayerIsHeroine,(Applaud lightly.),"The white knight grabs her sword and says:|""So fate chooseth steel, en garde!""",230,0,0,"GlobalStage(230, 1, 0)"
|
|
1
C008_DramaClass/Heroine/Text_EN.csv
Normal file
|
@ -0,0 +1 @@
|
|||
Tag,Content
|
|
39
C008_DramaClass/Julia/Intro_EN.csv
Normal file
|
@ -0,0 +1,39 @@
|
|||
Stage,LoveReq,SubReq,VarReq,IntroText,Image
|
||||
0,0,0,IsDamsel,You look adorable as a damsel.|I hope you're ready for teatro!,JuliaShow.jpg
|
||||
0,0,0,IsHeroine,The terrible black knight is here.|I hope you're ready for teatro!,JuliaShow.jpg
|
||||
0,0,0,IsVillain,Oh! The heroic white knight.|I hope you're ready for teatro!,JuliaShow.jpg
|
||||
10,0,0,,,Julia.jpg
|
||||
20,0,0,,,JuliaShow.jpg
|
||||
100,0,0,IsHeroine,(She whispers to you.) Don't look at me.|This is your time to shine like a star.,JuliaLookPlayer.jpg
|
||||
100,0,0,!IsHeroine,(She looks at the white knight.),JuliaLookAway.jpg
|
||||
110,0,0,IsVillain,(She whispers to you.) Don't look at me.|This is your time to shine like a star.,JuliaLookPlayer.jpg
|
||||
110,0,0,!IsVillain,(She looks at the black knight.),JuliaLookAway.jpg
|
||||
120,0,0,IsHeroine,(She whispers to you.) Don't look at me.|This is your time to shine like a star.,JuliaLookPlayer.jpg
|
||||
120,0,0,!IsHeroine,(She looks at the white knight.),JuliaLookAway.jpg
|
||||
130,0,0,IsVillain,(She whispers to you.) Don't look at me.|This is your time to shine like a star.,JuliaLookPlayer.jpg
|
||||
130,0,0,!IsVillain,(She looks at the black knight.),JuliaLookAway.jpg
|
||||
140,0,0,IsDamsel,(She whispers to you.) Don't look at me.|This is your time to shine like a star.,JuliaLookPlayer.jpg
|
||||
140,0,0,!IsDamsel,(She looks at the damsel.),JuliaLookAway.jpg
|
||||
150,0,0,IsDamsel,(She whispers to you.) Don't look at me.|This is your time to shine like a star.,JuliaLookPlayer.jpg
|
||||
150,0,0,!IsDamsel,(She looks at the damsel.),JuliaLookAway.jpg
|
||||
160,0,0,IsDamsel,(She whispers to you.) Don't look at me.|This is your time to shine like a star.,JuliaLookPlayer.jpg
|
||||
160,0,0,!IsDamsel,(She looks at the damsel.),JuliaLookAway.jpg
|
||||
200,0,0,IsVillain,(She whispers to you.) Don't look at me.|This is your time to shine like a star.,JuliaLookPlayer.jpg
|
||||
200,0,0,!IsVillain,(She looks at the black knight.),JuliaLookAway.jpg
|
||||
210,0,0,IsVillain,(She whispers to you.) Don't look at me.|This is your time to shine like a star.,JuliaLookPlayer.jpg
|
||||
210,0,0,!IsVillain,(She looks at the black knight.),JuliaLookAway.jpg
|
||||
220,0,0,IsHeroine,(She whispers to you.) Don't look at me.|This is your time to shine like a star.,JuliaLookPlayer.jpg
|
||||
220,0,0,!IsHeroine,(She looks at the white knight.),JuliaLookAway.jpg
|
||||
230,0,0,IsVillain,(She whispers to you.) Don't look at me.|This is your time to shine like a star.,JuliaLookPlayer.jpg
|
||||
230,0,0,!IsVillain,(She looks at the black knight.),JuliaLookAway.jpg
|
||||
240,0,0,IsHeroine,(She whispers to you.) Don't look at me.|This is your time to shine like a star.,JuliaLookPlayer.jpg
|
||||
240,0,0,!IsHeroine,(She looks at the white knight.),JuliaLookAway.jpg
|
||||
250,0,0,IsDamsel,(She whispers to you.) Don't look at me.|This is your time to shine like a star.,JuliaLookPlayer.jpg
|
||||
250,0,0,!IsDamsel,(She looks at the damsel.),JuliaLookAway.jpg
|
||||
270,0,0,IsVillain,(She whispers to you.) Don't look at me.|This is your time to shine like a star.,JuliaLookPlayer.jpg
|
||||
270,0,0,!IsVillain,(She looks at the black knight.),JuliaLookAway.jpg
|
||||
280,0,0,IsDamsel,(She whispers to you.) Don't look at me.|This is your time to shine like a star.,JuliaLookPlayer.jpg
|
||||
280,0,0,!IsDamsel,(She looks at the damsel.),JuliaLookAway.jpg
|
||||
300,0,0,IsDamsel,Bravo! Bravo! Bravisimo!|You were a great damsel.,Background.jpg
|
||||
300,0,0,IsHeroine,Bravo! Bravo! Bravisimo!|You were a great white knight.,Background.jpg
|
||||
300,0,0,IsVillain,Bravo! Bravo! Bravisimo!|You were a great black knight.,Background.jpg
|
|
BIN
C008_DramaClass/Julia/Julia.jpg
Normal file
After ![]() (image error) Size: 84 KiB |
BIN
C008_DramaClass/Julia/JuliaLookAway.jpg
Normal file
After ![]() (image error) Size: 74 KiB |
BIN
C008_DramaClass/Julia/JuliaLookPlayer.jpg
Normal file
After ![]() (image error) Size: 77 KiB |
BIN
C008_DramaClass/Julia/JuliaShow.jpg
Normal file
After ![]() (image error) Size: 82 KiB |
49
C008_DramaClass/Julia/Script.js
Normal file
|
@ -0,0 +1,49 @@
|
|||
var C008_DramaClass_Julia_CurrentStage = 0;
|
||||
var C008_DramaClass_Julia_IsDamsel = false;
|
||||
var C008_DramaClass_Julia_IsHeroine = false;
|
||||
var C008_DramaClass_Julia_IsVillain = false;
|
||||
var C008_DramaClass_Julia_ScriptRefused = false;
|
||||
|
||||
// Chapter 8 - Julia Load
|
||||
function C008_DramaClass_Julia_Load() {
|
||||
|
||||
// Set the timer limits at 14:00
|
||||
StartTimer(14 * 60 * 60 * 1000, "C008_DramaClass", "Outro");
|
||||
|
||||
// Load the scene parameters
|
||||
C008_DramaClass_Julia_CurrentStage = C008_DramaClass_Theater_GlobalStage;
|
||||
ActorLoad("Julia", "Theater");
|
||||
LoadInteractions();
|
||||
|
||||
// Cannot leave before Julia gave her instructions
|
||||
if (C008_DramaClass_Julia_CurrentStage < 100) LeaveIcon = "";
|
||||
|
||||
// Set the role variables
|
||||
C008_DramaClass_Julia_IsDamsel = (C008_DramaClass_JuliaIntro_PlayerRole == "Damsel");
|
||||
C008_DramaClass_Julia_IsHeroine = (C008_DramaClass_JuliaIntro_PlayerRole == "Heroine");
|
||||
C008_DramaClass_Julia_IsVillain = (C008_DramaClass_JuliaIntro_PlayerRole == "Villain");
|
||||
|
||||
}
|
||||
|
||||
// Chapter 8 - Julia Run (beyond 300, she's on stage with the students)
|
||||
function C008_DramaClass_Julia_Run() {
|
||||
BuildInteraction(C008_DramaClass_Julia_CurrentStage);
|
||||
if (C008_DramaClass_Julia_CurrentStage >= 300) DrawInteractionActor();
|
||||
}
|
||||
|
||||
// Chapter 8 - Julia Click
|
||||
function C008_DramaClass_Julia_Click() {
|
||||
ClickInteraction(C008_DramaClass_Julia_CurrentStage);
|
||||
}
|
||||
|
||||
// Chapter 8 - Julia Refuse Script
|
||||
function C008_DramaClass_Julia_RefuseScript() {
|
||||
ActorChangeAttitude(-1, 0);
|
||||
C008_DramaClass_Julia_ScriptRefused = true;
|
||||
}
|
||||
|
||||
// Chapter 8 - Julia Start Drama (Global stage becomes 100)
|
||||
function C008_DramaClass_Julia_StartDrama() {
|
||||
C008_DramaClass_Theater_GlobalStage = 100;
|
||||
SetScene(CurrentChapter, "Theater");
|
||||
}
|
13
C008_DramaClass/Julia/Stage_EN.csv
Normal file
|
@ -0,0 +1,13 @@
|
|||
Stage,LoveReq,SubReq,VarReq,Interaction,Result,NextStage,LoveMod,SubMod,Function
|
||||
0,0,0,,Teatro? I don't know.,Ignite your flame COMMON_PLAYERNAME!|This is your script. (She hands you a sheet.),10,0,-1,
|
||||
0,0,0,,I will break a leg!,That's the spirit COMMON_PLAYERNAME!|This is your script. (She hands you a sheet.),10,0,1,
|
||||
0,0,0,,I'm ready Julia.,Magnifico COMMON_PLAYERNAME!|This is your script. (She hands you a sheet.),10,0,0,
|
||||
0,0,0,,This play will suck.,What a bad attitude COMMON_PLAYERNAME.|This is your script. (She hands you a sheet.),10,-1,-1,
|
||||
10,0,0,,(Read the script.)|(1 minute),A great role isn't it? Now get on the|stage. The white knight starts the play.,20,0,0,
|
||||
10,0,0,,(Read the script|minutely.) (1 minute),Oh! A meticulous pupil! Now get on the|stage. The white knight starts the play.,20,1,0,
|
||||
10,0,0,,(Scan the script|rapidly.) (1 minute),You seem really confident. Now get on the|stage. The white knight starts the play.,20,0,1,
|
||||
10,0,0,!ScriptRefused,I don't want|to read that.,How will you act without knowing the script?|Little COMMON_PLAYERNAME! Read it.,10,0,0,RefuseScript()
|
||||
20,0,0,,(Go on the stage.),,100,0,0,StartDrama()
|
||||
20,0,0,,Can we improvise?,Si! Don't go too far away from|the script but you can improvise.,20,0,0,
|
||||
100,0,0,,(Focus on the play.),,100,0,0,StartDrama()
|
||||
100,0,0,,Can we improvise?,Si! Don't go too far away from|the script but you can improvise.,100,0,0,
|
|
1
C008_DramaClass/Julia/Text_EN.csv
Normal file
|
@ -0,0 +1 @@
|
|||
Tag,Content
|
|
BIN
C008_DramaClass/Theater/Background.jpg
Normal file
After ![]() (image error) Size: 215 KiB |
BIN
C008_DramaClass/Theater/Julia.png
Normal file
After ![]() (image error) Size: 122 KiB |
69
C008_DramaClass/Theater/Script.js
Normal file
|
@ -0,0 +1,69 @@
|
|||
/*
|
||||
Full play by stages:
|
||||
100 - Heroine: Felon! Thou had ravished my fiancee.
|
||||
110 - Villain: Her heart had beaten thy true loveth.
|
||||
120 - Heroine: Foul tongue, liberate with haste.
|
||||
130 - Villain: Step furth'r and steel awaits thee.
|
||||
140 - Damsel: Halt! Before soil turns crimson. * From here, the Damsel can be kidnapped by the black knight
|
||||
150 - Damsel: Alloweth thy heart speaks pure voice.
|
||||
160 - Damsel: I profess love unto thy white hero. (200) / I profess love unto thy black champion. (210) * Now the Damsel can go either side, Sarah will choose the player if +10 love
|
||||
200 - Villain: Hero! Thou hast her heart, flesh is mine.
|
||||
210 - Villain: Hero! Concede thine defeat, she's mine.
|
||||
220 - Heroine: So fate chooseth steel, en garde! * From here, the villain or hero can try to restrain each other
|
||||
230 - Villain: Indeed, en garde! * Here there's a sword fight (240 if the Heroine wins, 270 if the Villain wins)
|
||||
240 - Heroine: The law shalt judgeth. * Villain gets tied up
|
||||
250 - The damsel can be kissed for the final act.
|
||||
270 - Villain: Thou art mine prisoner. * Heroine gets tied up
|
||||
280 - The damsel can be kissed or restrained for the final act.
|
||||
300 - Julia climbs on the stage and applauds. She can be convinced to do some impro 300+.
|
||||
*/
|
||||
|
||||
var C008_DramaClass_Theater_GlobalStage = 0;
|
||||
var C008_DramaClass_Theater_PerfectPlay = true;
|
||||
var C008_DramaClass_Theater_Damsel = "";
|
||||
var C008_DramaClass_Theater_Heroine = "";
|
||||
var C008_DramaClass_Theater_Villain = "";
|
||||
|
||||
// Chapter 8 - Theater Load, sets the role each images
|
||||
function C008_DramaClass_Theater_Load() {
|
||||
LeaveIcon = "Wait";
|
||||
if (C008_DramaClass_JuliaIntro_PlayerRole == "Damsel") C008_DramaClass_Theater_Damsel = "Player";
|
||||
if (C008_DramaClass_JuliaIntro_SarahRole == "Damsel") C008_DramaClass_Theater_Damsel = "Sarah";
|
||||
if (C008_DramaClass_JuliaIntro_PlayerRole == "Villain") C008_DramaClass_Theater_Villain = "Player";
|
||||
if (C008_DramaClass_JuliaIntro_AmandaRole == "Villain") C008_DramaClass_Theater_Villain = "Amanda";
|
||||
if (C008_DramaClass_JuliaIntro_PlayerRole == "Heroine") C008_DramaClass_Theater_Heroine = "Player";
|
||||
if (C008_DramaClass_JuliaIntro_SarahRole == "Heroine") C008_DramaClass_Theater_Heroine = "Sarah";
|
||||
if (C008_DramaClass_JuliaIntro_AmandaRole == "Heroine") C008_DramaClass_Theater_Heroine = "Amanda";
|
||||
Common_SelfBondageAllowed = (C008_DramaClass_Theater_GlobalStage >= 300);
|
||||
}
|
||||
|
||||
// Chapter 8 - Theater Run
|
||||
function C008_DramaClass_Theater_Run() {
|
||||
|
||||
// Draw the background image
|
||||
var ctx = document.getElementById("MainCanvas").getContext("2d");
|
||||
DrawImage(ctx, CurrentChapter + "/" + CurrentScreen + "/Background.jpg", 0, 0);
|
||||
|
||||
// Draw the 3 actresses and Julia
|
||||
DrawActor(C008_DramaClass_Theater_Damsel, 50, 60, 0.55);
|
||||
DrawActor(C008_DramaClass_Theater_Villain, 300, 60, 0.55);
|
||||
DrawActor(C008_DramaClass_Theater_Heroine, 850, 60, 0.55);
|
||||
if (C008_DramaClass_Theater_GlobalStage < 300) DrawImage(ctx, CurrentChapter + "/" + CurrentScreen + "/Julia.png", 550, 250);
|
||||
else DrawActor("Julia", 550, 60, 0.55);
|
||||
|
||||
}
|
||||
|
||||
// Chapter 8 - Theater Click
|
||||
function C008_DramaClass_Theater_Click() {
|
||||
|
||||
// When the user clicks on any character
|
||||
if ((MouseX >= 50) && (MouseX <= 299) && (MouseY >= 60) && (MouseY <= 540)) SetScene(CurrentChapter, "Damsel");
|
||||
if ((MouseX >= 300) && (MouseX <= 549) && (MouseY >= 60) && (MouseY <= 540)) SetScene(CurrentChapter, "Villain");
|
||||
if ((MouseX >= 850) && (MouseX <= 1099) && (MouseY >= 60) && (MouseY <= 540)) SetScene(CurrentChapter, "Heroine");
|
||||
if ((MouseX >= 550) && (MouseX <= 849) && (MouseY >= 250) && (MouseY <= 600) && (C008_DramaClass_Theater_GlobalStage < 300)) SetScene(CurrentChapter, "Julia");
|
||||
if ((MouseX >= 550) && (MouseX <= 849) && (MouseY >= 60) && (MouseY <= 540) && (C008_DramaClass_Theater_GlobalStage >= 300)) SetScene(CurrentChapter, "Julia");
|
||||
|
||||
// Checks if the user clicks on any regular item
|
||||
InventoryClick(GetClickedInventory(), "C008_DramaClass", "Theater");
|
||||
|
||||
}
|
|
@ -7,7 +7,12 @@ function C008_DramaClass_Transition_Load() {
|
|||
PlayerReleaseBondage();
|
||||
ActorSpecificClearInventory("Amanda", true);
|
||||
ActorSpecificClearInventory("Sarah", true);
|
||||
|
||||
// Sets the clothes depending on the role
|
||||
PlayerClothes(C008_DramaClass_JuliaIntro_PlayerRole);
|
||||
ActorSpecificSetCloth("Amanda", C008_DramaClass_JuliaIntro_AmandaRole);
|
||||
ActorSpecificSetCloth("Sarah", C008_DramaClass_JuliaIntro_SarahRole);
|
||||
|
||||
}
|
||||
|
||||
// Chapter 8 - Transition Run
|
||||
|
@ -24,11 +29,10 @@ function C008_DramaClass_Transition_Run() {
|
|||
|
||||
// Draw the outro text
|
||||
DrawText(ctx, GetText(LateForDrama + "1"), 400, 150, "White");
|
||||
if (TextPhase >= 1) DrawText(ctx, GetText(LateForDrama + "2"), 400, 250, "White");
|
||||
if ((TextPhase >= 2) && (Common_PlayerCrime != "AmandaStranded") && (Common_PlayerCrime != "SarahStranded")) DrawText(ctx, GetText(LateForDrama + "3"), 400, 350, "White");
|
||||
if ((TextPhase >= 2) && (Common_PlayerCrime == "AmandaStranded")) DrawText(ctx, GetText("Amanda"), 400, 350, "White");
|
||||
if ((TextPhase >= 2) && (Common_PlayerCrime == "SarahStranded")) DrawText(ctx, GetText("Sarah"), 400, 350, "White");
|
||||
if (TextPhase >= 3) DrawText(ctx, GetText(LateForDrama + "4"), 400, 450, "White");
|
||||
if (TextPhase >= 1) DrawText(ctx, GetText(LateForDrama + "2"), 400, 300, "White");
|
||||
if ((TextPhase >= 2) && (Common_PlayerCrime != "AmandaStranded") && (Common_PlayerCrime != "SarahStranded")) DrawText(ctx, GetText(LateForDrama + "3"), 400, 450, "White");
|
||||
if ((TextPhase >= 2) && (Common_PlayerCrime == "AmandaStranded")) DrawText(ctx, GetText("Amanda"), 400, 450, "White");
|
||||
if ((TextPhase >= 2) && (Common_PlayerCrime == "SarahStranded")) DrawText(ctx, GetText("Sarah"), 400, 450, "White");
|
||||
|
||||
}
|
||||
|
||||
|
@ -37,6 +41,6 @@ function C008_DramaClass_Transition_Click() {
|
|||
|
||||
// Jump to the next animation
|
||||
TextPhase++;
|
||||
//if (TextPhase >= 3) SaveMenu("C009", "Intro");
|
||||
if (TextPhase >= 3) SetScene(CurrentChapter, "Julia");
|
||||
|
||||
}
|
|
@ -2,10 +2,8 @@ Tag,Content
|
|||
Transition1,Julia smiles when she sees everyone.
|
||||
Transition2,She looks at the costumes and applaud.
|
||||
Transition3,She escorts all of you to the theater scene.
|
||||
Transition4,The play will be available in another version.
|
||||
Late1,Julia enters the dressing room singing.
|
||||
Late2,She makes sure everyone is costumed.
|
||||
Late3,She escorts all of you to the theater scene.
|
||||
Late4,The play will be available in another version.
|
||||
Amanda,Amanda arrives late and stares at you.
|
||||
Sarah,Sarah arrives late and avoids your look.
|
||||
|
|
|
BIN
C008_DramaClass/Villain/Background.jpg
Normal file
After ![]() (image error) Size: 89 KiB |
33
C008_DramaClass/Villain/Intro_EN.csv
Normal file
|
@ -0,0 +1,33 @@
|
|||
Stage,LoveReq,SubReq,VarReq,IntroText,Image
|
||||
100,0,0,PlayerIsVillain,(The white knight is starting the play.),Background.jpg
|
||||
100,0,0,!PlayerIsVillain,(She's watching the white knight.),Background.jpg
|
||||
110,0,0,PlayerIsVillain,"(As the black knight,|this is your line.)",Background.jpg
|
||||
110,0,0,!PlayerIsVillain,(She's about to say her line.),Background.jpg
|
||||
120,0,0,PlayerIsVillain,(The white knight is next.),Background.jpg
|
||||
120,0,0,!PlayerIsVillain,(She's watching the white knight.),Background.jpg
|
||||
130,0,0,PlayerIsVillain,"(As the black knight,|this is your next line.)",Background.jpg
|
||||
130,0,0,!PlayerIsVillain,(She's about to say her line.),Background.jpg
|
||||
140,0,0,PlayerIsVillain,(The damsel is next.),Background.jpg
|
||||
140,0,0,!PlayerIsVillain,(She's watching the damsel.),Background.jpg
|
||||
150,0,0,PlayerIsVillain,(The damsel is next.),Background.jpg
|
||||
150,0,0,!PlayerIsVillain,(She's watching the damsel.),Background.jpg
|
||||
160,0,0,PlayerIsVillain,(The damsel is next.),Background.jpg
|
||||
160,0,0,!PlayerIsVillain,(She's watching the damsel.),Background.jpg
|
||||
200,0,0,PlayerIsVillain,"(As the black knight,|this is your next line.)",Background.jpg
|
||||
200,0,0,!PlayerIsVillain,(She's about to say her line.),Background.jpg
|
||||
210,0,0,PlayerIsVillain,"(As the black knight,|this is your next line.)",Background.jpg
|
||||
210,0,0,!PlayerIsVillain,(She's about to say her line.),Background.jpg
|
||||
220,0,0,PlayerIsVillain,(The white knight is next.),Background.jpg
|
||||
220,0,0,!PlayerIsVillain,(She's watching the white knight.),Background.jpg
|
||||
230,0,0,PlayerIsVillain,"(As the black knight,|this is your next line.)",Background.jpg
|
||||
230,0,0,!PlayerIsVillain,(She's about to say her line.),Background.jpg
|
||||
240,0,0,PlayerIsVillain,(The white knight is next.),Background.jpg
|
||||
240,0,0,!PlayerIsVillain,(She's watching the white knight.),Background.jpg
|
||||
250,0,0,PlayerIsVillain,(The damsel is next.),Background.jpg
|
||||
250,0,0,!PlayerIsVillain,(She's watching the damsel.),Background.jpg
|
||||
270,0,0,PlayerIsVillain,"(As the black knight,|this is your next line.)",Background.jpg
|
||||
270,0,0,!PlayerIsVillain,(She's about to say her line.),Background.jpg
|
||||
280,0,0,PlayerIsVillain,(The damsel is next.),Background.jpg
|
||||
280,0,0,!PlayerIsVillain,(She's watching the damsel.),Background.jpg
|
||||
300,0,0,PlayerIsVillain,(The play is over.),Background.jpg
|
||||
300,0,0,!PlayerIsVillain,It was a fun play.,Background.jpg
|
|
51
C008_DramaClass/Villain/Script.js
Normal file
|
@ -0,0 +1,51 @@
|
|||
var C008_DramaClass_Villain_CurrentStage = 100;
|
||||
var C008_DramaClass_Villain_PlayerIsVillain = false;
|
||||
var C008_DramaClass_Villain_ForgetLineDone = false;
|
||||
var C008_DramaClass_Villain_SnapFingersDone = false;
|
||||
|
||||
// Chapter 8 - Villain Load
|
||||
function C008_DramaClass_Villain_Load() {
|
||||
|
||||
// Checks if the player is the villain & set the stage to the current global stage
|
||||
C008_DramaClass_Villain_PlayerIsVillain = (C008_DramaClass_JuliaIntro_PlayerRole == "Villain");
|
||||
C008_DramaClass_Villain_CurrentStage = C008_DramaClass_Theater_GlobalStage;
|
||||
|
||||
// Load the scene parameters
|
||||
if (!C008_DramaClass_Heroine_PlayerIsHeroine) ActorLoad(C008_DramaClass_Theater_Villain, "Theater");
|
||||
LoadInteractions();
|
||||
LeaveIcon = "Leave";
|
||||
LeaveScreen = "Theater";
|
||||
|
||||
}
|
||||
|
||||
// Chapter 8 - Villain Run
|
||||
function C008_DramaClass_Villain_Run() {
|
||||
BuildInteraction(C008_DramaClass_Villain_CurrentStage);
|
||||
DrawInteractionActor();
|
||||
}
|
||||
|
||||
// Chapter 8 - Villain Click
|
||||
function C008_DramaClass_Villain_Click() {
|
||||
|
||||
// Regular and inventory interactions
|
||||
ClickInteraction(C008_DramaClass_Villain_CurrentStage);
|
||||
var ClickInv = GetClickedInventory();
|
||||
|
||||
}
|
||||
|
||||
// Chapter 8 - Villain - Sets the global stage and can alter Julia's mood
|
||||
function C008_DramaClass_Villain_GlobalStage(GlobalStage, LoveMod, SubMod) {
|
||||
C008_DramaClass_Theater_GlobalStage = GlobalStage;
|
||||
if (!C008_DramaClass_Villain_SnapFingersDone || (SubMod <= 0)) ActorSpecificChangeAttitude("Julia", LoveMod, SubMod);
|
||||
if (SubMod > 0) C008_DramaClass_Villain_SnapFingersDone = true;
|
||||
if (LoveMod < 0) C008_DramaClass_Theater_PerfectPlay = false;
|
||||
}
|
||||
|
||||
// Chapter 8 - Villain - When the player forgets her line
|
||||
function C008_DramaClass_Villain_ForgetLine() {
|
||||
if (!C008_DramaClass_Villain_ForgetLineDone) {
|
||||
C008_DramaClass_Villain_ForgetLineDone = true;
|
||||
C008_DramaClass_Theater_PerfectPlay = false;
|
||||
ActorSpecificChangeAttitude("Julia", 0, -1);
|
||||
}
|
||||
}
|
18
C008_DramaClass/Villain/Stage_EN.csv
Normal file
|
@ -0,0 +1,18 @@
|
|||
Stage,LoveReq,SubReq,VarReq,Interaction,Result,NextStage,LoveMod,SubMod,Function
|
||||
110,0,0,PlayerIsVillain,Her heart had beaten|thy true loveth.,"The hero steps forward and answers:|""Foul tongue, liberate with haste.""",130,0,0,"GlobalStage(130, 1, 0)"
|
||||
110,0,0,PlayerIsVillain,Her heart is beating|for her true love.,"The white knight answers in confusion:|""Foul mouth, liberate her now!""",130,0,0,"GlobalStage(130, -1, 0)"
|
||||
110,0,0,PlayerIsVillain,Sorry Julia.|I forgot my line.,"Julia whispers: ""Her heart had beaten thy true loveth.""",110,0,0,ForgetLine()
|
||||
110,0,0,!PlayerIsVillain,(Listen quietly.),"The black knight takes a pose and says:|""Her heart had beaten thy true loveth.""",120,0,0,"GlobalStage(120, 0, 0)"
|
||||
110,0,0,!PlayerIsVillain,(Snap your fingers|with impatience.),"The black knight quickly jumps in and says:|""Her heart had beaten thy true loveth.""",120,0,0,"GlobalStage(120, 0, 1)"
|
||||
130,0,0,PlayerIsVillain,Step forward and|you will get steel.,Both knights stare at each other|while the damsel takes the stage.,140,0,0,"GlobalStage(130, -1, 0)"
|
||||
130,0,0,PlayerIsVillain,Step furth'r and|steel awaits thee.,Both knights stare at each other|while the damsel takes the stage.,140,0,0,"GlobalStage(130, 1, 0)"
|
||||
130,0,0,PlayerIsVillain,Sorry Julia.|I forgot my line.,"Julia whispers: ""Step furth'r and steel awaits thee.""",130,0,0,ForgetLine()
|
||||
130,0,0,!PlayerIsVillain,(Listen quietly.),"The black knight gives a menacing look and says:|""Step furth'r and steel awaits thee.""",140,0,0,"GlobalStage(140, 0, 0)"
|
||||
130,0,0,!PlayerIsVillain,(Snap your fingers|with impatience.),"The black knight quickly answers:|""Step furth'r and steel awaits thee.""",140,0,0,"GlobalStage(140, 0, 1)"
|
||||
130,0,0,!PlayerIsVillain,(Make some silly|faces to distract her.),"The black knight giggles and answers:|""Step furth'r and steel will wait.""",140,0,0,"GlobalStage(140, -1, 0)"
|
||||
200,0,0,PlayerIsVillain,"Hero! Thou hast her|heart, flesh is mine.","The hero gets her sword and yells:|""So fate chooseth steel, en garde!""",230,0,0,"GlobalStage(230, 1, 0)"
|
||||
200,0,0,PlayerIsVillain,Hero! You have her|heart but I have her body.,"The hero fumbles with her sword and says:|""So destiny has choosen steel, en garde!""",230,0,0,"GlobalStage(230, -1, 0)"
|
||||
200,0,0,PlayerIsVillain,Sorry Julia.|I forgot my line.,"Julia whispers: ""So fate chooseth steel, en garde!""",200,0,0,ForgetLine()
|
||||
200,0,0,!PlayerIsVillain,(Listen quietly.),"The black knight grabs the damsel and says:|""Hero! Thou hast her heart, flesh is mine.""",220,0,0,"GlobalStage(220, 0, 0)"
|
||||
200,0,0,!PlayerIsVillain,(Applaud lightly.),"The black knight grabs the damsel and says:|""Hero! Thou hast her heart, flesh is mine.""",220,0,0,"GlobalStage(220, 1, 0)"
|
||||
200,0,0,!PlayerIsVillain,(Yawn in boredom.),"The black knight grabs the damsel and says:|""Hero! Thou hast her heart, flesh is mine.""",220,0,0,"GlobalStage(220, -1, 0)"
|
|
1
C008_DramaClass/Villain/Text_EN.csv
Normal file
|
@ -0,0 +1 @@
|
|||
Tag,Content
|
|
|
@ -40,6 +40,7 @@ function C999_Common_ChastityBelt_LockSelf() {
|
|||
} else {
|
||||
PlayerRemoveInventory("ChastityBelt", 1);
|
||||
PlayerLockInventory("ChastityBelt");
|
||||
C999_Common_ChastityBelt_HasLooseBelt = PlayerHasInventory("ChastityBelt");
|
||||
C999_Common_ChastityBelt_CurrentStage = 10;
|
||||
}
|
||||
}
|
||||
|
|
86
Drawing.js
|
@ -283,9 +283,9 @@ function BuildBottomBar() {
|
|||
|
||||
}
|
||||
|
||||
// Draw the player image (can zoom if an X and Y are provided)
|
||||
function DrawPlayerImage(X, Y) {
|
||||
|
||||
// Returns the name of the image file to use to draw the player
|
||||
function DrawGetPlayerImageName() {
|
||||
|
||||
// Get the first part of the image
|
||||
var ImageCloth = "Clothed";
|
||||
if (Common_PlayerUnderwear) ImageCloth = "Underwear";
|
||||
|
@ -315,42 +315,64 @@ function DrawPlayerImage(X, Y) {
|
|||
// Fifth part is the blindfold
|
||||
var ImageBlindfold = "";
|
||||
if (PlayerHasLockedInventory("Blindfold") == true) ImageBlindfold = "_Blindfold";
|
||||
|
||||
// The image is created from all parts and can be zoomed
|
||||
var ctx = document.getElementById("MainCanvas").getContext("2d");
|
||||
if ((X == 0) && (Y == 0)) DrawImage(ctx, "C999_Common/Player/" + ImageCloth + ImageBondage + ImageCollar + ImageGag + ImageBlindfold + ".jpg", 600, 0);
|
||||
else DrawImageZoom(ctx, "C999_Common/Player/" + ImageCloth + ImageBondage + ImageCollar + ImageGag + ImageBlindfold + ".jpg", X, Y, 600, 600, 600, 0, 1200, 1200);
|
||||
|
||||
// Return the constructed name
|
||||
return ImageCloth + ImageBondage + ImageCollar + ImageGag + ImageBlindfold;
|
||||
|
||||
}
|
||||
|
||||
// Draw the regular player image (600x600) (can zoom if an X and Y are provided)
|
||||
function DrawPlayerImage(X, Y) {
|
||||
var ctx = document.getElementById("MainCanvas").getContext("2d");
|
||||
if ((X == 0) && (Y == 0)) DrawImage(ctx, "C999_Common/Player/" + DrawGetPlayerImageName() + ".jpg", 600, 0);
|
||||
else DrawImageZoom(ctx, "C999_Common/Player/" + DrawGetPlayerImageName() + ".jpg", X, Y, 600, 600, 600, 0, 1200, 1200);
|
||||
}
|
||||
|
||||
// Draw the transparent player image (600x900) with a zoom if required
|
||||
function DrawTransparentPlayerImage(X, Y, Zoom) {
|
||||
var ctx = document.getElementById("MainCanvas").getContext("2d");
|
||||
DrawImageZoom(ctx, "Actors/Player/" + DrawGetPlayerImageName() + ".png", 0, 0, 600 / Zoom, 900 / Zoom, X, Y, 600, 900);
|
||||
}
|
||||
|
||||
// Draw the transparent actor over the current background
|
||||
function DrawActor(ActorToDraw, X, Y, Zoom) {
|
||||
|
||||
// Validate first if we must draw the transparent player image
|
||||
if (ActorToDraw == "Player") {
|
||||
DrawTransparentPlayerImage(X, Y, Zoom);
|
||||
} else {
|
||||
|
||||
// First, we retrieve the current clothes
|
||||
var ImageCloth = ActorSpecificGetValue(ActorToDraw, ActorCloth);
|
||||
if (ImageCloth == "") ImageCloth = "Clothed";
|
||||
if (((ImageCloth == "Underwear") || (ImageCloth == "Naked")) && ActorSpecificHasInventory(ActorToDraw, "ChastityBelt")) ImageCloth = "ChastityBelt";
|
||||
|
||||
// Second part is the type of bondage
|
||||
var ImageBondage = "_NoBondage";
|
||||
if (ActorSpecificHasInventory(ActorToDraw, "Cuffs")) ImageBondage = "_Cuffs";
|
||||
if (ActorSpecificHasInventory(ActorToDraw, "Rope")) ImageBondage = "_Rope";
|
||||
if (ActorSpecificHasInventory(ActorToDraw, "TwoRopes")) ImageBondage = "_TwoRopes";
|
||||
|
||||
// Third part is the gag
|
||||
var ImageGag = "_NoGag";
|
||||
if (ActorSpecificHasInventory(ActorToDraw, "BallGag")) ImageGag = "_BallGag";
|
||||
if (ActorSpecificHasInventory(ActorToDraw, "TapeGag")) ImageGag = "_TapeGag";
|
||||
if (ActorSpecificHasInventory(ActorToDraw, "ClothGag")) ImageGag = "_ClothGag";
|
||||
|
||||
// Draw the full image from all parts
|
||||
var ctx = document.getElementById("MainCanvas").getContext("2d");
|
||||
DrawImageZoom(ctx, "Actors/" + ActorToDraw + "/" + ImageCloth + ImageBondage + ImageGag + ".png", 0, 0, 600 / Zoom, 900 / Zoom, X, Y, 600, 900);
|
||||
// First, we retrieve the current clothes
|
||||
var ImageCloth = ActorSpecificGetValue(ActorToDraw, ActorCloth);
|
||||
if (ImageCloth == "") ImageCloth = "Clothed";
|
||||
if (((ImageCloth == "Underwear") || (ImageCloth == "Naked")) && ActorSpecificHasInventory(ActorToDraw, "ChastityBelt")) ImageCloth = "ChastityBelt";
|
||||
|
||||
// Second part is the type of bondage
|
||||
var ImageBondage = "_NoBondage";
|
||||
if (ActorSpecificHasInventory(ActorToDraw, "Cuffs")) ImageBondage = "_Cuffs";
|
||||
if (ActorSpecificHasInventory(ActorToDraw, "Rope")) ImageBondage = "_Rope";
|
||||
if (ActorSpecificHasInventory(ActorToDraw, "TwoRopes")) ImageBondage = "_TwoRopes";
|
||||
|
||||
// Third part is the gag
|
||||
var ImageGag = "_NoGag";
|
||||
if (ActorSpecificHasInventory(ActorToDraw, "BallGag")) ImageGag = "_BallGag";
|
||||
if (ActorSpecificHasInventory(ActorToDraw, "TapeGag")) ImageGag = "_TapeGag";
|
||||
if (ActorSpecificHasInventory(ActorToDraw, "ClothGag")) ImageGag = "_ClothGag";
|
||||
|
||||
// Draw the full image from all parts
|
||||
var ctx = document.getElementById("MainCanvas").getContext("2d");
|
||||
DrawImageZoom(ctx, "Actors/" + ActorToDraw + "/" + ImageCloth + ImageBondage + ImageGag + ".png", 0, 0, 600 / Zoom, 900 / Zoom, X, Y, 600, 900);
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
// Draw the current interaction actor
|
||||
// Draw the current interaction actor (if there's no actor, we draw the player)
|
||||
function DrawInteractionActor() {
|
||||
if (ActorHasInventory("TwoRopes")) DrawActor(CurrentActor, 600, -250, 1);
|
||||
else DrawActor(CurrentActor, 600, 0, 1);
|
||||
}
|
||||
if (CurrentActor == "") {
|
||||
DrawTransparentPlayerImage(600, 0, 1);
|
||||
} else {
|
||||
if (ActorHasInventory("TwoRopes")) DrawActor(CurrentActor, 600, -250, 1);
|
||||
else DrawActor(CurrentActor, 600, 0, 1);
|
||||
}
|
||||
}
|
|
@ -89,6 +89,11 @@
|
|||
<script src="C008_DramaClass/Dressing/Script.js"></script>
|
||||
<script src="C008_DramaClass/DressingHiddenItem/Script.js"></script>
|
||||
<script src="C008_DramaClass/Transition/Script.js"></script>
|
||||
<script src="C008_DramaClass/Theater/Script.js"></script>
|
||||
<script src="C008_DramaClass/Julia/Script.js"></script>
|
||||
<script src="C008_DramaClass/Damsel/Script.js"></script>
|
||||
<script src="C008_DramaClass/Heroine/Script.js"></script>
|
||||
<script src="C008_DramaClass/Villain/Script.js"></script>
|
||||
<script src="C008_DramaClass/Outro/Script.js"></script>
|
||||
<script src="C999_Common/GameLoad/Script.js"></script>
|
||||
<script src="C999_Common/GameSave/Script.js"></script>
|
||||
|
|