Update character.lua

Enhanced comments for readability