Initial upload. PRC8 has been added. Module compiles, PRC's default AI & treasure scripts have been integrated. Started work on top hak for SLA / Ability / Scripting modifications.
41 lines
1.5 KiB
Plaintext
41 lines
1.5 KiB
Plaintext
//::///////////////////////////////////////////////
|
|
//:: FileName ty_doorlocks
|
|
//:://////////////////////////////////////////////
|
|
//:://////////////////////////////////////////////
|
|
//:: Created By: Script Wizard
|
|
//:: Created On: 11/6/03 12:54:37 PM
|
|
//:://////////////////////////////////////////////
|
|
int StartingConditional()
|
|
{
|
|
|
|
// Inspect local variables
|
|
if(!(GetLocalInt(GetObjectByTag("ty_puzzledoor"), "lock1") == 1))
|
|
return FALSE;
|
|
if(!(GetLocalInt(GetObjectByTag("ty_puzzledoor"), "lock10") == 1))
|
|
return FALSE;
|
|
if(!(GetLocalInt(GetObjectByTag("ty_puzzledoor"), "lock11") == 1))
|
|
return FALSE;
|
|
if(!(GetLocalInt(GetObjectByTag("ty_puzzledoor"), "lock12") == 1))
|
|
return FALSE;
|
|
if(!(GetLocalInt(GetObjectByTag("ty_puzzledoor"), "lock13") == 1))
|
|
return FALSE;
|
|
if(!(GetLocalInt(GetObjectByTag("ty_puzzledoor"), "lock2") == 1))
|
|
return FALSE;
|
|
if(!(GetLocalInt(GetObjectByTag("ty_puzzledoor"), "lock3") == 1))
|
|
return FALSE;
|
|
if(!(GetLocalInt(GetObjectByTag("ty_puzzledoor"), "lock4") == 1))
|
|
return FALSE;
|
|
if(!(GetLocalInt(GetObjectByTag("ty_puzzledoor"), "lock5") == 1))
|
|
return FALSE;
|
|
if(!(GetLocalInt(GetObjectByTag("ty_puzzledoor"), "lock6") == 1))
|
|
return FALSE;
|
|
if(!(GetLocalInt(GetObjectByTag("ty_puzzledoor"), "lock7") == 1))
|
|
return FALSE;
|
|
if(!(GetLocalInt(GetObjectByTag("ty_puzzledoor"), "lock8") == 1))
|
|
return FALSE;
|
|
if(!(GetLocalInt(GetObjectByTag("ty_puzzledoor"), "lock9") == 1))
|
|
return FALSE;
|
|
|
|
return TRUE;
|
|
}
|