Auto calculate attributes if there are not specified in the NPC record
Merge remote-tracking branch 'scrawl/master'