See if this helps any?
Revert "See if this helps any?"

This reverts commit 522f51e49a203ac7ca1c943c24502edc58940fff.
Revert "fixes #7250 per description. works for code::blocks now."

This reverts commit c9d67667c02222e500716403f23f9d552d366716.
Merge pull request #7275 from KA101/BuildFixer

Revert 7253
Remove item_chance from lua class definition

item_chance was removed in ec5583f15b2a3a410da0572beb2d5ab11f0f70a4 but the
lua class definition still contains item_chance causing the build to break.
The patch removes it from the class definition.
Merge pull request #7277 from lucianposton/buildfix

Remove item_chance from lua class definition