Thsi script is used as a OnLock handler script of the door, placeables or secret doors.
This should be used by all doors. If special handing is required use Hooks to modify the behavior of this script.
This function will do following things:
Variables in the placeables Hooks _gen_door_are _gen_door_clo _gen_door_dam _gen_door_fai _gen_door_ope _gen_door_unl