CORE/SCRIPTS: implement WS elemental gorgets and belts

this commit also fixes a couple of incorrect return values for functions found in luautils