Carps and Tables Take 2

Replaced old flags with valid pass_flags as defined in flags.dm, flags having been legacy code that is no longer used.
Merge pull request #3 from valzargaming/patch-2