At the top of father.js we have:
MODULES["gather"].minTraps = 100;
Which is used in two other places. But the other place you'd expect this to be used, instead 100 is hard-coded:
if (game.buildings.Trap.owned < 100 && canAffordBuilding('Trap')) {
Instead it should be:
if (game.buildings.Trap.owned < MODULES["gather"].minTraps && canAffordBuilding('Trap')) {