void OnStart()
{
SetEntityPlayerInteractCallback("note3", "ShowSteve", false);
AddUseItemCallback("", "Acidkey", "Aciddoor", "UsedKeyOnDoor", true);
AddUseItemCallback("", "AcidBucket", "Slijm", "UseAcidOnWeb", true);
AddUseItemCallback("", "Bucket", "AcidArea", "Puzzle", true);
PlayMusic("12_amb", true, 0.7f, 1, 0, false);
}
void ShowSteve(string &in asEntity)
{
SetEntityActive("Cellarsteve", true);
ShowEnemyPlayerPosition("Cellarsteve");
}
void UsedKeyOnDoor (string &in asItem, string &in asEntity)
{
SetSwingDoorLocked("Aciddoor", false, true);
PlaySoundAtEntity("", "unlock_door.snt", "Aciddoor", 0, false);
RemoveItem("Acidkey");
}
void Bucket(string &in asItem, string &in asEntity)
{
SetEntityActive("AcidBucket", true);
}
void UseAcidOnWeb(string &in asItem, string &in asEntity)
{
SetPropHealth("Slijm", 0);
RemoveItem("AcidBucket");
GiveItemFromFile("empty_container", "chemical_container.ent");
GiveSanityBoost();
PlayMusic("02_puzzle", false, 1, 0.1f, 10, false);
}