Reupload part 2

Reupload part 2
This commit is contained in:
Ben987 2017-10-22 12:39:59 -04:00
parent faa00bc1f9
commit d4e23d4384
1411 changed files with 13253 additions and 0 deletions

View file

@ -0,0 +1,37 @@
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();
}