См. определение в файле WaterBottle.c строка 60
Перекрестные ссылки g_Game, WorldData::GetAgentSpawnChance(), InsertAgent() и Math::RandomFloat().