Foragers can choose between several local actions, namely, MOVE, SEARCH, MOVETOFOOD, EAT, MOVETOGROUP, OBSERVE and NOTHING, which are selected according to a decision-making algorithm (Fig. 1 b). In the algorithm, individuals start by checking if they are safe (CHECKSAFE), which implies having a sufficient number of neighbors (9) in SAFESPACE (17 meters). During CHECKSAFE, foragers can also observe group members within COPYSPACE (20 meters), and can monitor the resources with which those neighbors interact (Fig. 1 a). These observations are relevant for stimulus enhancement (SE) and observational learning (OL).