Hi everyone , im guy whos trying to make an Amnesia custom story , everything works great , but there is problem with keys names and unlocking doors. Maybe its my fault in the scripts or its problem with lang files. The problem is , when i pick up key it says "Picked up" but dont say "Picked up Table Key". And when i try to unlock door it says "Cannon Use This Item This Way". ( I have been making scripts by videos on youtube) I was watching some Threads about it but anything didnt help me

Please help

There are the scripts:
extra_english :
<LANGUAGE>
</CATEGORY>
<CATEGORY Name ="Inventory">
<Entry Name="ItemName_tabledoorkey_1">Desk Key</Entry>
<Entry Name="ItemDesc_tabledoorkey_1">Little key for little door</Entry>
</LANGUAGE>
----------------------------------------------------------------------
office.hps :
void OnStart()
{
AddUseItemCallback("", "tabledoorkey_1", "tabledoor_1", "UsedKeyOnDoor", true);
}
void UsedKeyOnDoor(string &in asItem, string &in asEntity)
{
SetSwingDoorLocked("tabledoor_1", false, true);
PlaySoundAtEntity("", "unlock_door", "tabledoor_1", 0, false);
RemoveItem("tabledoorkey_1");
}
----------------------------------------------------------------------