mirror of
https://gitgud.io/BondageProjects/Bondage-College.git
synced 2026-05-02 06:10:43 +00:00
37 lines
No EOL
950 B
JavaScript
37 lines
No EOL
950 B
JavaScript
var C006_Isolation_Table_CurrentStage = 0;
|
|
|
|
// Chapter 6 - Cell Table Load
|
|
function C006_Isolation_Table_Load() {
|
|
LeaveIcon = "Leave";
|
|
LeaveScreen = "IsolationRoom";
|
|
LoadInteractions();
|
|
}
|
|
|
|
// Chapter 6 - Cell Table Run
|
|
function C006_Isolation_Table_Run() {
|
|
BuildInteraction(C006_Isolation_Table_CurrentStage);
|
|
}
|
|
|
|
// Chapter 6 - Cell Table Click
|
|
function C006_Isolation_Table_Click() {
|
|
|
|
// Regular interactions
|
|
ClickInteraction(C006_Isolation_Table_CurrentStage);
|
|
|
|
// The metal sheet can be used on the table
|
|
if (GetClickedInventory() == "MetalSheet") {
|
|
C006_Isolation_Table_CurrentStage = 10;
|
|
OverridenIntroText = GetText("UseSheet");
|
|
PlayerRemoveInventory("MetalSheet", 1);
|
|
C006_Isolation_IsolationRoom_AllowCutRope = true;
|
|
}
|
|
|
|
}
|
|
|
|
// Starts the rope cutting process from the menu
|
|
function C006_Isolation_Table_CutRope() {
|
|
SetScene(CurrentChapter, LeaveScreen);
|
|
MouseX = 910;
|
|
MouseY = 220;
|
|
C006_Isolation_IsolationRoom_Click();
|
|
} |