Environmental drivers of systematicity and generalization in a situated agent | Synapse