Moral codes adjust themselves to environmental conditions.