College: Fix self-tie at mastery1 + self-untie at mastery2

This commit is contained in:
kotax 2023-08-03 22:18:30 +00:00 committed by BondageProjects
parent 81e7a009ad
commit a026ef3adb
3 changed files with 14 additions and 1 deletions

View file

@ -1,5 +1,6 @@
var C999_Common_Rope_CurrentStage = 0;
var C999_Common_Rope_HasLooseRope = 0;
var C999_Common_Rope_IsRopeMasterTwo = 0;
// Chapter Common - Rope Load
function C999_Common_Rope_Load() {
@ -15,6 +16,8 @@ function C999_Common_Rope_Load() {
// If the player has a loose rope
C999_Common_Rope_HasLooseRope = PlayerHasInventory("Rope");
// If the player is in Chapter 12 and Level 2 or more Rope Mastery
C999_Common_Rope_IsRopeMasterTwo = ((CurrentChapter == "C012_AfterClass") && (PlayerGetSkillLevel("RopeMastery") >= 2));
}
// Chapter Common - Rope Run, we draw the regular player image if the item is on
@ -38,7 +41,7 @@ function C999_Common_Rope_ShowImage() {
// Chapter Common - When the player wants to tie herself, she can do it with rope mastery level 1
function C999_Common_Rope_QuerySelfBondage() {
if ((Common_BondageAllowed) && (Common_SelfBondageAllowed)) {
if (PlayerGetSkillLevel("RopeMastery") >= 2) {
if (PlayerGetSkillLevel("RopeMastery") >= 1) {
C999_Common_Rope_CurrentStage = 20;
OverridenIntroText = GetText("ConfirmSelfBondage");
}
@ -50,4 +53,12 @@ function C999_Common_Rope_DoSelfBondage() {
PlayerLockInventory("Rope");
PlayerRemoveInventory("Rope", 1);
C999_Common_Rope_HasLooseRope = PlayerHasInventory("Rope");
}
// Chapter Common - When does self bondage with ropes (strips from any costume before that)
function C999_Common_Rope_DoFreeSelf() {
PlayerUnlockInventory("Rope");
PlayerAddInventory("Rope", 1);
C999_Common_Rope_CurrentStage = 0;
OverridenIntroText = GetText("FreeSelf");
}

View file

@ -5,5 +5,6 @@ Stage,LoveReq,SubReq,VarReq,Interaction,Result,NextStage,LoveMod,SubMod,Function
10,0,0,,(Try to reach a knot.)ADD_MINUTES:1,You struggle to reach a knot to|undo but none can be reached.,10,0,0,
10,0,0,,(Struggle to get out.)ADD_MINUTES:1,You struggle madly in the rope|but can't manage to get out.,10,0,0,
10,0,0,,(Pull on the crotch rope.)ADD_MINUTES:1,You manage to pull on the|crotch rope and it's quite pleasurable.,10,0,0,
10,0,0,IsRopeMasterTwo,(Find an edge to|work the rope.)ADD_MINUTES:1,You catch an edge|but make no progress.,10,0,0,DoFreeSelf()
20,0,0,,(Tie yourself.)ADD_MINUTES:1,You carefully wrap the rope around your torso|and manage to pull a tight and secure knot.,10,0,0,DoSelfBondage()
20,0,0,,(Don't do it.),You resist the urge of tying yourself up.,0,0,0,

1 Stage LoveReq SubReq VarReq Interaction Result NextStage LoveMod SubMod Function
5 10 0 0 (Try to reach a knot.)ADD_MINUTES:1 You struggle to reach a knot to|undo but none can be reached. 10 0 0
6 10 0 0 (Struggle to get out.)ADD_MINUTES:1 You struggle madly in the rope|but can't manage to get out. 10 0 0
7 10 0 0 (Pull on the crotch rope.)ADD_MINUTES:1 You manage to pull on the|crotch rope and it's quite pleasurable. 10 0 0
8 10 0 0 IsRopeMasterTwo (Find an edge to|work the rope.)ADD_MINUTES:1 You catch an edge|but make no progress. 10 0 0 DoFreeSelf()
9 20 0 0 (Tie yourself.)ADD_MINUTES:1 You carefully wrap the rope around your torso|and manage to pull a tight and secure knot. 10 0 0 DoSelfBondage()
10 20 0 0 (Don't do it.) You resist the urge of tying yourself up. 0 0 0

View file

@ -1,3 +1,4 @@
Tag,Content
ConfirmSelfBondage,You know the ropes and can tie yourself up but you|might not be able to get out. Do you want to do it?
BadTiming,You fantasize about tying yourself up but realize|that it might not be the best time for that.
FreeSelf,You manage to catch an edge|and free yourself from the rope.

1 Tag Content
2 ConfirmSelfBondage You know the ropes and can tie yourself up but you|might not be able to get out. Do you want to do it?
3 BadTiming You fantasize about tying yourself up but realize|that it might not be the best time for that.
4 FreeSelf You manage to catch an edge|and free yourself from the rope.