Added optional access state in lore and made cost in lore optional