Sometimes it can be problematic if a key is maxload 1 and is being stored in a house. To prevent this situation, I came up with an easy little script to stop this from happening. Just attach it to the house (or any room you don't want keys dropped in).
Name: '[R:VARIOUS] Disallow Storing Keys in Houses'
Trigger Intended Assignment: Rooms
Trigger Type: Drop , Numeric Arg: 100, Arg list: None
Commands:
if %object.type% == KEY
%send% %actor% The storing of keys in houses is not allowed.
return 0
end
if %object.type% == CONTAINER
eval i %object.contents%
while %i%
set next %i.next_in_list%
if %i.type% == KEY
%send% %actor% You may not drop containers here while there is a key inside.
return 0
end
set i %next%
done
end