Basic item attributes for lua

Custom attributes cannot be used.