function enemy:add(args)
local enemy = {}
enemy.race = args.race or "Human"
enemy.hp = args.hp or "15"
enemy.weapon = args.weapon or "Dagger"
table.insert (enemies,enemy)
end
Thank you both. Always learning a bit more. Wasn't working till I realized that self (enemy in my case) shouldn't be there. I did knew "unpack" function(...) with then a local pack = {...} but nothing like this. Again I bow to you.