return;
}
}
+ for(head = world; (head = find(head, classname, "consumable")); )
+ {
+ if(head.predator == self)
+ {
+ self.status_teamhealing = 0; // we have consumable items, don't teamheal
+ return;
+ }
+ }
}
else
self.status_teamhealing = 1; // if our stomach is empty, it means we can decide to teamheal